Enter details
💾Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy
Fill in the details and click Calculate to see your results.
📘 About the ERA and WHIP Calculator
Earned run average is earned runs divided by innings pitched, multiplied by nine — runs allowed over a notional complete game. It excludes runs that scored because of a fielding error, which is the "earned" part, and it has been the headline pitching number for more than a century.
WHIP is simpler and in some ways more honest: walks plus hits divided by innings pitched, the number of baserunners a pitcher gives up per inning. Under 1.00 is elite, 1.20 is very good and 1.40 is high. It does not care whether those runners scored, which is exactly why it is less noisy than ERA.
Both depend on the fielders behind the pitcher, which is why modern analysis leans on strikeouts and walks per nine innings — the two outcomes a pitcher controls almost entirely. A strikeout-to-walk ratio above 4 is excellent at any level.
🧮 Formula
✏️ Worked examples
A full season: 180.1 innings, 62 earned runs
You get| ERA | 3.09 — good |
| WHIP | 1.137 — walks and hits allowed per inning |
| Innings pitched | 180 and 1/3 — 180.333 in decimals |
| Strikeouts per 9 | 10.48 · walks per 9 2.25 |
| Strikeout to walk ratio | 4.67 |
| Baserunners allowed | 205 in 180.33 innings |
3.09 — good, with 1.137 — walks and hits allowed per inning.
A reliever over 65.2 innings
You get| ERA | 2.47 — excellent |
| WHIP | 1.066 — walks and hits allowed per inning |
| Innings pitched | 65 and 2/3 — 65.667 in decimals |
| Strikeouts per 9 | 11.51 · walks per 9 3.02 |
| Strikeout to walk ratio | 3.82 |
| Baserunners allowed | 70 in 65.67 innings |
2.47 — excellent and 1.066 — walks and hits allowed per inning.
A rough outing: 4.1 innings
You get| ERA | 14.54 — struggling |
| WHIP | 3.462 — walks and hits allowed per inning |
| Innings pitched | 4 and 1/3 — 4.333 in decimals |
| Strikeouts per 9 | 6.23 · walks per 9 8.31 |
| Strikeout to walk ratio | 0.75 |
| Baserunners allowed | 15 in 4.33 innings |
14.54 — struggling.
🧭 How to use this calculator
What you enter
- Innings pitched — whole innings
- Extra outs (0, 1 or 2)A box score writing 180.1 means 180 whole innings and 1 extra out.
- Earned runs allowed
- Hits allowed
- Walks allowed
- Strikeouts
What you get
- ERA
- WHIP
- Innings pitched
- Strikeouts per 9
- Strikeout to walk ratio
- Baserunners allowed
❓ Frequently asked questions
How is ERA calculated?
Earned runs divided by innings pitched, times nine. Runs that scored because of an error are unearned and do not count.
What is a good ERA?
Under 3.00 is excellent, 3.00-4.00 good, around 4.00-4.50 about average in modern baseball, and above 5.00 is struggling.
What does WHIP mean?
Walks plus hits per inning pitched — how many baserunners a pitcher allows each inning. Under 1.00 is elite and 1.40 is high.
Why do box scores write 180.1 innings?
Because innings are counted in thirds: .1 means one extra out and .2 means two. It is not a decimal — 180.1 innings is 180⅓, which is 180.333 in actual decimals.
Is ERA or WHIP the better measure?
WHIP is steadier because it ignores whether runners scored, which depends heavily on fielders and sequencing. Strikeout and walk rates are steadier still.
What is a good K/9?
Above 9 strikeouts per nine innings is a strikeout pitcher and above 11 is elite. Below 7 means relying on contact and the defence behind you.