Baseball & softball

ERA calculator

Enter earned runs and innings pitched to get the earned run average for 9-inning, 7-inning or 6-inning games, see what the next outing does to it and compare with MLB.

Shareable link Printable report Free, no sign-up

Results

An ERA of 3.09: 1.08 runs per nine innings better than the 2026 MLB average of 4.17, at the "Above average" mark or better on the FanGraphs scale.
Earned run average3.099 × 62 ÷ 180 1/3
Innings pitched
180 1/3
541 outs
Earned runs per inning
0.344
ERA after the next outing
3.09
2 ER in 6 innings
Scoreless innings to reach 3.00
5 2/3
in a row, no earned runs
Earned runs in a complete game at this rate
3.1
9 innings

Published seasons for comparison

PitcherIPERERA
Bob Gibson, 1968304.2381.12
Jacob deGrom, 2018217.0411.70
Pedro Martinez, 2000217.0421.74
Clayton Kershaw, 2014198.1391.77
Paul Skenes, 2025187.2411.97
Tarik Skubal, 2024192.0512.39
Your line (per 9 innings)180.1623.09
MLB average, 202643079.219,9664.17

Lines and ERAs as published by MLB (Stats API), read 2026-11-24. Innings in box-score notation: .1 and .2 are thirds of an inning.

FanGraphs rule of thumb for ERA

RatingERA
Excellent2.50
Great3.00
Above average3.40
Average3.75
Below average4.00
Poor4.30
Awful4.60

For starting pitchers; FanGraphs suggests subtracting about 0.50 for relievers (FanGraphs Library, read 2026-11-24). The highlighted row is the best mark your 9-inning ERA reaches.

  • Only earned runs count: runs that score because of an error or a passed ball are left out by the official scorer.
  • For leagues that play 7-inning or 6-inning games, switch the game length so that the ERA reads as runs per full game in your league.

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.

ERA = 9 × ER ÷ IP

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?
Multiply earned runs by 9 and divide by innings pitched. A pitcher who has allowed 62 earned runs in 180⅓ innings has an ERA of 9 × 62 ÷ 180.33 = 3.09.
How do you calculate ERA for a 7-inning game?
Use 7 in place of 9: earned runs × 7 ÷ innings pitched. High school baseball and softball play 7 innings and Little League plays 6, and their record books scale ERA to the length of their own game. Pick the game length in the calculator.
What does 180.1 innings mean?
The digit after the point counts outs, not tenths. 180.1 is 180 innings and one out (180⅓), and 180.2 is 180⅔. There is no 180.3: three outs complete the inning and make it 181.0.
What is a good ERA?
In MLB the league average was 4.17 in 2026. FanGraphs' rule of thumb for starting pitchers calls 3.75 average, 3.40 above average, 3.00 great and 2.50 excellent. Lower levels and softball have their own scales, so compare with your own league.
What is the difference between a run and an earned run?
An earned run is one the official scorer judges would have scored without an error or a passed ball. If an inning should have ended before the run scored, had the defence made a routine play, the run is unearned and does not count in ERA.
Can an ERA be infinite?
Yes. A pitcher who gives up an earned run without recording an out has runs and zero innings, so the division is undefined and the ERA is listed as infinity until he gets an out.
What is the lowest ERA in a modern season?
Bob Gibson's 1.12 in 1968, with 38 earned runs in 304⅔ innings, is the lowest for a qualified starter in the live-ball era. The calculator's table includes it as a reference line.

Sources

  1. MLB.com glossary: Earned Run Average (ERA)
  2. MLB Stats API: team and player season statistics (league totals 2026 and the benchmark seasons)
  3. FanGraphs Library: ERA (rule-of-thumb table)

Embed this calculator

Free for clubs, coaches, schools and blogs. Copy the code below; it stays up to date by itself.