Era Calculation in Baseball: Earned Run Average
- Innings Pitched (outs)
- outs
- Result
- Earned Runs
- 3
- You entered
- Innings Pitched
- 6.2
- You entered
ERA calculation in baseball works out a pitcher’s earned run average by dividing earned runs allowed by innings pitched, then multiplying by 9. You enter the earned runs and innings pitched, and the calculator returns the ERA, which represents the average number of earned runs a pitcher would give up over a full nine-inning game.
Formula
The standard ERA formula is:
ERA = (Earned Runs ÷ Innings Pitched) × 9
Where:
- Earned Runs (ER) – runs scored without the aid of a fielding error or a passed ball (per official scoring rules).
- Innings Pitched (IP) – recorded in thirds: one out = 0.1, two outs = 0.2, three outs = 1.0. So 6.2 means 6 full innings plus 2 outs.
- 9 – the number of innings in a standard regulation game.
The result is a decimal, usually rounded to two places (e.g., 3.86). A lower ERA is better.
Worked Example
Using the default values from the calculator: 3 earned runs allowed in 6.2 innings pitched.
- Convert 6.2 innings to outs: 6 innings × 3 outs = 18 outs, plus 2 outs = 20 outs total.
- Compute ERA: (3 ÷ 6.2) × 9 = 0.48387 × 9 = 4.3548.
- Round to two decimals: 4.35.
So a pitcher who allows 3 earned runs in 6.2 innings has an ERA of 4.35.
Why the 9-Inning Scale?
ERA is designed to be comparable across pitchers regardless of how many innings they pitch. By scaling to a full game, a reliever who pitches one inning and allows one run gets the same ERA (9.00) as a starter who pitches nine innings and allows nine runs. This makes ERA a rate stat, not a counting stat, and it has been the standard measure of pitching effectiveness since the early 20th century. The concept was popularized in baseball record books in the 1910s, though the exact origin is debated among historians.
How to Read and Compare ERA
ERA is context-dependent. A 4.00 ERA might be league-average in one season and below-average in another, depending on run-scoring environment. Here are rough benchmarks for modern Major League Baseball (as of the 2020s):
- Below 3.00 – elite, Cy Young Award territory.
- 3.00–3.70 – above average, strong starter.
- 3.70–4.50 – around league average.
- Above 4.50 – below average, often a relief pitcher or a struggling starter.
However, these numbers shift with the designated hitter rule, ballpark factors, and era. Compare a pitcher’s ERA to the league average for that same season rather than to an absolute number.
Common Mistakes and Misconceptions
The most frequent error is mixing up innings pitched notation. A pitcher who throws 6.2 innings has not thrown 6.2 as a decimal – it’s 6 innings and 2 outs, which is 6.666… actual innings. The calculator handles this correctly by treating the fractional part as outs, not tenths of an inning. Another mistake is forgetting that only earned runs count. If a run scores because of an error, it is unearned and does not affect ERA. Also, a pitcher’s ERA can be misleading in small samples – a reliever with 10 innings and 1 earned run has a 0.90 ERA, but that is not as meaningful as a starter with 200 innings and a 3.00 ERA. Always look at innings pitched alongside ERA.
ERA vs. Other Pitching Stats
ERA is the traditional headline stat, but it has known limitations. It depends on the defense behind the pitcher and the ballpark. Modern alternatives include:
- FIP (Fielding Independent Pitching) – estimates ERA using only strikeouts, walks, hit-by-pitches, and home runs, removing defense.
- WHIP (Walks + Hits per Inning Pitched) – measures baserunners allowed, not runs.
- xFIP (Expected FIP) – normalizes home run rate to league average.
- ERA+ – adjusts ERA for ballpark and league, scaled so 100 is average.
For a quick snapshot, ERA is still the most widely cited, but analysts often pair it with FIP to see if a pitcher is over- or under-performing.
When to Use This Calculator
Use it whenever you have a pitcher’s earned runs and innings pitched – from a box score, a season stat line, or a live game. It works for any level: youth baseball, college, minor leagues, or MLB. You can also use it in reverse: if you want to know how many earned runs a pitcher can allow to maintain a target ERA over a given number of innings, rearrange the formula: Earned Runs = (ERA × Innings Pitched) ÷ 9. For example, a 3.00 ERA over 200 innings allows 66.67 earned runs, so 66 earned runs gives a 2.97 ERA.
Frequently Asked Questions
How do I convert 6.2 innings to outs?
Each full inning has 3 outs. So 6 full innings = 18 outs, plus 2 outs = 20 outs. In the calculator, the innings input is already in baseball notation, so you just type 6.2 and it does the conversion internally.
What is a good ERA?
It depends on the league and season. In modern MLB, an ERA below 4.00 is generally above average, while below 3.00 is excellent. In high school or college, ERAs tend to be higher because of more errors and less consistent pitching. Always compare to the league average for that year.
Does ERA include unearned runs?
No. Only earned runs count. If a run scores after an error that would have ended the inning, that run is unearned and does not affect ERA. This is why a pitcher can throw a complete game shutout but still have a team error allow an unearned run – that run does not change the ERA.
Why is ERA multiplied by 9?
Because a regulation baseball game is 9 innings. Multiplying by 9 scales the rate to a per-game basis, making it easy to compare a reliever who pitches 1 inning to a starter who pitches 9. If the league used 7-inning doubleheaders, you would multiply by 7 instead, but standard ERA always uses 9.
Can ERA be negative?
No. Earned runs and innings pitched are both non-negative, so ERA is always zero or positive. A pitcher who has not allowed an earned run has a 0.00 ERA.
What is the difference between ERA and RA (run average)?
RA counts all runs, including unearned ones, divided by innings pitched times 9. ERA only counts earned runs. RA is sometimes used to evaluate a pitcher’s true run prevention, but ERA is the official stat because it tries to isolate the pitcher’s responsibility from defensive errors.
Related
Formula used
in er | Earned Runs | - | 3 | 0 in ip | Innings Pitched | - | 6.2 | 0 out era | Earned Run Average | - | (er / ip) * 9 | 2 out ip_equiv | Innings Pitched (outs) | outs | floor(ip) * 3 + (ip - floor(ip)) * 10 | 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.