# What is my WHIP?

Computes a pitcher’s WHIP, the walks plus hits allowed per inning pitched, from walks, hits and innings pitched in box-score notation (6.2 is 6⅔ innings).

- Page: https://www.acalculator.org/sports/whip-calculator
- JSON spec: https://www.acalculator.org/sports/whip-calculator.json
- Version: ae485dd1b695

## Default answer

Example with the default inputs (Walks 40, Hits 150, Innings pitched 180.1): The WHIP is 1.05 (190 walks plus hits in 180⅓ innings).

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| bb | Walks | The walks (bases on balls) the pitcher allowed, intentional walks included. |
| h | Hits | The hits the pitcher allowed. |
| ip | Innings pitched | The innings pitched in box-score notation: .1 is one out and .2 is two outs, so 6.2 means 6⅔ innings. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| whip | WHIP | Walks plus hits per inning pitched: (walks + hits) ÷ innings pitched, written with exactly two decimals (1.00). |
| baserunners | Walks plus hits | The baserunners allowed by walks and hits. |
| innings | Innings pitched | The innings pitched with the partial inning as a fraction, for example 6⅔. |
| outs | Outs recorded | The innings pitched counted in outs: 3 per whole inning plus the partial outs. |
| perNine | Walks plus hits per 9 innings | WHIP × 9: the baserunners allowed by walks and hits in a 9-inning game. |

## Method

WHIP = (walks + hits) ÷ innings pitched, with innings pitched in thirds (outs ÷ 3), so 6.2 is 20 outs, 6⅔ innings.

## Assumptions

- Innings pitched use box-score notation: the digit after the point counts outs (.1 is one out, .2 is two outs). Any other decimal has no answer.
- Only walks and hits count. Hit batters, errors and fielder’s choices are left out, as in the MLB definition.
- With walks or hits but no outs recorded the WHIP is infinite, and with no outs and no baserunners there is none; both give no answer.
- The WHIP is shown to two decimal places, rounded half up from the exact fraction.

## Worked examples

1. bb = 50, h = 150, ip = 200 gives whip = 1.00, baserunners = 200, innings = 200, outs = 600, perNine = 9. Source: MLB.com glossary, Walks and hits per inning pitched (WHIP): WHIP = (walks + hits) ÷ innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched.
2. bb = 40, h = 150, ip = 180.1 gives whip = 1.05, innings = 180⅓, outs = 541, perNine = 9.48. Source: MLB.com glossary, Walks and hits per inning pitched (WHIP): WHIP = (walks + hits) ÷ innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched.
3. bb = 1, h = 2, ip = 6.2 gives whip = 0.45, innings = 6⅔, outs = 20. Source: MLB.com glossary, Walks and hits per inning pitched (WHIP): WHIP = (walks + hits) ÷ innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched.
4. bb = 1, h = 0, ip = 8 gives whip = 0.13, perNine = 1.13. Source: MLB.com glossary, Walks and hits per inning pitched (WHIP): WHIP = (walks + hits) ÷ innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched.
5. bb = 0, h = 0, ip = 0.1 gives whip = 0.00, innings = ⅓, outs = 1. Source: MLB.com glossary, Walks and hits per inning pitched (WHIP): WHIP = (walks + hits) ÷ innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched.

## FAQ

### How do I calculate WHIP?

Add the walks and the hits a pitcher allowed, then divide by the innings pitched. A pitcher who allows 50 walks and 150 hits in 200 innings has a WHIP of 200 ÷ 200 = 1.00.

### What do innings like 6.1 and 6.2 mean?

Box scores count a partial inning in outs: 6.1 means 6 innings and 1 out (6⅓ innings) and 6.2 means 6 innings and 2 outs (6⅔). The calculator reads them that way, so 6.2 innings is 20 outs, not 6.2 innings.

### Do hit batters or errors count in WHIP?

No. WHIP counts only walks and hits. A batter hit by a pitch, a batter who reaches on an error and a fielder’s choice are left out, even though each puts a runner on base.

### What is a good WHIP?

Lower is better, because WHIP counts the baserunners a pitcher allows. Compare a WHIP with the league average for the same league and season: a WHIP well under the average marks a strong season.

### What is the difference between WHIP and ERA?

ERA counts earned runs per nine innings, so it depends on what happens after a runner reaches base. WHIP counts the runners who reach by a walk or a hit per inning, whether they score or not. The ERA calculator is the sibling of this page.

### Can WHIP be infinite?

Yes. A pitcher who allows a walk or a hit before recording an out has 0 innings pitched, so the WHIP divides by zero. The calculator says it is infinite and shows no number.

## Sources

- MLB.com glossary, Walks and hits per inning pitched (WHIP): the sum of a pitcher’s walks and hits divided by the innings pitched. https://www.mlb.com/glossary/standard-stats/walks-and-hits-per-inning-pitched (retrieved 2026-10-19)
- Baseball-Reference, Earned Run Average glossary (innings pitched in box-score notation: .1 and .2 are one and two outs). https://www.baseball-reference.com/glossary/earned-run-average/ (retrieved 2026-10-19)
