ERA calculator

ERA is earned runs times the innings in a game, divided by innings pitched. For a 9-inning game that is 9 × ER ÷ IP. Three earned runs in 7.2 innings (seven innings and two outs, or 7.67) is an ERA of 3.52. Softball and most youth leagues scale to 7 innings instead.

ERA calculator

Runs in your browser. Nothing you type is sent to us, saved, or put in analytics.

Showing an example. Change any field to use your own numbers.

Runs charged to the pitcher that did not score because of an error or passed ball.

Write outs after the dot: 6.1 is six innings and one out, 6.2 is six and two outs.

Earned run average is scaled to one full game. Pick the length your league plays.

Your answer

Earned run average

3.52

3 earned runs in 7.2 innings, scaled to 9 innings

Fill in the fields to see the answer.

  1. Innings as a number7.67 whole innings + outs ÷ 37 + 2 ÷ 3
  2. Earned runs per inning0.391 earned runs ÷ innings3 ÷ 7.67
  3. ERA3.52 9 × earned runs ÷ innings9 × 3 ÷ 7.67

ERA for common earned run and innings totals, 9-inning game

Earned runs1 IP3 IP5 IP7 IP9 IP20 IP50 IP100 IP
00.000.000.000.000.000.000.000.00
19.003.001.801.291.000.450.180.09
218.006.003.602.572.000.900.360.18
327.009.005.403.863.001.350.540.27
545.0015.009.006.435.002.250.900.45
1090.0030.0018.0012.8610.004.501.800.90
20180.0060.0036.0025.7120.009.003.601.80
30270.0090.0054.0038.5730.0013.505.402.70

How to calculate ERA

Count the earned runs charged to the pitcher. Turn innings pitched into a plain number: each out is one third of an inning, so 7.2 in a box score means 7 and 2/3, about 7.67. Divide earned runs by that number, then multiply by the innings in a full game.

The multiplier is the only thing that changes between baseball and softball. Major League Baseball uses 9. Softball and many youth leagues play 7, so their ERA is 7 × ER ÷ IP. Compare pitchers only when they use the same multiplier.

Earned runs versus total runs

A run is unearned when it would not have scored without an error or a passed ball. The official scorer decides. If your scorebook only has total runs, the calculator will still do the arithmetic, but the answer is a run average, not an ERA.

Questions

How do you calculate ERA with partial innings?

Convert the outs to thirds. 5.1 innings is 5 and 1/3 (5.33) and 5.2 is 5 and 2/3 (5.67). Then divide earned runs by that number and multiply by 9. The calculator does the conversion for you.

What is a good ERA?

It depends on the level and the season. ERA is best used to compare pitchers in the same league and year, because hitting strength and park size change what a typical number looks like.

How do you calculate ERA in softball?

Use 7 instead of 9: ERA = 7 × earned runs ÷ innings pitched. Pick the 7-inning option above.

Is my data stored?

No. The math runs in your browser and nothing you type is sent anywhere or put in analytics.

Sources

Formulas and rules checked against these sources on October 28, 2026. Leagues and associations change their rules, so when your league's rulebook differs, follow your league.

Related calculators

Bring the messy coaching rules.

Elite Coach Booking turns those rules into a booking flow clients can use and a coach app you can run from.