ERA Calculator (Earned Run Average)
Calculate a pitcher's Earned Run Average (ERA), WHIP, RA9, and strikeout/walk metrics per nine innings.
Runs that scored without the aid of an error or a passed ball.
Calculate your Earned Run Average (ERA), Walks plus Hits per Inning Pitched (WHIP), and strikeout rates.
Quick Answer: Multiply the total number of earned runs by **9**, then divide that product by the total number of innings pitched.
- **Formula**: `ERA = 9 * (Earned Runs / Innings Pitched)`.
- **Out Notation**: If a pitcher throws 45 innings and 2 outs, use **45.667** in the denominator.
Calculate a pitcher's Earned Run Average (ERA), WHIP, RA9, and strikeout/walk metrics per nine innings.
Runs that scored without the aid of an error or a passed ball.
An exhaustive exploration of ERA mathematics, fractional innings conversion, official scoring rules, advanced sabermetric comparisons (FIP, xERA, SIERA), and historical pitching benchmarks.
Master how to convert base-3 outs notation into precise decimal values for statistical modeling.
Learn how official scorers reconstruct innings to distinguish between earned and unearned runs.
Understand how WHIP, FIP, xERA, and SIERA isolate a pitcher's true talent from defense and luck.
Earned Run Average (ERA) is one of the oldest and most revered statistics in baseball. Formulated in the mid-19th century by **Henry Chadwick**, often referred to as the "Father of Baseball," the stat was designed to measure a pitcher’s effectiveness independently of their team's offensive output. Chadwick recognized that simply counting wins and losses did not tell the whole story, as a pitcher could perform exceptionally well but still lose if their team failed to score runs.
Over the years, the context of what constitutes a "good" ERA has shifted dramatically across different eras of baseball:
To calculate ERA with 100% accuracy, you must master how the baseball community records and computes fractional innings. An inning is divided into **three outs**. As a result, partial innings must be calculated using thirds ($1/3$ and $2/3$) rather than standard decimals.
Standard box scores record partial innings as `.1` or `.2`. This is a shorthand base-3 representation:
X.0 = X.000
X.1 = X.333...
X.2 = X.667...
Suppose a starting pitcher throws 64 innings and 2 outs (written as 64.2 IP) over a series of games, allowing a total of 22 earned runs:
To understand ERA, one must understand the difference between **Earned Runs (ER)** and **Unearned Runs**. An earned run is a run that scores due to offensive hits, walks, sacrifices, or stolen bases. An unearned run is a run that scores due to defensive errors or passed balls.
To determine this, the official scorer must reconstruct the inning as if the defensive error had not occurred:
Scenario:
Reconstruction Analysis:
Without the shortstop's error, Batter C would have been the second out of the inning. Consequently, when Batter D hit the home run, there would have been two outs, and only Batter D would have scored (Batter C would have already been out). The inning would have ended on Batter E's flyout. Therefore, only 1 run (Batter D's home run) is earned. The other 2 runs are classified as unearned and do not count toward the pitcher's ERA.
While ERA remains the standard, it has flaws. For instance, a pitcher who plays in front of a poor defensive outfield will allow more hits, inflating their ERA. Sabermetricians have developed advanced formulas to isolate the pitcher's actual performance:
FIP measures a pitcher's effectiveness using only outcomes they control directly: strikeouts, walks, hit-by-pitches, and home runs. It ignores balls hit into play, eliminating defensive bias.
FIP = [13×HR + 3×(BB+HBP) - 2×SO] ÷ IP + FIP_Constant
WHIP is a simple, powerful indicator of how many baserunners a pitcher allows. A WHIP below 1.10 is elite, while a WHIP above 1.40 indicates high risk of giving up runs.
WHIP = (Walks + Hits) ÷ Innings Pitched
This reference table displays the resulting ERA for various combinations of Earned Runs (ER) allowed and Innings Pitched (IP) over a season or tournament:
| Innings Pitched (IP) | 5 Earned Runs | 15 Earned Runs | 30 Earned Runs | 50 Earned Runs |
|---|---|---|---|---|
| 10.0 IP | 4.50 | 13.50 | 27.00 | 45.00 |
| 50.0 IP | 0.90 | 2.70 | 5.40 | 9.00 |
| 100.0 IP | 0.45 | 1.35 | 2.70 | 4.50 |
| 200.0 IP | 0.23 | 0.68 | 1.35 | 2.25 |
Related sports performance, fitness, and scoring estimators.