Saved

Press the star next to a tool's name to save it.

All my tools

Earned Run Average Calculator

Use this earned run average calculator to work out a pitcher's ERA from earned runs and innings pitched, with partial innings written the box-score way.

Restored your last values ·

Write innings the box-score way: 180.1 is 180⅓ innings and 180.2 is 180⅔. Only .1 and .2 are allowed after the point.

Everything is worked out in your browser. Nothing you type is sent anywhere.

Earned run average (ERA)

–

Enter earned runs and innings pitched, then press Calculate.

See full result

This earned run average calculator works out a pitcher's ERA: the number of earned runs they allow per nine innings. Enter the earned runs and the innings pitched, written the way box scores show them, and the earned run average calculator gives the ERA to two decimal places, along with the innings, outs and earned runs per inning.

How to use the earned run average calculator

  1. Enter the earned runs allowed.
  2. Enter the innings pitched, such as 180, 180.1 or 180.2.
  3. Press Calculate.

The ERA formula

Wikipedia's earned run average article explains that ERA is found by dividing the earned runs a pitcher allows by the innings pitched and multiplying by nine:

ERA = 9 × earned runs ÷ innings pitched

Multiplying by nine puts the figure on the scale of a full nine-inning game, so an ERA of 3.00 means the pitcher gives up three earned runs per nine innings on average.

Partial innings

MLB.com's glossary explains that because there are three outs in an inning, each out a pitcher records counts as one-third of an inning pitched. Box scores write those thirds after the point: 6.1 means 6⅓ innings and 6.2 means 6⅔ innings, not 6.1 or 6.2 of an inning. For example, Wikipedia lists Dutch Leonard's 1914 season as 224.2 innings, which is 224⅔. The calculator reads the number after the point as outs, so only .1 and .2 are allowed. A double play is worth two-thirds of an inning, and a pitcher gets no credit when a batter reaches on an error, because no out was recorded.

Earned and unearned runs

According to Wikipedia, a pitcher is charged with an earned run for each run scored by a batter who reached base while batting against that pitcher. Runs that score because of defensive errors or passed balls are unearned, and so are runs from the runner placed on second base at the start of extra innings. Unearned runs are left out of ERA. A related measure, runs allowed per nine innings (RA9), counts all runs.

Worked example

Say a pitcher allows 70 earned runs in 180.1 innings. That's 180⅓ innings, so ERA = 9 × 70 ÷ 180.333 = 3.49. In a single game, a starter who gives up 3 earned runs in 6.1 innings has a game ERA of 9 × 3 ÷ 6.333 = 4.26.

Wikipedia lists Dutch Leonard's 0.96 ERA in 1914, over 224⅔ innings, as the single-season record. Bob Gibson's 1.12 in 1968 is the lowest for a season of 300 or more innings.

What is a good ERA?

What counts as a good ERA has changed over baseball's history, as scoring has risen and fallen. Wikipedia notes that in the dead-ball era of the 1900s and 1910s, an ERA below 2.00 was good; by the late 1920s and 1930s, a good ERA was below 4.00; and starting with the 2019 season, an ERA under 4.00 is again considered good. The calculator marks results under 4.00. The lowest career ERA belongs to Ed Walsh, at 1.82.

Reading the results

The big number is the ERA to two decimal places, the way it's shown on stats pages. The line below says whether it's under 4.00. The table shows the innings as a mixed number, the outs recorded and the earned runs per inning.

ERA in short outings

Because ERA is scaled to nine innings, short appearances can give extreme numbers. A reliever who gives up 1 earned run while getting just one out (0.1 innings) has an ERA of 9 × 1 ÷ ⅓ = 27.00 for that outing. One who pitches a scoreless inning has an ERA of 0.00. That's why ERA is most meaningful over a full season.

Runs allowed per nine

Wikipedia also describes runs allowed per nine innings (RA9), which uses the same formula but counts every run, earned or not: 9 × runs allowed ÷ innings pitched. Comparing RA9 with ERA shows how many runs scored because of errors and other unearned plays behind a pitcher. If a pitcher allowed 80 runs in total in the 180⅓ innings from the example, 70 of them earned, their RA9 would be 3.99 against an ERA of 3.49.

Outs and innings

If you know how many outs a pitcher recorded instead of innings, divide by three: 541 outs is 180⅓ innings, which a box score writes as 180.1. The calculator shows the outs it used, so you can check you entered the innings correctly.

Tracking a pitcher's season

To follow a pitcher through a season, keep a running total of earned runs and innings pitched from each box score, and enter the totals whenever you want an update. Add the innings by outs: two starts of 6.1 and 5.2 innings are 19 outs and 17 outs, 36 outs in all, which is exactly 12 innings. Adding the box-score numbers directly would give 11.3, which is wrong.

Comparing pitchers

ERA is most useful when you compare pitchers from the same season and league, since run scoring changes from year to year. A pitcher with more innings has a more reliable ERA than one with only a handful, even if their numbers look the same.

Common mistakes

  • Typing 6.33 for 6⅓ innings. Use 6.1, as box scores do.
  • Counting unearned runs. Leave out runs that scored on errors or passed balls.
  • Comparing tiny samples. One short outing can give a huge ERA.
  • Comparing across eras. Scoring levels change, so compare with the same season.

Tips

  • Use season totals to compare pitchers.
  • Copy innings exactly as the box score shows them.
  • Look at ERA alongside other stats for a fuller picture.

What next

Use this often? Add Earned Run A to your Home screen.

Frequently asked questions

How does an earned run average calculator work?

It multiplies earned runs by nine and divides by innings pitched, reading .1 and .2 as one and two outs.

How do you calculate ERA?

ERA = 9 × earned runs ÷ innings pitched. 70 earned runs in 180⅓ innings is a 3.49 ERA.

What does 6.1 innings pitched mean?

6⅓ innings: each out is one-third of an inning, and box scores write the outs after the point.

What is a good ERA?

Wikipedia notes that, starting with the 2019 season, an ERA under 4.00 is again considered good.

Do unearned runs count in ERA?

No. Runs scored because of errors or passed balls are unearned and left out.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Fun & Lifestyle Tools