By Zencalcy Editorial TeamLast reviewed About us
On-base percentage measures how often a batter reaches base per plate appearance, counting hits, walks, and hit-by-pitch. It uses a denominator that adds those events to at-bats, walks, hit-by-pitch, and sacrifice flies.
Measure how often a batter reaches base.
OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF)
Unlike batting average, OBP treats a walk as a positive result. The denominator counts every plate appearance in the formula, including sacrifice flies, so a sac fly lowers OBP even though it is not an at-bat.
| Symbol | Meaning |
|---|---|
| H | Hits, counted in both the numerator and the at-bat part of the denominator. |
| BB | Walks, which count as a time on base and add to the denominator. |
| HBP | Hit-by-pitch, which also counts as a time on base. |
| AB | At-bats, the plate appearances that do not include walks, hit-by-pitch, or sacrifice flies. |
| SF | Sacrifice flies, which add to the denominator but are not at-bats. |
| OBP | Times reached base divided by the full set of plate appearances in the formula. |
With 30 hits, 12 walks, 3 hit-by-pitch, 100 at-bats, and 2 sacrifice flies, OBP = (30 + 12 + 3) ÷ (100 + 12 + 3 + 2) = 45 ÷ 117 = 0.385.
On base percentage measures how often a batter reaches base. The numerator adds hits, walks, and hit by pitch. The denominator adds at bats, walks, hit by pitch, and sacrifice flies. The result is the share of qualifying plate appearances that end with the batter safely on base, written to three decimal places like batting average.
OBP values a walk the same as a single, which is a real improvement over batting average because an out is the scarce resource in an inning. A walk advances runners and avoids an out, and OBP credits it fully, whereas batting average ignores it.
The stat still treats every way of reaching base as equal, so a walk and a triple contribute the same amount. It leaves out the value of advancing a runner on a fly ball or a ground out, and it does not distinguish an empty base walk from one that loads the bases.
Its standard form also omits a few rare events such as catcher interference. OBP is therefore an excellent measure of how often a hitter avoids making an out, but it is not a complete measure of run production, because it says nothing about how far the hitter or the runners advanced.
Continue with the OPS Calculator, Runs Created Calculator, or the Slugging Percentage Calculator — or browse more baseball tools and all sports calculators.
A sacrifice fly is a plate appearance that does not produce a time on base, and the formula includes it in the denominator. It can still produce a run, which is why OBP alone does not capture everything.
Every result is computed locally in your browser from the formulas shown above. Nothing you type is uploaded, logged, or stored, and no account is required.
Reference material used to build and check this calculator:
Last reviewed: September 2026. See how we build and check every tool on the about page.
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Free calculator · No signup
Content updated: September 2026