Baseball ERA Calculator Formula
Understand the math behind the baseball era calculator. Each variable explained with a worked example.
Formulas Used
Earned Run Average
era = earned_runs * 9 / innings_pitchedEarned Runs per Inning
runs_per_inning = earned_runs / innings_pitchedVariables
| Variable | Description | Default |
|---|---|---|
earned_runs | Earned Runs Allowed | 35 |
innings_pitched | Innings Pitched | 100 |
How It Works
Earned Run Average (ERA)
ERA is the average number of earned runs a pitcher allows per nine innings. It is the most traditional measure of pitching effectiveness.
Formula
ERA = (Earned Runs / Innings Pitched) x 9
Only earned runs count (errors by fielders are excluded). A lower ERA is better. In modern MLB, an ERA below 3.00 is excellent, 3.00-4.00 is above average, and above 5.00 is poor.
Worked Example
A pitcher allows 35 earned runs in 100 innings.
earned_runs = 35innings_pitched = 100
- 01ERA = (35 / 100) x 9 = 0.35 x 9 = 3.15
- 02This is an above-average ERA in modern baseball
Ready to run the numbers?
Open Baseball ERA Calculator