All calculators

Education

ERA Calculator

Last updated: May 31, 2026

Written by Blake Boege

An ERA calculator is a baseball statistics utility used to compute a pitcher's Earned Run Average, which represents the mean number of earned runs allowed per standard game. Typically set to nine innings for professional leagues and seven innings for softball or youth divisions, this metric scales runs allowed to match the total game duration. By dividing total earned runs by innings pitched and multiplying by standard game length, it provides a standardized evaluation of pitching performance. Coaches, analysts, and players use this calculator to assess pitching efficiency, rank player value, and track seasonal progress.

Enter earned runs allowed, innings pitched, and standard game length to compute a pitcher's Earned Run Average (ERA) instantly. Accurate for MLB, college, high school, youth leagues, and softball.

Quick Answer

Calculate a pitcher's Earned Run Average (ERA). Enter earned runs allowed, innings pitched, and game length to see the average runs allowed per game.

ERA Projection

EARNED RUN AVERAGE

3.86

3.00 - 4.00 ERA — Quality starter / Excellent

Earned Runs Allowed3
Innings Pitched7.000
Game Length9 innings
ERA3.86
Was this helpful?

Examples

3 earned runs over 7.0 innings (9-inning game)

ERA = (3 / 7) * 9 = 3.86 ERA · Quality Starter

2 earned runs over 5.1 innings (9-inning game)

5.1 IP = 5.333 true innings · ERA = (2 / 5.333) * 9 = 3.38 ERA · Excellent

1 earned run over 6.2 innings (7-inning softball game)

6.2 IP = 6.667 true innings · ERA = (1 / 6.667) * 7 = 1.05 ERA · Elite

How it works

The calculator divides the total number of earned runs by the number of true innings pitched, and then multiplies the result by the standard game length (typically 9 innings for baseball or 7 innings for softball).

ERA Formula

ERA = (Earned Runs / Innings Pitched) × Game Length

Innings Pitched Outs Conversion

  • Decimal suffix .1 = 1 out = 1/3 inning (~0.333)
  • Decimal suffix .2 = 2 outs = 2/3 inning (~0.667)
  • Decimal suffix .0 = 0 outs = 0/3 inning (0.000)

Understanding Earned Run Average (ERA)

ERA is the premier statistic used to measure a pitcher's effectiveness. By scaling runs allowed to a standard game length (typically 9 innings), it allows players to be evaluated fairly regardless of how many innings they have thrown. For example, a relief pitcher who throws only 1 inning and allows 1 run has an ERA of 9.00, while a starter who throws 9 innings and allows 1 run has an ERA of 1.00.

Earned vs. Unearned Runs

It is critical to distinguish between earned runs and unearned runs when calculating ERA:

  • Earned Runs: Runs that score as a result of hits, walks, sacrifices, wild pitches, or stolen bases before the defensive team has had three opportunities to record an out.
  • Unearned Runs: Runs that score because of fielding errors, dropped third strikes, or passed balls. If an error occurs that would have ended the inning if made correctly, all subsequent runs in that inning are considered unearned.

Game Length Adjustments

Although Major League Baseball uses 9-inning games, other baseball and softball divisions use shorter games. Failing to adjust the game length yields inaccurate ERA values. Common lengths include:

  • 9 Innings: MLB, Minor Leagues, NCAA College Baseball.
  • 7 Innings: High School Baseball, Fastpitch Softball, Little League Intermediate division.
  • 6 Innings: Little League Baseball (under 12), youth recreational divisions.

Related tools

Check out our other math and stats calculations, such as the Average Calculator for basic datasets, and the Dunk Calculator to measure athletic jump statistics.

Related Calculators

More tools from Education

Frequently asked questions

ERA stands for Earned Run Average. It is a key baseball statistic representing the average number of earned runs a pitcher allows per standard game (typically 9 innings for professional leagues).

In baseball box scores, innings pitched are written as decimals where the digit after the point denotes the number of outs. A value of 6.1 means 6 innings and 1 out (which is 6.333 or 6 1/3 innings), and 6.2 means 6 innings and 2 outs (which is 6.667 or 6 2/3 innings). The calculator converts these automatically to their true fractional values before computing the ERA.

The formula is: ERA = (Earned Runs / Innings Pitched) * Game Length. For Major League Baseball, the game length is 9 innings. For youth baseball and softball leagues, the game length is often 7 innings.

Under standard 9-inning MLB conditions, an ERA below 3.00 is considered elite. An ERA between 3.00 and 4.00 is excellent and typical of a reliable quality starting pitcher. An ERA between 4.00 and 5.00 is league-average, while any ERA above 5.00 is considered below average.

An earned run is any run that scores against a pitcher without the aid of a fielding error or a passed ball. If a runner scores due to an error, it is classified as an unearned run and does not count towards the pitcher's ERA.

Yes, ERA is widely used in softball. Because standard softball games are 7 innings long instead of 9, softball ERA calculations multiply the result by 7 rather than 9 to reflect the correct game duration.