Calculate ERA in Baseball: Formula and Examples
- Earned runs
- 4 runs
- You entered
- Innings pitched
- 18 innings
- You entered
To calculate a baseball pitcher’s ERA, divide earned runs allowed by innings pitched and multiply by nine. Enter earned runs and innings pitched to find the pitcher’s earned run average, expressed as earned runs per nine innings.
Formula
ERA = (earned runs allowed × 9) ÷ innings pitched. In symbols, ERA = ER × 9 / IP. ER is the number of earned runs charged to the pitcher, measured in runs; IP is the number of innings pitched, measured in innings. The factor of nine converts the rate to a standard nine-inning game. The result is earned runs per nine innings.
In baseball scorekeeping, innings pitched are often recorded in thirds: .1 means one out, or one-third of an inning, and .2 means two outs, or two-thirds of an inning. These are not decimal tenths and hundredths. For a calculator, convert the notation to a fraction: 5.1 innings in a scorebook means 5⅓ innings, not 5.1 innings.
Worked Example
Using the calculator’s defaults—4 earned runs and 18 innings pitched:
- Multiply earned runs by nine: 4 × 9 = 36.
- Divide by innings pitched: 36 ÷ 18 = 2.
- Rounded to two decimal places, the ERA is 2.00 earned runs per nine innings.
This is the rate the pitcher would have if the same earned-run pace continued over nine innings. It does not mean the pitcher allowed exactly two earned runs in every game.
What ERA Measures
ERA, short for earned run average, is a traditional pitching statistic intended to summarize how many runs a pitcher is responsible for allowing, adjusted to a nine-inning scale. It focuses on earned runs, not every run that scores while the pitcher is on the mound.
Whether a run is earned depends on the official scorer’s judgment of what would have happened without errors or passed balls. Runs made possible by certain fielding mistakes are generally unearned, though the exact scoring can depend on the inning’s sequence. The pitcher can still be charged with an earned run after leaving the game if a runner they put on base later scores.
ERA is a rate, not a count of total runs, and it is not the same as a pitcher’s runs allowed per game. A pitcher with a low ERA has allowed earned runs at a slower rate, but the figure alone does not explain how many innings they pitched or the circumstances of those innings.
How to Use the Calculator
- Enter earned runs charged to the pitcher, not total runs scored by the opposing team.
- Enter total innings pitched as a number. Convert scorebook notation such as 12.2 to 12⅔, or 12.6667 for a decimal calculator.
- Read the result as earned runs per nine innings. The calculator displays two decimal places; extra precision may be useful during intermediate calculations.
For example, if a pitcher allowed 7 earned runs in 23⅓ innings, convert the innings to 23.3333 before calculating: 7 × 9 ÷ 23⅓ is about 2.70. Using 23.2 as though it meant 23.2 decimal innings would give a slightly different and incorrect result.
Interpreting and Comparing ERA
Lower ERA generally indicates fewer earned runs allowed per nine innings, but a useful comparison needs context. League scoring levels, ballparks, defensive support, and the season all affect how ERA should be understood. A figure that is strong in a high-scoring environment may compare differently in a low-scoring one.
ERA also does not account directly for a pitcher’s strikeouts, walks, or the quality and location of batted balls. Two pitchers with the same ERA may have reached it in different ways, and ERA can be influenced by fielding and sequencing. Statistics such as WHIP, strikeout and walk rates, and fielding-independent measures can add context, but each measures something different.
For a fair comparison, use the same time span and check that both pitchers have enough innings for their rates to be meaningful. A small sample can swing sharply after one high-scoring outing. When comparing across seasons or leagues, consider the scoring environment rather than treating one ERA value as universally good or bad.
Common Calculation Mistakes and Limits
- Using total runs instead of earned runs: Exclude unearned runs from ER.
- Reading innings notation as decimal fractions: Baseball .1 and .2 represent outs, not one-tenth and two-tenths of an inning.
- Forgetting the nine: Dividing earned runs by innings alone gives runs per inning, not ERA.
- Rounding too early: Keep the exact fraction for innings pitched through the calculation, then round the final ERA.
- Entering zero innings: ERA cannot be calculated by division when IP is zero. A pitcher who has not recorded an out has no finite ERA from this formula.
The standard formula gives a descriptive rate; it does not predict a pitcher’s next game or isolate the pitcher’s contribution from every factor. Official season totals also depend on recorded scoring decisions and may be updated if those decisions change.
Frequently Asked Questions
What is the ERA formula in baseball?
ERA = earned runs allowed × 9 ÷ innings pitched. The result is earned runs per nine innings.
Is a lower ERA better?
Generally, a lower ERA means fewer earned runs allowed per nine innings. Compare pitchers with the same league, season, and role in mind, since scoring conditions and sample size matter.
Do unearned runs count toward ERA?
No. ERA uses earned runs. The official scorer determines whether runs are earned or unearned based on the play and inning.
What does 6.2 innings pitched mean?
It means six innings and two outs, or 6⅔ innings. It does not mean 6.2 decimal innings.
Can ERA be calculated with no innings pitched?
No. The formula divides by innings pitched, so zero innings makes the calculation undefined. Scorekeeping conventions may show a pitcher without a finite ERA until they record an out.
Related
Formula used
in er | Earned runs | runs | 4 | 0 in ip | Innings pitched | innings | 18 | 0 out era | ERA | earned runs per 9 innings | er * 9 / ip | 2
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.