Earned run average (ERA) is the go-to stat for measuring a pitcher’s performance. But two questions trip up most people the first time they try to calculate it by hand: what actually counts as an “earned” run, and how do you handle fractional innings?
The ERA formula
The standard, 9-inning ERA formula looks like this:
An earned run is a run scored without help from a defensive error — if a runner reaches base on an error and later scores, that run isn’t charged as earned (this is one of the few calls that requires a scorekeeper’s judgment rather than a pure formula).
How innings pitched are counted
Innings pitched are counted in thirds, since each inning has three outs. A pitcher pulled after getting only two outs is credited with “2/3” of an inning — and for the ERA calculation, that fraction needs to become a decimal rather than a literal fraction:
- 1 out = 1/3 inning ≈ 0.333
- 2 outs = 2/3 inning ≈ 0.667
- 3 outs = 1 full inning
So a pitcher who throws 5⅔ innings and allows 2 earned runs has pitched 5 + 0.667 ≈ 5.667 innings. Their ERA works out to 2 × 9 ÷ 5.667 ≈ 3.18.
Why youth leagues need to adjust the formula
High school and adult leagues typically play 9-inning games, but youth and rec leagues often cap games at 6 or 7 innings (Little League, for example, plays 6-inning games). Run the standard 9-inning formula on a shorter game and even one or two earned runs can produce an ERA that looks much worse than it feels — the math and the eye test stop agreeing.
That’s why many teams recalculate ERA (and qualifying innings pitched) using the game’s actual length — 6 or 7 innings — instead of blindly applying the 9-inning standard. Get this setting wrong and comparisons between pitchers on the same team stop being apples-to-apples.
Let the app handle the math
Manually re-entering earned runs, innings, and outs after every game just to recalculate ERA gets tedious fast. My Baseball Stats lets each team set its own “innings per game,” then automatically calculates ERA, WHIP, K/BB and more — including flagging which pitchers have reached the qualifying innings threshold.

