ThisCalculator

Statistics

Earned Run Average Calculator: Formula and Examples

Updated · Standard formula, shown below

Earned run average 3.86 runs per 9 innings
Innings pitched in outs
21 outs
Result
Earned runs
3
You entered
Innings pitched
7 innings
You entered

Earned Run Average Calculator: Formula and Examples

An earned run average (ERA) calculator estimates how many earned runs a pitcher allows per nine innings. Enter earned runs and innings pitched to get the pitcher’s ERA, with the result expressed as runs per nine innings.

Formula

The standard formula is ERA = earned runs × 9 ÷ innings pitched.

  • Earned runs is the count of runs charged to the pitcher that were not caused by errors or passed balls under the applicable scoring rules. It is a count, so it has no physical unit.
  • Innings pitched is the number of innings, including partial innings expressed as thirds. One inning contains three outs.
  • 9 represents a nine-inning game. ERA is a rate: the number of earned runs allowed per nine innings, not a prediction that a pitcher will allow exactly that many runs in a particular game.

The calculator’s second output converts innings into outs: outs = innings pitched × 3. This is useful because baseball records partial innings as outs rather than decimal fractions. The first output is the ERA; the second is a check on the innings entry.

Worked Example

Using the calculator’s defaults, a pitcher has allowed 3 earned runs in 7 innings.

  1. Multiply earned runs by 9: 3 × 9 = 27.
  2. Divide by innings pitched: 27 ÷ 7 = 3.857142…
  3. Round to two decimal places: the ERA is 3.86 runs per nine innings.
  4. Convert the innings to outs: 7 × 3 = 21 outs.

The ERA is a normalized rate, so it can be compared across pitchers who have pitched different numbers of innings. The example does not mean the pitcher gave up 3.86 runs in those seven innings; the number scales the observed rate to a nine-inning basis.

What Counts as an Earned Run?

Not every run that scores while a pitcher is on the mound is charged as an earned run. The official scorer determines whether a run would have scored without a defensive error or a passed ball. In general, a run that scores because of such a misplay is unearned, but the scoring decision can depend on how the inning would have unfolded without the mistake.

For example, a batter reaches base because of an error, and later scores. The scorer reconstructs the inning as though the error had not occurred. If that run would not otherwise have scored, it is generally unearned. Other events later in the inning can affect the reconstruction, so a box score’s earned-run total—not simply the number of runs scored—is the appropriate input for an ERA calculation.

ERA calculations use the earned-run figure credited to the pitcher. A run can count toward a team’s score without counting against that pitcher’s ERA. Pitcher changes and the circumstances around a runner reaching base can affect which pitcher is charged with a run; the calculator does not decide those scoring questions.

Entering Innings Correctly

Baseball innings are divided into thirds, with each out representing one-third of an inning. The calculator accepts innings as a decimal quantity, but use thirds rather than arbitrary decimals when entering partial innings:

  • 5 innings and no outs: enter 5.
  • 5 innings and 1 out: enter 5.333…, or use 5⅓ in a tool that accepts fractions.
  • 5 innings and 2 outs: enter 5.666…, or use 5⅔.

Do not enter 5.1 to mean five innings and one out, or 5.2 to mean five innings and two outs. Those decimal values mean five and one-tenth innings and five and two-tenths innings, respectively, which are not the same as one-third and two-thirds of an inning. If a source gives innings as “5.1” or “5.2” in baseball notation, translate that notation to 5⅓ or 5⅔ before calculating.

How to Interpret and Compare ERA

A lower ERA means fewer earned runs allowed per nine innings over the period measured. It is most useful when the innings, league context, and timeframe are understood. A season ERA and a career ERA summarize different samples, and a few appearances can produce a rate that shifts sharply after a single outing.

ERA is not a complete measure of pitching performance. It depends on earned-run decisions, defensive play, and the environments in which games are played. It also does not directly describe strikeouts, walks, home runs, or the total runs allowed. Two pitchers with the same ERA may have reached that result in different ways. For a fair comparison, consider the amount of playing time and the relevant competition and conditions, rather than treating a single ERA figure as the whole story.

ERA also differs from a pitcher’s runs allowed per nine innings: the latter uses all runs charged to the pitcher, including unearned runs, while ERA uses earned runs only. Neither rate should be confused with a team’s runs per game.

Common Calculation Problems and Limits

  • Using total runs instead of earned runs: this produces a different rate and is not ERA.
  • Misreading partial innings: one out is one-third of an inning, not one-tenth.
  • Using the wrong innings total: verify that the innings and earned runs cover the same pitcher and time period.
  • Rounding too early: keep the full innings value through the division, then round the final ERA. The calculator displays two decimal places, a common reporting precision.
  • Zero innings: ERA is undefined when innings pitched is zero because division by zero is not possible. A pitcher with no recorded outs cannot receive a finite ERA from this formula.

The calculation itself is straightforward, but it cannot determine earned runs from a play-by-play account or correct an inaccurate input. It also does not account for game length: the conventional multiplier remains nine, including when a game has fewer than nine innings.

Frequently Asked Questions

How do you calculate ERA?
Multiply earned runs by 9, then divide by innings pitched. For 4 earned runs in 12 innings, ERA = 4 × 9 ÷ 12 = 3.00.

What is a good ERA?
There is no single cutoff that applies across every league, season, level, and playing environment. ERA is most informative when compared with the relevant competition and period, and alongside the number of innings pitched.

Does ERA include unearned runs?
No. ERA uses earned runs. Unearned runs still count on the scoreboard, but are excluded from a pitcher’s ERA under the scoring decision for the game.

How do I enter 6⅔ innings in an ERA calculator?
Enter 6.666… innings, or 20 outs if the calculator accepts outs. Do not enter 6.2: baseball’s “two outs” notation represents two-thirds of an inning, not two-tenths.

Can a pitcher have a 0.00 ERA?
Yes. If a pitcher has pitched one or more innings and allowed no earned runs, the formula gives an ERA of 0.00 for that span. With zero innings pitched, ERA is undefined rather than zero.

Related

Formula used
in er | Earned runs | - | 3 | 0
in inn | Innings pitched | innings | 7 | 0
out era | Earned run average | runs per 9 innings | er * 9 / inn | 2
out ip | Innings pitched in outs | outs | inn * 3 | 0

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.