ERA Calculator

Calculate a baseball pitcher’s Earned Run Average (ERA) instantly: enter earned runs and innings pitched, and get the ERA a pitcher would allow over a full 9-inning game. The calculator handles baseball’s tricky fractional innings correctly, so 33.2 innings is treated as 33 and two-thirds innings, not 33.20.

ERA is the single number most fans check first when judging a pitcher, and it is also the number most often calculated wrong. The mistake is almost always the same: reading the .1 and .2 in innings pitched as tenths. They are outs, not decimals. This calculator converts them properly, and shows you exactly how.

100% FreeNo sign-upInstant results

Enter innings the way box scores write them: .1 means one out (one-third of an inning) and .2 means two outs (two-thirds). So 33.1 is 33 and one-third innings, and 33.2 is 33 and two-thirds.

Advanced options

Advanced values are already included in the result with their defaults: 120 hits, 40 walks, and 180 strikeouts. Open Advanced options to change them. WHIP and K/9 never change the ERA itself.

Your information is not stored. Calculations are done in your browser.

Earned run average
2.25
25 earned runs in 100 innings pitched
Innings (true value)100.00
WHIP1.60
Strikeouts per 9 (K/9)16.20
Earned runs per inning0.25
Projected runs over 200 IP50.00
Outs recorded300

WHIP is (hits plus walks) divided by innings pitched. K/9 is strikeouts times 9 divided by innings pitched. Both use the same correctly converted innings value as the ERA.

Key takeaways

  • A pitcher with 25 earned runs in 100 innings has a 2.25 ERA, with a 1.60 WHIP and 16.20 strikeouts per 9 innings at the default 120 hits, 40 walks, and 180 strikeouts.
  • The classic trap: 10 earned runs in 33.2 innings is a 2.67 ERA, because 33.2 means 33 and two-thirds innings. Treating it as the decimal 33.20 gives 2.71, which is wrong.
  • A pitcher with 10 earned runs in 33.1 innings has a 2.70 ERA, because 33.1 means 33 and one-third innings.
  • One earned run in a single out (0.1 innings) is a 27.00 ERA, since one run per third of an inning scales to 27 runs over 9 innings. Tiny samples produce extreme ERAs, which is why ERA needs a reasonable number of innings to mean anything.
  • ERA counts only earned runs. Runs that score because of errors or passed balls are unearned and do not raise a pitcher’s ERA.

Contents

The ERA formula

Earned runs times 9, divided by innings pitched.

Fractional innings, explained

Why .1 and .2 are outs, not tenths.

Worked examples

Five examples, including the 33.2 trap.

Related tools

The ERA formula

ERA answers a simple question: if this pitcher kept allowing runs at the same rate for a full 9-inning game, how many earned runs would score? The formula scales the pitcher’s actual record up to 9 innings.

ERA = (earned runs x 9) / innings pitched

For the default: 25 earned runs in 100 innings gives (25 x 9) / 100 = 225 / 100 = 2.25. The 9 in the formula is there because a regulation game is 9 innings long, so ERA is always expressed per 9 innings.

Two companion stats use the same innings value. WHIP measures baserunners allowed: WHIP = (hits + walks) / innings pitched. At the defaults, (120 + 40) / 100 = 1.60. Strikeouts per 9 measures dominance: K/9 = (strikeouts x 9) / innings pitched. At the defaults, (180 x 9) / 100 = 16.20. Neither stat changes the ERA; they just describe the same pitcher from two more angles.

Fractional innings, explained

Baseball records innings in thirds, because three outs make an inning. A box score writes 33.1 for 33 innings plus one out, and 33.2 for 33 innings plus two outs. The digit after the point is a count of outs, never a decimal fraction.

Box score notationWhat it really meansTrue innings value
33.033 innings, 0 outs33.00
33.133 innings, 1 out33.33 (33 + 1/3)
33.233 innings, 2 outs33.67 (33 + 2/3)
0.10 innings, 1 out0.33 (1/3)
0.20 innings, 2 outs0.67 (2/3)

The outs helper in Advanced options converts the other way: enter a total out count and it shows the box score notation. For example, 101 outs is 33 full innings (99 outs) plus 2 outs, which is 33.2. If you ever see a notation like 33.3, it is a mistake: a third out ends the inning, so the count rolls over to 34.0.

Why does this matter? Because the wrong conversion changes the answer. For 10 earned runs in 33.2 innings, the correct ERA is 90 / 33.67 = 2.67. Treating 33.2 as the decimal 33.20 gives 90 / 33.20 = 2.71, which overstates the ERA by 0.04. Small in one line of a box score, but it is the difference between two different pitchers’ seasons.

Worked examples

Example 1: 25 earned runs in 100 innings

ERA = (25 x 9) / 100 = 225 / 100 = 2.25. WHIP = (120 + 40) / 100 = 1.60. K/9 = (180 x 9) / 100 = 16.20. This is the calculator’s default, and it describes an excellent pitcher.

Example 2: 10 earned runs in 33.1 innings

