Earned Run Average (ERA) Calculator

Quick answer

The ERA calculator finds a pitcher's earned run average (earned runs allowed per nine innings) from earned runs, full innings and extra outs pitched, with an adjustable game length for softball and youth leagues.

Innings pitched
162.333
ERA
2.49
Rating (MLB scale)
Excellent

Earned run average is the classic measure of a pitcher’s effectiveness. Unearned runs that score because of fielding errors are excluded, so ERA reflects what the pitcher allowed. A big-league ERA under 3.00 is excellent; the league average is usually around 4.

How to use the Earned Run Average

  1. Earned runs
  2. Full innings pitched
  3. Additional outs pitched
  4. Innings per game

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Enter the earned runs, the number of complete innings and any extra outs (6.2 innings = 6 innings and 2 outs), and the innings in a regulation game (9 in MLB, 7 in softball and many youth leagues).

Inputs explained

Field What to enter
Earned runs A number
Full innings pitched A number
Additional outs pitched A number
Innings per game A number

What each result means

  • Innings pitched = [Full innings pitched] + [Additional outs pitched]÷3
  • ERA = [Earned runs]÷([Full innings pitched] + [Additional outs pitched]÷3)×[Innings per game]

Example values

How the main result changes when Earned runs changes and everything else stays at the example values above:

Earned runs ERA
22.5 1.25
33.75 1.87
45 2.49
56.25 3.12
67.5 3.74
90 4.99

Formula

ERA = earned runs ÷ innings pitched × innings per game, innings pitched = full innings + outs ÷ 3

Worked example

Inputs: Earned runs: 45; Full innings pitched: 162; Additional outs pitched: 1; Innings per game: 9.
Results: Innings pitched = 162.333; ERA = 2.49; Rating (MLB scale) = Excellent.

Key terms

Earned run
A run that scores without the help of a fielding error or passed ball.

Frequently asked questions

What is a good ERA?

Below 3.00 is excellent in MLB; around 4.00 is average.

Why are outs entered separately?

6.2 innings means 6⅔ innings, not 6.2.

Do unearned runs count?

No. Runs caused by errors or passed balls are excluded.

How is softball ERA calculated?

The same way with 7 innings per game.

Sources

  1. MLB: Glossary of statistics
  2. FanGraphs Sabermetrics Library

Cite this calculator

Speedy Calculator. (2026). Earned Run Average (ERA) Calculator. Speedy Calculator. https://speedycalculator.com/calculators/sports/era/