Baseball & softball

ERA calculator

The short answer

Earned runs and innings pitched give you ERA for 9-, 7- or 6-inning games. See the effect of your next outing and how you rank against MLB.

  • Link keeps your numbers
  • One-page printout
  • Free, no account

Your result

ERA 3.09 gives up 1.08 fewer runs per nine than the 2026 MLB mark 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 once the next outing is in
3.09
2 ER in 6 innings
Shutout innings needed for 3.00
5 2/3
in a row, no earned runs
Earned runs over a full game at this rate
3.1
9 innings

Real seasons to compare against

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

Stat lines and ERAs from MLB (Stats API), read 2026-11-24. Innings use box-score notation, so .1 and .2 mean a third and two thirds of an inning.

FanGraphs' ERA yardstick

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

Aimed at starters. For relievers FanGraphs advises taking off about 0.50 (FanGraphs Library, read 2026-11-24). Your 9-inning ERA reaches the highlighted row at best.

  • Official scorers drop runs scored through an error or passed ball. Only earned runs go in.
  • Does your league play 7 or 6 innings? Change the game length, and ERA then means runs per full game there.

Keep going with

ERA in plain terms

Imagine your pitcher throws a full nine innings tomorrow and repeats his season-long form. How many earned runs does he give up? That’s ERA. MLB’s glossary puts it as 9 × earned runs ÷ innings pitched.

ERA = 9 × ER ÷ IP

Henry Chadwick, a 19th-century baseball writer, came up with the idea because wins and losses told him too little about a pitcher.

If your league plays shorter games, swap the 9 for the game length. Presets cover 7 innings (high school, softball) and 6 (Little League).

How to enter innings

Stat lines write partial innings after a point: .1 means one out, .2 means two. Copy the line as it stands and the calculator does the conversion.

You type Meaning Outs
6 6 innings 18
6.1 6⅓ innings 19
6.2 6⅔ innings 20
180.1 180⅓ innings 541

One trap: 6.33 is treated as a plain decimal, since only .1 and .2 get the outs treatment.

Default numbers, step by step

The starting line is a good year for a starter: 62 earned runs, 180.1 innings.

  • Innings as a decimal: 180.333 (541 outs)
  • ERA: 9 × 62 ÷ 180.333 = 558 ÷ 180.333 = 3.09

Against the 2026 MLB average of 4.17 on the comparison bar, that’s 1.08 runs better per nine.

After his next start. Default: 6 innings, 2 earned runs. The totals become 64 over 186⅓, and 9 × 64 ÷ 186.333 = 3.09 once more. Two runs in six innings is a 3.00 day, hardly enough to move a 3.09.

Breaking 3.00. At 62 earned runs, 9 × 62 ÷ 3.00 = 186 innings does it. He’s thrown 180⅓, so he needs 5⅔ scoreless innings.

Want a sanity check? Press Gibson 1968. 38 earned runs over 304.2 innings gives 9 × 38 ÷ 304.667 = 1.12, exactly what MLB shows.

Reading the answer

The main figure follows the game length you picked. When that isn’t nine, an extra tile gives the nine-inning equivalent, and that’s what feeds the MLB comparison.

FanGraphs’ yardstick 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

Relievers pitch short and flat out, so FanGraphs says to take roughly half a run off each rating. Its 3.75 average is lower than 2026’s league mark of 4.17: run scoring moves from year to year, so treat the table as a guide and set yourself against the league average for the season you care about.

The reference table also lists some of the best seasons of the modern game, such as Jacob deGrom’s 1.70 in 2018 and Pedro Martinez’s 1.74 in 2000, alongside Gibson. Each one comes out of the same formula using MLB’s innings and earned runs.

Why small samples mislead

ERA takes a long time to stabilise. A bad inning in April can hang on a reliever’s line all summer.

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

Starters need much of a season before ERA means something. A reliever on 20 innings can move by more than a run overnight: three earned runs in one inning turns 2.25 into 3.43.

Things ERA can’t separate

  • Fielding. Errors are left out, but an outfielder who’s too slow to reach a catchable ball gets no error. The hit stays, and so do the runs after it.
  • Park. A cosy park at altitude flatters hitters; a big one at sea level protects pitchers.
  • Inherited runners. Starter exits with two aboard, reliever lets both score: both go on the starter.
  • Luck on contact. A bloop single or a drive caught at the wall is down to luck, and the pitcher controls neither.

Two extra stats help here. WHIP tallies baserunners per inning. FIP builds an ERA-like number from strikeouts, walks, hit batters and homers alone, the outcomes no fielder can change. An ERA far below FIP usually means the defence has been covering for him.

Seven-inning and six-inning games

Set a shorter game and every figure above rescales. Take a softball pitcher on 14 earned runs in 48⅔ innings: 7 × 14 ÷ 48.667 gives 2.01 a game, and 2.59 if you stretch it to nine. Quote the seven-inning number inside your league, and the nine-inning one only when you’re comparing with MLB.

Questions people ask

How is ERA calculated?
Earned runs times nine, over innings pitched. A pitcher with 62 earned runs over 180⅓ innings sits at 9 × 62 ÷ 180.33 = 3.09.
What's ERA over a 7-inning game?
Use 7 where you'd use 9. High school baseball and softball go seven innings and Little League goes six, and their records scale ERA to suit. Pick your game length in the calculator and it adjusts.
Why does 180.1 mean one out and not a tenth?
Baseball counts outs after the point. 180.1 is 180 innings plus one out (180⅓), 180.2 is 180⅔, and there's no 180.3 because the third out rolls it over to 181.0.
Which ERA is considered good?
MLB's 2026 league average was 4.17. FanGraphs' guide for starters: 3.75 average, 3.40 above average, 3.00 great, 2.50 excellent. Youth ball and softball live on other scales, so benchmark against your own league.
What turns a run into an earned run?
The official scorer's verdict. If the run would have scored with no error or passed ball, it's earned. If a routine defensive play should already have ended the inning, it's unearned and doesn't touch ERA.
Is an infinite ERA possible?
Yes. Give up an earned run without getting an out and you have runs over zero innings, which can't be divided. ERA reads as infinity until the first out arrives.
How low can a season ERA go?
Bob Gibson posted 1.12 in 1968, with 38 earned runs in 304⅔ innings, the lowest for a qualified starter since the live ball arrived. It appears as a reference line in the table.

Where the numbers come from

  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)
Put this calculator on your site

Free for clubs, coaches, schools and blogs. Paste the code and it updates itself.