How to Calculate a Pitcher's ERA
If batting average tells you how well a hitter performs, ERA does the same job for pitchers. It's one of the most widely cited statistics in baseball, and the formula is straightforward once you understand what it's measuring.
What Is ERA?
ERA stands for earned run average. It represents the average number of earned runs a pitcher allows per nine innings — the length of a standard baseball game.
The key word is earned. Not every run that scores while a pitcher is on the mound counts against him. If a fielder makes an error that allows a baserunner to reach who otherwise would have been out, and that runner later scores, it's an unearned run — and it doesn't factor into the pitcher's ERA. The reasoning is that the error wasn't the pitcher's fault, so he shouldn't be penalized for it.
Earned runs are everything else: hits, walks, hit batters, wild pitches, and anything that would have happened even with perfect defense behind the pitcher.
The Formula
$$\text{ERA} = \frac{\text{Earned Runs}}{\text{Innings Pitched}} \times 9$$
The raw fraction gives you earned runs per inning. Multiplying by 9 scales that to a full game, which is how ERA is defined.
What ERA Values Mean
Here's a rough guide to interpreting ERA in the context of professional baseball:
- Under 2.50 — elite. This is ace territory, the kind of pitcher who anchors a rotation.
- 2.50–3.50 — excellent. A reliable top-of-the-rotation starter.
- 3.50–4.25 — good. A solid contributor who helps his team win.
- 4.25–5.00 — average to below average. Still employable, but not dominant.
- Above 5.00 — struggling. Pitchers in this range are often at risk of losing their starting role.
These thresholds shift slightly depending on the era of baseball and the run-scoring environment of a given season — what was considered average in the 1960s would look great today. Context always matters.
Handling Fractional Innings
Pitchers don't always get pulled at the end of a clean inning. If a pitcher records 1 out before being replaced, he's credited with ⅓ of an inning. Two outs gets him ⅔.
In box scores and stat lines, you'll see this written with a decimal: 6.1 means 6 innings and 1 out (6⅓ innings), and 6.2 means 6 innings and 2 outs (6⅔ innings). It looks like a regular decimal, but it isn't — the digit after the period represents thirds, not tenths.
When plugging into the ERA formula, convert to a true decimal:
- 6⅓ innings = 6 + 1/3 = 6.333...
- 6⅔ innings = 6 + 2/3 = 6.667...
Worked Examples
Example 1
A starting pitcher allows 54 earned runs over 180 innings. What is his ERA?
$$\text{ERA} = \frac{54}{180} \times 9 = 0.30 \times 9 = 2.70$$
A 2.70 ERA is excellent — this pitcher would be one of the better starters in any league.
Example 2
A pitcher finishes the season with 93 earned runs in 186 innings pitched. What is his ERA?
$$\text{ERA} = \frac{93}{186} \times 9 = 0.50 \times 9 = 4.50$$
Right around league average. He's serviceable but not dominant.
Example 3
A reliever has pitched 47⅓ innings (written as 47.1 in a box score) and allowed 18 earned runs. What is his ERA?
Convert 47⅓ to a decimal: \(47 + \frac{1}{3} = 47.\overline{3}\)
$$\text{ERA} = \frac{18}{47.333} \times 9 \approx 0.380 \times 9 = 3.42$$
A 3.42 ERA for a reliever is solid work.
Practice Problems
A pitcher gives up 72 earned runs over 216 innings. What is his ERA?
Show answer\(\frac{72}{216} \times 9 = 0.333 \times 9 = 3.00\) — a 3.00 ERA, very good.
A pitcher has a 2.25 ERA over 144 innings pitched. How many earned runs has he allowed?
Show answerRearrange: Earned Runs = (ERA ÷ 9) × IP = \(\frac{2.25}{9} \times 144 = 0.25 \times 144 = 36\) earned runs.
A starter gets knocked out in the 4th inning, having recorded 2 outs (so 3⅔ innings pitched) and giving up 6 earned runs. What is his ERA for that outing, scaled to 9 innings?
Show answerConvert 3⅔ to a decimal: \(3 + \frac{2}{3} = 3.667\). Then \(\frac{6}{3.667} \times 9 \approx 14.73\). A rough outing — though single-game ERA is more of a curiosity; the stat only becomes meaningful over many innings.
Pitcher A: 58 earned runs in 174 innings. Pitcher B: 49 earned runs in 140 innings. Who has the better ERA?
Show answerPitcher A: \(\frac{58}{174} \times 9 = 3.00\) — Pitcher B: \(\frac{49}{140} \times 9 = 3.15\) — Pitcher A has the better ERA (3.00 vs. 3.15), even though Pitcher B gave up fewer total runs. Pitcher A was more efficient per inning.
Real data challenge: Go to baseball-reference.com, find any pitcher's page, and pick a season from their pitching table. Look for the columns labeled ER (earned runs) and IP (innings pitched). One heads-up: baseball-reference records fractional innings the way box scores do, so 180.1 means 180⅓ innings — convert that to 180.333 before dividing. Calculate the ERA yourself, then compare it to the ERA column on the same row.
Show answerYour answer depends on the pitcher and season you chose! Apply \(\text{ERA} = \frac{\text{ER}}{\text{IP}} \times 9\), remembering that .1 in the IP column means ⅓ of an inning and .2 means ⅔. If your result matches the ERA column on baseball-reference, you've nailed it.