ERA Calculator

Enter earned runs and innings pitched, in the usual box-score notation, to find a pitcher's ERA for 9-inning or shorter games.

Earned run average (ERA)4.05
runs

0 – 1000000

innings

Baseball notation: 6.1 means 6⅓ innings and 6.2 means 6⅔.

innings

9 for MLB and college baseball; 7 is common for high-school baseball and softball.

Earned run average (ERA)

4.05

  • Innings as a decimal6.6667
  • Outs recorded20.0000
  • Earned runs per inning0.450

Only earned runs count; runs that score because of an error or passed ball are unearned. ERA is conventionally shown to two decimals.

How this was calculated

  1. Innings = whole innings + outs ÷ 3Substitute: 6.2 → 6 ⅔ = 6.666666667Result: 6.666666667 innings
  2. ERA = 9 × earned runs ÷ inningsSubstitute: 9 × 3 ÷ 6.666666667Result: 4.05

ERA formula

ERA = 9 × earned runs ÷ innings pitched. It is the number of earned runs a pitcher allows per nine innings. For leagues that play 7-inning games, such as most high-school baseball and softball, replace 9 with 7.

Box scores write partial innings as .1 and .2 because each out is one-third of an inning. So 6.1 innings is 6⅓ (6.333…) and 6.2 is 6⅔ (6.667). The calculator converts the notation before dividing.

Worked example

A pitcher allows 3 earned runs in 6.2 innings. Innings = 6 + 2 ÷ 3 = 6.667. ERA = 9 × 3 ÷ 6.667 = 4.05.

Treating 6.2 as a plain decimal would give 4.35, which is why the notation matters.

Earned and unearned runs

Only earned runs count. A run is unearned when it scores because of a fielding error or passed ball, as decided by the official scorer. Enter the earned-run total from the box score, not total runs allowed.

References

Frequently asked questions

What does 5.1 innings pitched mean?

Five full innings plus one out, or 5⅓ innings. The .1 and .2 after the decimal count outs, not tenths.

What is a good ERA?

In Major League Baseball an ERA under about 3.00 is excellent and around 4.00 is roughly average, but it varies by era, league and ballpark.

How do I calculate ERA for softball?

Softball games are usually 7 innings, so use ERA = 7 × earned runs ÷ innings pitched. Set the game length to 7 in the calculator.

Last updated . Results are estimates for informational purposes only.