ERA Calculator

Calculate a pitcher’s earned run average (ERA) and WHIP from earned runs, innings pitched, walks and hits.

🇺🇸 Built for United States

How to use the ERA Calculator

  1. Enter earned runs.
  2. Enter innings pitched (e.g. 54.2 = 54⅔).
  3. Enter walks.
  4. Enter hits allowed.
  5. Choose innings per game.
  6. Your results update instantly: innings (decimal), era, whip.

ERA formula

ERA = 9 × earned runs ÷ innings pitched

Innings are written with .1 and .2 for one and two outs: 54.2 means 54⅔ innings.

Example: 18 earned runs in 54⅔ innings → 9 × 18 ÷ 54.667 = 2.96 ERA.

What is a good ERA?

  • Under 3.00 – excellent.
  • 3.00–4.00 – good.
  • 4.00–5.00 – average in modern MLB.

WHIP (walks + hits per inning) under 1.20 is very good.

Frequently asked questions

Do unearned runs count?

No, runs that score because of errors are excluded from ERA.

How is ERA calculated for 7-inning games?

Use 7 instead of 9 in the formula.

Last updated 16 November 2026. Results are estimates for general information and are not financial, tax, legal or medical advice.

Related guides