ERA & WHIP Calculator
A pitcher's earned run average and walks-plus-hits per inning. Enter the season numbers to see both stats at once.
Formula: ERA = earned runs × 9 ÷ innings pitched. WHIP = (hits + walks) ÷ innings pitched.
How to use the ERA & WHIP calculator
- Enter the earned runs allowed and the innings pitched.
- Enter the hits and walks allowed.
- Press “Calculate ERA & WHIP” to see both stats.
ERA & WHIP calculation example
A pitcher allows 30 earned runs in 120 innings: ERA = 30 × 9 ÷ 120 = 2.25. With 95 hits and 35 walks, WHIP = (95 + 35) ÷ 120 ≈ 1.08.
Tips for using the ERA & WHIP calculator
- Enter partial innings as thirds: 6⅔ innings is 6.667, often written 6.2 in box scores.
- An ERA under 3 and a WHIP under 1.1 are excellent in Major League Baseball.
ERA & WHIP calculator: common questions
- What is ERA?
- Earned run average: the earned runs a pitcher allows per 9 innings. ERA = earned runs × 9 ÷ innings pitched. Unearned runs from errors do not count.
- What is WHIP?
- Walks plus hits per inning pitched: (hits + walks) ÷ innings. It measures how many base runners a pitcher allows — under 1.10 is excellent, around 1.30 is average.
- What is a good ERA?
- Under 3.00 is elite, 3.00–4.00 is solid, and above 4.50 is below average in the modern game. League averages change from season to season.
- Is my data stored?
- No. The calculation runs in your browser.
- Do unearned runs count in ERA?
- No. Runs that score because of fielding errors are excluded.