What is my WHIP?
Enter the walks, the hits and the innings pitched as a box score writes them. The WHIP calculator divides the baserunners by the innings; the ERA calculator does the same for earned runs.
- WHIP
- 1.05
The WHIP is 1.05 (190 walks plus hits in 180⅓ innings).
- Walks plus hits
- 190
- Innings pitched
- 180⅓
- Outs recorded
- 541
- Walks plus hits per 9 innings
- 9.48
WHIP: 1.05. The WHIP is 1.05 (190 walks plus hits in 180⅓ innings).
How to calculate
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).
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).
Method: WHIP = (walks + hits) ÷ innings pitched, with innings pitched in thirds (outs ÷ 3), so 6.2 is 20 outs, 6⅔ innings.
- 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
Each example is checked against the calculator on every build.
- Walks 50, Hits 150, Innings pitched 200 gives WHIP 1.00, Walks plus hits 200, Innings pitched 200, Outs recorded 600, Walks plus hits per 9 innings 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
- Walks 40, Hits 150, Innings pitched 180.1 gives WHIP 1.05, Innings pitched 180⅓, Outs recorded 541, Walks plus hits per 9 innings 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
- Walks 1, Hits 2, Innings pitched 6.2 gives WHIP 0.45, Innings pitched 6⅔, Outs recorded 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
- Walks 1, Hits 0, Innings pitched 8 gives WHIP 0.13, Walks plus hits per 9 innings 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
- Walks 0, Hits 0, Innings pitched 0.1 gives WHIP 0.00, Innings pitched ⅓, Outs recorded 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
How it works
WHIP is the number of walks and hits a pitcher allows per inning pitched:
WHIP = (walks + hits) ÷ innings pitched
Innings pitched in box-score notation
Box scores write a partial inning by its outs. The digit after the point is the number of outs, not a decimal fraction:
- 6 or 6.0 is 6 innings (18 outs)
- 6.1 is 6⅓ innings (19 outs)
- 6.2 is 6⅔ innings (20 outs)
The calculator counts the innings in outs: outs = 3 × whole innings + the digit after the point, and innings pitched = outs ÷ 3. So
WHIP = (walks + hits) × 3 ÷ outs
Rules
- Walks and hits are whole numbers from 0 to 100,000. Innings pitched are from 0 to 100,000.
- The part after the point must be .0, .1 or .2 (trailing zeros are fine, so 6.10 is 6.1). Any other value, such as 6.3 or 6.25, gives no answer: "Write innings pitched with .1 for one out and .2 for two outs (6.2 is 6⅔ innings); a third out makes a whole inning."
- With 0 innings pitched and no walks or hits there is no WHIP: "Enter the innings pitched: with no outs recorded there is no WHIP."
- With 0 innings pitched and walks plus hits above 0 the WHIP is infinite: "The WHIP is infinite: walks or hits were allowed before the pitcher recorded an out."
What the calculator shows
- WHIP: the exact fraction above, rounded half up to hundredths and always written with exactly two decimal places: 1.00, 0.45, 0.13. It is plain text: digits, a point, two digits, with no thousands separators.
- Walks plus hits: walks + hits.
- Innings pitched: the whole innings followed by ⅓ or ⅔ for a partial inning (6⅔; ⅓ alone for one out; 200 for exactly 200 innings).
- Outs recorded: 3 × whole innings + partial outs.
- Walks plus hits per 9 innings: (walks + hits) × 27 ÷ outs, rounded half up to at most two decimal places.
Worked examples by hand
50 walks and 150 hits in 200 innings: WHIP = (50 + 150) ÷ 200 = 1.00. Per 9 innings: 9.
40 walks and 150 hits in 180.1 innings: 180.1 is 180⅓ innings, 541 outs. WHIP = 190 × 3 ÷ 541 = 570 ÷ 541 = 1.0536, shown as 1.05. Per 9 innings: 190 × 27 ÷ 541 = 9.48.
1 walk and 2 hits in 6.2 innings: 6.2 is 6⅔ innings, 20 outs. WHIP = 3 × 3 ÷ 20 = 9 ÷ 20 = 0.45.
1 walk in 8 innings: WHIP = 1 × 3 ÷ 24 = 0.125, which rounds half up to 0.13. Per 9 innings: 1.125, shown as 1.13.
No baserunners in 0.1 innings: 1 out, ⅓ of an inning. WHIP = 0 ÷ ⅓ = 0, written 0.00.
Other questions people ask
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.