How do I calculate ERA?
Multiply earned runs by nine and divide by innings pitched. Forty-five earned runs in 180 innings is a 2.25 ERA.
The formula
ERA = (earned runs × 9) ÷ innings pitched. Innings use thirds, so 180.1 means 180 and one-third — the calculator converts that before dividing.
Example: 45 earned runs in 180 innings = 405 ÷ 180 = 2.25.
Earned versus unearned
Runs that score because of an error, a passed ball or a fielder's choice are unearned and excluded. The official scorer decides, and the decision can change a starter's ERA by a tenth or more over a season.
Reading it
| ERA | Read |
| Under 2.50 | Elite season |
| 2.50–3.20 | Very good |
| 3.20–4.00 | Average starter |
| 4.00–4.80 | Below average |
| Above 4.80 | Replacement level |
ERA depends on defence, park and luck on balls in play. FIP isolates what the pitcher controls — homers, walks, strikeouts and hit batters.
Worked ERA examples
ERA is earned runs times nine divided by innings pitched. Partial innings matter: 5.2 innings means five and two-thirds, not five and two-tenths.
| Innings pitched | Earned runs | ERA |
|---|
| 9.0 | 1 | 1.00 |
| 6.0 | 2 | 3.00 |
| 7.0 | 3 | 3.86 |
| 5.2 (5⅔) | 4 | 6.35 |
| 3.0 | 0 | 0.00 |
Earned versus unearned runs
ERA counts only runs the scorer judges to be earned — those that would have scored without an error or passed ball extending the inning. Unearned runs still count on the scoreboard and still lose games, but they do not touch ERA.
That is one reason ERA can flatter a pitcher who benefits from generous scoring decisions. If you need a defence-independent number, use FIP, which ignores everything that happens after the ball is put in play.
Reading innings correctly
Baseball writes one out as .1 and two outs as .2, so 5.2 innings is five and two-thirds, not five and a fifth. Convert to outs before doing any arithmetic; that single step prevents most ERA mistakes.
Who wrote this
SportsStatCalc editorial team · Last updated 19 November 2026
Written and checked by the SportsStatCalc editorial team. Every formula on this page is worked through with a real example, and the sources are listed on the about page.
How we build and check these numbers