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

ERARead
Under 2.50Elite season
2.50–3.20Very good
3.20–4.00Average starter
4.00–4.80Below average
Above 4.80Replacement level

ERA depends on defence, park and luck on balls in play. FIP isolates what the pitcher controls — homers, walks, strikeouts and hit batters.

Frequently Asked Questions

Does ERA include inherited runners?

Runs that score on the reliever's watch are charged to the reliever if the runner was that reliever's responsibility; inherited runners scoring are charged to the previous pitcher.

What is a good ERA for a reliever?

Under 3.00 is solid; elite closers sit near 2.00.

Is ERA or WHIP better?

WHIP stabilises faster; ERA measures actual run prevention. Read both.

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 pitchedEarned runsERA
9.011.00
6.023.00
7.033.86
5.2 (5⅔)46.35
3.000.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