Baseball ERA & WHIP Calculator
Calculate a pitcher’s earned run average and WHIP from earned runs, hits, walks and innings pitched, with baseball’s ⅓-inning notation handled correctly.
How it works
ERA = earned runs × innings per game ÷ innings pitched · WHIP = (walks + hits) ÷ innings pitched
ERA scales earned runs to a full game so pitchers with different workloads compare fairly, while WHIP measures how many baserunners a pitcher allows per inning regardless of whether they score. Baseball’s “.1” and “.2” mean thirds of an inning — one and two outs — not tenths, the classic hand-calc trap. Runs set up by errors are unearned and excluded from ERA, so a pitcher on a poor defensive team can post a better ERA than raw runs suggest.
Worked example
65 earned runs in 180 innings: 65 × 9 ÷ 180 = 3.25 ERA. With 165 hits and 45 walks, WHIP = (165 + 45) ÷ 180 = 1.17.
Sources: Earned run average
Frequently asked questions
What is a good ERA?
In modern MLB, under 3.00 is excellent, around 4.00 is league average, and above 5.00 signals trouble. Softball and youth benchmarks differ with the shorter game.
Why track WHIP alongside ERA?
ERA can be flattered by strong defence or luck with runners on base. WHIP counts the baserunners a pitcher is directly responsible for, so it often predicts future ERA better.
What counts as an earned run?
A run that scores without the aid of an error or passed ball. Reconstructing the inning without the misplays tells you which runs are charged to the pitcher.
Related calculators
This calculator is for educational purposes. Double-check important results before acting on them.