Toolvito

Works on this device

Baseball Era Calculator

Enter earned runs and innings pitched to get the earned run average. Type the innings the way a box score writes them: 6.2 means six innings and two outs. Set the game length for softball or youth games.

Enter your values

ERA is the number of earned runs a pitcher gives up for each full game pitched.

Your values

Runs that scored without the help of an error or a passed ball, as the official scorer rules them.

Write the outs after the point: 6.1 is six innings and one out, 6.2 is six innings and two outs. You can also type 6 2/3.

Baseball uses 9. Many softball games use 7, and youth leagues often 6 or 7. Set the number your league plays.

This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

How to use this calculator

  1. Enter the earned runs the pitcher gave up.
  2. Enter the innings pitched. Write outs after the point: 6.1 is six innings and one out, 6.2 is six innings and two outs. You can also type 6 2/3.
  3. Set the innings in a regulation game. Baseball uses 9. Set 7 or 6 if your softball or youth league plays shorter games.
  4. Choose Calculate.
  5. Choose Scoreless innings needed to reach a target ERA or Earned runs you can allow and keep a target ERA to plan ahead.
  6. Choose Outing log to keep one row for each game pitched. Tick Save my entries on this device to keep the log in this browser.

The formula

ERA = earned runs × innings in a game ÷ innings pitched. For baseball that is earned runs × 9 ÷ innings pitched.

The digit after the point in an innings figure counts outs, not tenths. So the tool first turns the innings into outs: outs = 3 × whole innings + the outs after the point. Then ERA = earned runs × innings in a game × 3 ÷ outs.

The result is an exact fraction, rounded once to two decimals. A third decimal of 5 or more rounds up.

  • Scoreless innings needed: the smallest number of outs x with earned runs × game innings × 3 ÷ (outs + x) at or under the target.
  • Earned runs you can allow: the largest whole number y with (earned runs + y) × game innings × 3 ÷ (outs so far + outs to come) at or under the target.

Worked example

A pitcher gives up 3 earned runs in 6.2 innings. That is 6 × 3 + 2 = 20 outs. ERA = 3 × 9 × 3 ÷ 20 = 81 ÷ 20 = 4.05.

A calculator that reads 6.2 as a decimal gives 3 × 9 ÷ 6.2 = 4.35, which is wrong. Six innings and two outs are 6.667 innings.

To bring that ERA down to 3.00, the pitcher needs 81 ÷ 3 = 27 outs in all, so 7 more outs with no earned run. That is written 2.1 innings.

In a softball league with 7 innings in a game, the same 3 earned runs in 6.2 innings give 3 × 7 × 3 ÷ 20 = 3.15.

In the outing log, 6.2 + 5.1 + 7 + 0.2 innings are 20 + 16 + 21 + 2 = 59 outs, written 19.2 innings. With 10 earned runs the ERA is 10 × 27 ÷ 59 = 4.58.

Limits you should know

  • The tool does not hold the numbers of any pitcher, team or league, and it does not look anything up. You type the numbers.
  • Whether a run is earned is a decision of the official scorer. The rules of your league decide what counts.
  • A pitcher who gives up runs and gets no out has an infinite ERA. Box scores write it as INF. The tool says so and gives no number.
  • A league can ask for a least number of innings before a pitcher counts for an ERA title. That rule is not built in.
  • WHIP, strikeouts for each nine innings and other pitching rates are not worked out here.
  • The outing log stays in this page on your device and is not sent anywhere. Up to 400 outings fit in one log.

Related tools