Sports

ERA and WHIP Calculator (Baseball Pitching)

Enter innings pitched, earned runs, hits, walks and strikeouts to get ERA and WHIP.

Your numbers

Your results

Earned run average (ERA)
Earned run average (ERA)
—
WHIP
—
Strikeouts per 9 innings
—
Walks per 9 innings
—
Strikeout-to-walk ratio
—
Innings as a decimal
—

ERA and WHIP Calculator (Baseball Pitching) by TheCalcTools

How the ERA and WHIP Calculator (Baseball Pitching) works

Baseball writes partial innings as .1 and .2 for one and two outs, so 180.1 innings is 180⅓ innings. Enter full innings and extra outs separately.

ERA is earned runs per nine innings (seven in softball and many high-school leagues). WHIP is walks plus hits per inning pitched; lower is better for both.

The formula

ERA = 9 × earned runs ÷ innings; WHIP = (walks + hits) ÷ innings

Worked example

Using the default values shown in the calculator:

Full innings pitched180
Extra outs (0, 1 or 2)1
Earned runs62
Hits allowed158
Walks allowed48
Strikeouts201
Innings per game9 (MLB, college)
  1. 180 innings and 1 out = 180.333 innings.
  2. ERA = 9 × 62 ÷ 180.333 = 3.09. WHIP = (48 + 158) ÷ 180.333 = 1.142.

Result:

Earned run average (ERA)3.09
WHIP1.142
Strikeouts per 9 innings10.03
Walks per 9 innings2.40
Strikeout-to-walk ratio4.19
Innings as a decimal180.333

Frequently asked questions

What is a good ERA?

In MLB an ERA under 3.00 is excellent and around 4.00 is about average, depending on the season.

Why is 180.1 innings not 180.1 in the formula?

Each inning has three outs, so .1 is one third of an inning, 0.333.

Sources and further reading

More in Sports · All calculators

This calculator gives estimates for information only. Check important results independently before you rely on them. See our disclaimer.