About this tool
The ERA, WHIP & K/9 Calculator turns a pitcher's box-score totals into the standard rate statistics. Enter innings pitched in baseball's thirds notation — where 180.1 means 180 innings and 1 out, and 180.2 means 180 innings and 2 outs — along with earned runs, hits, walks, strikeouts and home runs allowed. The tool converts the innings correctly before computing every rate.
Innings pitched are not a normal decimal: the fraction after the dot is a count of outs (0, 1, or 2), so IP is converted as outs = whole·3 + fraction, then IP = outs/3. From there ERA = 9·ER/IP, WHIP = (BB + H)/IP, and the per-nine rates K/9 = 9·K/IP, BB/9, H/9 and HR/9 follow, plus the strikeout-to-walk ratio K/BB. ERA estimates earned runs allowed per nine innings; WHIP measures base runners allowed per inning.
All calculations run locally in your browser, so your data never leaves the page. Entering an IP fraction greater than .2 is flagged as invalid because only .0, .1 and .2 are legal thirds. When a pitcher has zero walks the K/BB ratio is shown as infinite (∞) rather than a broken value, and the converted decimal innings are displayed so you can confirm the thirds were read correctly.