Baseball pitching

ERA Calculator — Earned Run Average

Calculate a pitcher’s earned run average from earned runs, completed innings, extra outs, and regulation game length.

Pitching line

Enter runs and innings pitched

ERA
Pitching summary

Earned run average

The ERA will appear here

Enter completed innings and 0, 1, or 2 additional outs.

Baseball diamond with three outs making an inning and earned runs feeding the ERA formula
Three recorded outs equal one full inning; ERA is commonly normalized to a nine-inning game.

What Is Earned Run Average?

Earned run average, or ERA, expresses a pitcher’s charged earned runs over a chosen game-length basis. This ERA Calculator uses an earned-run count, completed innings, additional outs and regulation game innings. It returns the normalized rate and repeats the pitching information for checking.

Enter partial innings as outs rather than ordinary decimal fractions. The form keeps completed innings and additional outs separate, so a pitching line of 17.2 means 17 complete innings plus two outs. With a nine-inning basis, the result is earned runs per nine innings, not a prediction of the next game’s score.

How to Calculate ERA from Innings and Outs

  1. Enter Earned runs from the pitching record. Use the scored earned-run total rather than all runs allowed.
  2. Enter the whole-number Completed innings. For a line written 17.2, enter 17 here.
  3. Enter Additional outs as 0, 1 or 2. For 17.2, choose 2; three outs belong in one more complete inning.
  4. Enter Regulation game innings for the rate basis you intend to use. A nine-inning ERA uses 9; the calculator does not identify a league or choose its rules.
  5. Select Calculate ERA. Check the featured result, recorded innings and repeated earned-run and game-length cards.

All four entries are whole-number counts. Earned runs and completed innings can be zero, but the total pitching record must include at least one out. Regulation game innings must be positive. The form calculates from the supplied record and does not score plays itself.

ERA and Fractional Innings Formulas

Innings pitched = completed innings + additional outs ÷ 3

ERA = earned runs × regulation game innings ÷ innings pitched

Three outs make one completed inning. Convert the outs to thirds before dividing, and keep that fraction unrounded until the last step. The calculator rounds the resulting ERA to two decimals; trailing zeroes may be omitted in the numeric display.

The nine-inning formula is stated in Official Baseball Rules, 2021 edition, Rule 9.21(e). This form generalizes the multiplier to the positive game-length number you supply. It does not determine which basis is official for a particular competition.

Do not divide by the written scorebook decimal. A line of 17.2 has a denominator of 17 + 2/3, not 17.2. Similarly, the Recorded innings card’s “2/3” is an out fraction, not two-tenths of an inning.

ERA Inputs and Results Explained

Earned runs
Nonnegative count charged as earned in the supplied pitching record. The Earned runs card repeats it; the tool does not adjudicate scoring.
Completed innings
Whole innings completed before any remaining outs. Decimal pitching-line notation must be split into the separate fields.
Additional outs
Zero, one or two outs beyond those complete innings. Each contributes one-third of an inning.
Regulation game innings
Positive normalization basis, repeated in Game-length basis. It is not the number of innings the pitcher necessarily worked.
Earned run average / ERA
The same normalized earned-run rate in the featured and repeated result. It is not a percentage.
Recorded innings
The completed-innings and out-fraction display reconstructed from your inputs. It is a check of the denominator, not a new measurement.

Earned Run Average Calculation Example

Illustrative example. A hypothetical record shows four earned runs over 17 complete innings and two additional outs. Use a nine-inning basis.

The denominator is 17 + 2/3 = 53/3 innings. ERA = 4 × 9 ÷ (53/3) = 108/53 ≈ 2.04. Enter 17 and 2 separately; entering an ordinary 17.2 would not describe the same pitching time.

With the same four runs and 17 complete innings, zero extra outs gives 36/17 ≈ 2.12, while one extra out gives 36/(17 + 1/3) ≈ 2.08. The fraction changes the denominator and therefore the rate.

