What ERA is
Earned run average is the number of earned runs a pitcher allows per nine innings. MLB’s glossary gives the formula as 9 × earned runs ÷ innings pitched.
Nine is the length of a regulation game, so ERA answers a simple question: if this pitcher threw a complete game at his usual rate, how many earned runs would he give up? The statistic goes back to the 19th century and the writer Henry Chadwick, who wanted something better than wins and losses for judging a pitcher.
For leagues with shorter games, replace the 9 with the length of your game. The calculator has settings for 7 innings (high school, softball) and 6 innings (Little League).
Entering innings pitched
Box scores write partial innings with a point: .1 is one out and .2 is two outs. Type innings exactly as they appear in the stat line and the calculator converts them.
| You type | Meaning | Outs |
|---|---|---|
| 6 | 6 innings | 18 |
| 6.1 | 6⅓ innings | 19 |
| 6.2 | 6⅔ innings | 20 |
| 180.1 | 180⅓ innings | 541 |
Do not type 6.33 for 6⅓ unless you mean a plain decimal: the calculator reads any ending other than .1 or .2 as an ordinary fraction.
Worked example
The default line is a solid season for a starter: 62 earned runs in 180.1 innings.
- Innings: 180⅓ = 180.333 (541 outs)
- ERA: 9 × 62 ÷ 180.333 = 558 ÷ 180.333 = 3.09
That is 1.08 runs per nine innings better than the 2026 MLB average of 4.17, which the comparison bar shows.
Next outing. The default next start is 6 innings with 2 earned runs. New totals: 64 earned runs in 186⅓ innings, so 9 × 64 ÷ 186.333 = 3.09. Six innings and two runs is a 3.00 ERA for the day, so it barely moves a 3.09.
Target. To get under 3.00 with 62 earned runs, the pitcher needs 9 × 62 ÷ 3.00 = 186 innings. He has 180⅓, so he needs 5⅔ scoreless innings.
For a check against the record book, press Gibson 1968: 38 earned runs in 304.2 innings gives 9 × 38 ÷ 304.667 = 1.12, the ERA MLB lists for that season.
Reading the result
The headline is ERA for the game length you chose. If that is not nine, a second tile gives the 9-inning figure, and all comparisons with MLB use it.
FanGraphs publishes a rule of thumb for starting pitchers:
| Rating | ERA |
|---|---|
| Excellent | 2.50 |
| Great | 3.00 |
| Above average | 3.40 |
| Average | 3.75 |
| Below average | 4.00 |
| Poor | 4.30 |
| Awful | 4.60 |
FanGraphs suggests subtracting about half a run for relievers, who pitch short outings at full effort. Its average mark of 3.75 is below the 2026 league figure of 4.17. Run scoring moves from year to year, so read the table as a guide and compare with the league average of the season in question.
The table of published seasons puts your line among some of the best of the modern game: Gibson in 1968, Jacob deGrom at 1.70 in 2018, Pedro Martinez at 1.74 in 2000. Each of those figures is reproduced by the same formula from the innings and earned runs MLB lists.
Small samples
ERA is slow to settle. One bad inning early in the year can sit on a reliever’s line for months.
| Line | ERA |
|---|---|
| 1 earned run in 1 inning | 9.00 |
| 3 earned runs in 6 innings (a “quality start”) | 4.50 |
| 0 earned runs in 7 innings | 0.00 |
| 5 earned runs in ⅔ of an inning | 67.50 |
A starter’s ERA needs a good part of a season to say much. For a reliever with 20 innings one bad outing can move it by more than a run: three earned runs in one inning take a 2.25 to 3.43.
What ERA does not separate
- Defence. Errors are excluded, but a slow outfielder who does not reach a catchable ball is not charged with an error. The hit and any runs that follow are earned.
- Ballpark. The same pitching gives up more runs in a small park at altitude than in a large one at sea level.
- Inherited runners. If a starter leaves with two men on and the reliever lets them score, the runs go on the starter’s ERA.
- Luck on balls in play. A bloop single and a line drive caught at the wall are scored very differently and the pitcher controlled neither outcome.
Two companion numbers help here. WHIP counts baserunners per inning. FIP rebuilds an ERA-like number from strikeouts, walks, hit batters and home runs only, the events fielders cannot change. A pitcher whose ERA is far below his FIP has probably had help.
Softball and youth baseball
Switch the game length and everything on the page rescales. A softball pitcher with 14 earned runs in 48⅔ innings has an ERA of 7 × 14 ÷ 48.667 = 2.01 per seven innings; on the nine-inning scale the same line would read 2.59. Use the seven-inning number inside your league and the nine-inning number only when you compare with MLB figures.
Frequently asked questions
How do you calculate ERA?
How do you calculate ERA for a 7-inning game?
What does 180.1 innings mean?
What is a good ERA?
What is the difference between a run and an earned run?
Can an ERA be infinite?
What is the lowest ERA in a modern season?
Sources
Embed this calculator
Free for clubs, coaches, schools and blogs. Copy the code below; it stays up to date by itself.