33.1 means 33 and one-third innings, or 33.33. ERA = (10 x 9) / 33.33 = 90 / 33.33 = 2.70.

Example 3: 10 earned runs in 33.2 innings (the trap)

33.2 means 33 and two-thirds innings, or 33.67. ERA = (10 x 9) / 33.67 = 90 / 33.67 = 2.67. If you mistakenly used 33.20, you would get 2.71, which is wrong.

Example 4: 1 earned run in 0.1 innings

0.1 means one out, or one-third of an inning. ERA = (1 x 9) / (1/3) = 9 x 3 = 27.00. A pitcher who gives up a run and records one out has, on paper, a 27.00 ERA. This is mathematically correct and practically meaningless, which is why ERA is only trusted over a decent sample of innings.

Example 5: 0 earned runs in 50 innings

ERA = (0 x 9) / 50 = 0.00. A scoreless stretch of any length is a 0.00 ERA, and it stays 0.00 until the first earned run scores.

Pitching lineTrue inningsERA
25 ER, 100 IP100.002.25
10 ER, 33.1 IP33.332.70
10 ER, 33.2 IP33.672.67
1 ER, 0.1 IP0.3327.00
0 ER, 50 IP50.000.00

What is a good ERA?

Lower is better, and the scale is roughly this: under 2.00 is elite, 2.00 to 3.00 is excellent, 3.00 to 4.00 is solid, 4.00 to 5.00 is below average, and over 5.00 is poor for a regular pitcher. Context matters, because the league average moves from season to season and sits near 4.00 in recent Major League seasons, and because ballparks and leagues differ. A 3.50 ERA in a hitter-friendly park in a high-scoring season is worth more than the same number in a pitcher-friendly park in a low-scoring season.

ERA also has a famous blind spot: it only counts earned runs. A pitcher whose defense commits errors behind him can look better than he pitched, and a pitcher who strands inherited runners can look worse than he pitched, since runs charged to a reliever’s predecessor still count against the pitcher who allowed the baserunner. That is why analysts pair ERA with WHIP, strikeout rate, and fielding-independent stats instead of reading it alone.

Common mistakes

  • Reading .1 and .2 as decimals. 33.2 innings is 33 and two-thirds, not 33.20. This is the most common ERA error, and it changes the answer.
  • Counting unearned runs. Runs that score on errors or passed balls are unearned and must be left out of the earned run total.
  • Dividing by zero innings. A pitcher who records no outs has no ERA at all, not an infinite one. This calculator shows an error instead of an impossible number.
  • Judging tiny samples. One bad outing can produce a 27.00 or 54.00 ERA. ERA only stabilizes after dozens of innings.
  • Mixing up ERA and WHIP. ERA measures runs per 9 innings; WHIP measures baserunners per inning. A pitcher can have a low WHIP and a high ERA if the few runners he allows keep scoring.

How it works

  1. Enter earned runs and innings pitched. Use box score notation for innings: .1 for one out, .2 for two outs.
  2. Press Calculate My ERA. The calculator converts the innings notation to its true value, applies the ERA formula, and adds WHIP and K/9 from the Advanced options.
  3. Read the result against the scale. Under 2.00 is elite, near 4.00 is around league average, and over 5.00 is poor, with park and season context in mind.

Frequently asked questions

What is a good ERA in baseball?

Under 2.00 is elite, 2.00 to 3.00 is excellent, 3.00 to 4.00 is solid, and over 5.00 is poor for a regular pitcher. The league average sits near 4.00 in recent Major League seasons, but it moves from year to year and varies by ballpark.

How do you calculate ERA with fractional innings like 33.2?

Convert the notation first: 33.2 means 33 and two-thirds innings, or 33.67. Then ERA = (earned runs x 9) / innings. For 10 earned runs in 33.2 innings, that is 90 / 33.67 = 2.67. Never use 33.20, which would wrongly give 2.71.

What do .1 and .2 mean in innings pitched?

They count outs, not decimal fractions. .1 means one out, which is one-third of an inning, and .2 means two outs, which is two-thirds. A third out ends the inning, so you will never see a valid .3.

Why is ERA multiplied by 9?

Because a regulation baseball game is 9 innings long. Multiplying by 9 scales a pitcher’s record to a full game, so ERA always means earned runs allowed per 9 innings, whatever the pitcher actually threw.

What is the difference between ERA and WHIP?

ERA measures earned runs per 9 innings, while WHIP measures baserunners (hits plus walks) per inning. ERA tells you how many runs scored; WHIP tells you how often runners reached base. A pitcher can allow few baserunners but still have a high ERA if those runners keep scoring.

Can a pitcher have a 0.00 ERA?

Yes. Any pitcher who has not allowed an earned run has a 0.00 ERA, whatever the innings total. A pitcher who has recorded no outs at all has no ERA, since dividing by zero innings is undefined, and this calculator shows an error in that case rather than an impossible number.

Disclaimer: This calculator is for general information and fan use only. ERA is an official baseball statistic, but figures computed here depend on the numbers you enter; always check official box scores and league records for authoritative statistics.