Calculation check. Independent fraction arithmetic and calculator results confirm these hypothetical examples. The tool does not decide whether the four runs should be scored as earned.

Example comparison. Review the inputs and results together using the assumptions in the caption.

Four earned runs, 17 complete innings and a nine-inning basis
Additional outsTrue inningsERA
0172.12
117 + 1/32.08
217 + 2/32.04

Innings, Outs and Game-Length Basis

Pitching notation counts outs. The digit after the point represents a remaining out count, not a base-ten fraction. Split that record before entering it in this form.

How to enter scorebook pitching lines
Pitching lineCompleted inningsAdditional outsActual innings
17.017017
17.117117 + 1/3
17.217217 + 2/3

The game-length basis is a different quantity from innings pitched. For four earned runs over 17⅔ innings, a nine-inning basis gives 2.04, while a seven-inning basis gives 1.58. The pitching record has not improved between those two calculations; only the normalization has changed. Use the same basis when comparing pitchers.

For a combined season rate, add the earned runs and recorded outs across appearances, then calculate again. An ordinary average of appearance ERAs gives short and long outings equal influence and can misstate the combined result.

How to Read Your ERA Result

At a fixed game-length basis, a lower ERA means fewer charged earned runs per that many innings in the supplied record. It does not identify every cause of run prevention, predict future performance or establish a universal good/bad cutoff.

Keep the basis and sample size with the result when comparing records. Changing a nine-inning basis to seven changes the normalized number even when earned runs and outs stay identical. A short appearance can also produce a large rate from one run because the denominator is small.

A zero result is valid when earned runs are zero and at least one out was recorded. With no outs at all, the rate has a zero denominator and this form rejects the record. That distinction matters when comparing a scoreless appearance with an appearance in which no out was obtained.

Use the supplied scoring totals. Rule 9.16 in the cited 2021 rules assigns earned-run judgments to scoring; a simple arithmetic form cannot reconstruct an inning or resolve every scoring circumstance.

Common ERA Calculation Mistakes

  • Entering all runs allowed instead of the scored earned-run total.
  • Typing 17.2 as an ordinary decimal rather than 17 innings and two outs.
  • Entering three additional outs instead of carrying them into a completed inning.
  • Using the pitcher’s innings as the regulation-game multiplier.
  • Comparing rates calculated on different game-length bases without noting the difference.
  • Averaging several rounded ERA figures rather than recomputing from combined earned runs and outs.
  • Treating a zero-outs record as a valid denominator.

Earned Run Average Questions

How do I calculate earned run average?

Convert the pitching record to full innings plus outs divided by three, then divide earned runs times the chosen game-length basis by that total. This form performs both steps.

What does 17.2 innings mean?

In a baseball pitching line it means 17 completed innings and two outs, or 17⅔ innings. Enter 17 in Completed innings and 2 in Additional outs.

Why are additional outs limited to two?

Three outs make another full inning. Carry a group of three into the completed-innings entry and leave only 0, 1 or 2 additional outs.

Should I enter nine for regulation game innings?

Use 9 when you intend a nine-inning ERA. The input is the normalization basis, not the pitcher’s own innings or an automatic league-rule selection.

Can ERA be zero?

Yes, if the record has zero earned runs and at least one out pitched. The form rejects a record with no outs because it would divide by zero.

Is ERA a percentage?

No. It is a rate of earned runs per the chosen inning basis. An output of 2.04 on a nine-inning basis does not mean 2.04%.

Can I average ERA values from several appearances?

For a combined rate, add earned runs and recorded outs over the same scope, then calculate again using one basis. A simple average of rounded appearance ERAs can misweight short and long outings.

Does this calculator decide which runs were earned?

No. It accepts a supplied earned-run count. Use the official scoring record rather than expecting the calculator to classify errors, passed balls or inherited runners.

Sources and References