My Baseball Stats
Back to articles

How to Calculate ERA: A Simple Guide for Youth Baseball Pitchers

Published: 2026-09-06

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:

ERA = Earned Runs × 9 ÷ Innings Pitched

Try the ERA calculator →

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:

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.

Create your team for free and try it out →

Stop calculating stats by hand

My Baseball Stats calculates and ranks everything automatically as you enter it.

Get started for free
How to Calculate ERA: A Simple Guide for Youth Baseball Pitchers | My Baseball Stats