ERA Calculator
Calculate Earned Run Average (ERA) for baseball pitchers
Number of earned runs allowed by the pitcher
Complete innings pitched (whole number)
Number of outs recorded in a partial inning
Calculation Results
The desired ERA to calculate earned runs for
Complete innings pitched (whole number)
Number of outs recorded in a partial inning
Calculation Results
What is ERA and why it matters
Earned Run Average (ERA) is the standard metric used to express how many earned runs a pitcher allows on average over nine innings. It’s a rate statistic: lower numbers mean better run prevention. Because ERA normalizes performance to a nine-inning game, it lets you compare pitchers who have thrown different amounts of innings.
How ERA is calculated?
ERA = (Earned Runs × 9) ÷ Innings Pitched
“Earned runs” are runs that score without the aid of fielding errors or passed balls. “Innings pitched” is the total innings a pitcher has completed; partial innings are represented as fractional innings based on outs (see below). Using the formula above gives the pitcher’s expected runs allowed per nine innings.
How to enter innings correctly (partial innings / outs)
In baseball scorekeeping a partial inning equals the number of outs recorded divided by three:
- 0 outs = 0.0 innings
- 1 out = 0.1 in scoring notation but mathematically equals 1/3 innings (≈ 0.3333)
- 2 outs = 0.2 in scoring notation but mathematically equals 2/3 innings (≈ 0.6667)
When you use this calculator enter full innings as whole numbers and choose the partial outs separately so the tool converts them to the correct fractional value before applying the ERA formula. This prevents the common mistake of treating 0.1 and 0.2 as decimal tenths rather than thirds.
Example
Suppose a pitcher allows 3 earned runs in 7 full innings.
- Innings pitched = 7.00
- Earned runs = 3
- ERA = (3 × 9) ÷ 7 = 27 ÷ 7 = 3.857142… → rounded to 3.86
That rounded value is how ERA is typically presented in box scores and stat lines.
Reverse calculation
Sometimes you want to know how many earned runs are consistent with a particular ERA over a given workload. Rearranging the formula gives:
Earned Runs = (ERA × Innings Pitched) ÷ 9
Example: Target ERA = 2.50 and innings pitched = 12 innings + 2 outs (12⅔ innings ≈ 12.6667)
Earned Runs = (2.50 × 12.6667) ÷ 9 ≈ 3.5185 → round sensibly to 3.52 (or to the nearest hundredth if you need precision). This calculator performs that conversion automatically.
Rounding and display conventions
- Show ERA to two decimal places for readability (e.g., 3.86).
- When reversing to earned runs, two decimal places are commonly used when estimating; when applying to real game results you’ll usually round to the nearest whole run because partial runs don’t exist.
- If you want variant formatting (for visual guides or leaderboards), consider showing a tooltip with the unrounded value for transparency.
Common pitfalls and how this calculator avoids them
- Treating 0.1 and 0.2 as decimal tenths instead of outs: this calculator separates full innings and outs so fractional innings are computed correctly.
- Forgetting to exclude unearned runs: only include earned runs in the “earned runs” field.
- Small sample noise: ERA fluctuates heavily over low innings totals; don’t over-interpret ERA for pitchers with very few innings. The tool warns if innings = 0 to prevent division errors.
FAQ
Q1. What is an earned run?
A: An earned run is any run that scores without the aid of a defensive error or a passed ball. Only earned runs go into ERA calculations.
Q2. Why do my innings sometimes show 0.1 or 0.2?
A: Scorekeeping notation uses 0.1 to mean one out (1/3 inning) and 0.2 to mean two outs (2/3 inning). Mathematically they are 0.3333… and 0.6666… respectively; this calculator converts them correctly.
Q3. Is ERA the best measure of a pitcher’s performance?
A: ERA is useful but limited. Advanced metrics like FIP account for defense and luck by focusing on outcomes the pitcher directly controls (strikeouts, walks, home runs). Use ERA together with those metrics for a fuller assessment.
Sources: Baseball-Reference Glossary, MiniWebTool, GG Sports, RunningPaces. OmniCalculator, Calculator-Online, Fueled By Sports, Baseball-Calculators.