Sports & Fitness

Earned Run Average (ERA) Calculator

Calculate a pitcher's ERA from earned runs and innings pitched.


Earned Run Average (ERA) Calculator

Advertisement

The standard baseball pitching statistic — earned runs allowed, scaled to a standard 9-inning game.

How it works

Dividing earned runs by innings pitched and multiplying by 9 gives ERA, the earned runs a pitcher would be expected to allow over a full 9-inning game at the same rate.

What this does not include

This does not include unearned runs (runs that scored due to fielding errors), which are excluded from ERA by definition.

How to use this calculator

  1. Enter earned runs allowed and innings pitched.

A worked example

5 earned runs allowed over 9 innings pitched → (5 ÷ 9) × 9 = ERA 5.00.

2 earned runs over 6 innings → (2 ÷ 6) × 9 = ERA 3.00.

What the variables mean

Variable Meaning
Earned runs Runs charged to the pitcher, excluding those caused by fielding errors
Innings pitched Total innings the pitcher worked

Edge cases worth knowing

ERA is scaled to a 9-inning game, which is why the formula multiplies by 9 rather than just dividing runs by innings — it puts pitchers who worked different numbers of innings on a comparable scale.

Zero innings pitched makes ERA undefined — there’s no game length to scale against, so the calculator returns no result.

Frequently asked questions

Why is ERA scaled to 9 innings?

A standard baseball game is 9 innings, so scaling to that length lets pitchers with different amounts of playing time be compared on the same basis.

What counts as an “earned” run?

A run that scored without the help of a fielding error or passed ball — runs that resulted from defensive mistakes are excluded from a pitcher’s ERA.

What’s considered a good ERA?

Generally, an ERA under 3.00 is considered excellent at the professional level, though what’s “good” varies by league, era, and level of play.

Be the first to rate this

Written by

A. Osei

Health and fitness writer

A. Osei writes the health and fitness calculators, covering body composition estimates, energy expenditure, hydration and training loads. These pages are written to be informational rather than advisory: they explain what a population-level formula can and cannot tell an individual, and every health page carries a disclaimer pointing readers to a qualified professional for decisions about their own care.

Reviewed by

N. Haddad

Calculator reviewer — health and fitness

N. Haddad reviews the health and fitness calculators, with particular attention to how population-level formulas are described to individual readers. Review here means checking that thresholds are attributed to a stated source rather than asserted, that estimates are labelled as estimates, and that the required health disclaimer is present and correctly worded.

How we write and review

Related calculators