How this calculator works
The denominator is the full set of plate appearances that OBP recognises: at-bats, walks, hit by pitches and sacrifice flies. Sacrifice bunts are already inside at-bats, and catcher's interference is not included. Because walks and hit by pitches count as successes, OBP is always at least as large as batting average for the same player, and usually noticeably larger. It does not distinguish a single from a home run, so it is paired with slugging percentage.
Formula
OBP = (H + BB + HBP) / (AB + BB + HBP + SF). Rearranged: H = OBP x (AB + BB + HBP + SF) - BB - HBP; BB = (H - OBP x (AB + SF)) / (1 - OBP) - HBP; AB = (H + BB + HBP) / OBP - BB - HBP - SF.
Worked example
A batter has 150 hits, 60 walks, 5 hit by pitches, 500 at-bats and 3 sacrifice flies. The numerator is 215 and the plate appearances are 568, so OBP = 215 / 568 = 0.3785, or 37.85 percent. With 100 hits, 40 walks, 2 hit by pitches, 400 at-bats and 1 sacrifice fly, the result is 142 / 443 = 0.3205.
Advertisement
Frequently asked questions
Why are sacrifice flies in the denominator but not the numerator?
A sacrifice fly is a plate appearance that produces an out while a runner scores. It is excluded from at-bats but still counts as a chance to reach base, so it belongs in the denominator without adding a success.
Is a walk as good as a hit?
For OBP they are identical, because both count as reaching base. A hit can advance other runners further, which is why slugging percentage and run values treat them differently.
What is a good OBP?
League averages move with the run environment. In modern Major League Baseball a .320 OBP is roughly average and .380 is excellent, but compare within the same league and season rather than using a fixed number.