HomeSports › On Base Percentage Calculator

On Base Percentage Calculator

Calculate a hitter's on-base percentage. Enter hits, walks, hit-by-pitch, at-bats, and sacrifice flies to get OBP, the number of plate appearances counted, and how the result rates against league norms.

Example: with Hits (H) 150 · Walks (BB) 60 · Hit by pitch (HBP) 5 · At-bats (AB) 500 · Sacrifice flies (SF) 5 → On-base percentage: .377.

  • Plate appearances counted570 plate appearances
  • RatingExcellent

Computed by the calculator below using its default values. Change any input to see your own numbers.

On-base percentage
Plate appearances counted
Rating

OBP counts every time a batter reaches base by hit, walk or hit-by-pitch, divided by their plate appearances. Unlike batting average, walks help you here.

Why on-base percentage matters

On-base percentage measures how often a batter avoids making an out - how often they reach base by any means that counts. The numerator adds hits, walks, and hit-by-pitches; the denominator is plate appearances that end in one of those or an at-bat or a sacrifice fly. Because it rewards drawing walks, OBP captures value that batting average ignores. A patient hitter who walks 90 times can be far more useful than the average suggests.

Outs are the game's scarcest resource - a team gets only 27 a game - so a hitter who uses fewer of them keeps innings alive. That is why front offices weigh OBP heavily and why it anchors bigger stats like OPS.

Reading the number

OBP is written as a three-digit decimal, like .377, and league average usually sits around .310 to .320. Cross .340 and you are clearly above average; .370 is excellent; .400 and up is elite, the kind of season that draws MVP votes. Note the quirk in the formula: sacrifice flies are in the denominator but sacrifice bunts are not, and reaching on an error counts as an out. Those small rules keep OBP focused on plate discipline and contact quality.

How it’s calculated

OBP = (H + BB + HBP) / (AB + BB + HBP + SF), where H is hits, BB walks, HBP hit-by-pitch, AB at-bats, and SF sacrifice flies. Sacrifice bunts and times reached on error are excluded. The result is shown to three decimals in the standard leading-dot form.

Follows the official MLB definition. Reaching base on an error or a fielder's choice counts as an out for OBP, and sacrifice bunts are left out of the denominator entirely.

On-base percentage benchmarks

OBPRating
.400 and upElite (MVP-level)
.370-.400Excellent
.340-.370Above average
.320-.340About league average
Under .300Below average

League-average OBP typically sits around .310-.320. OBP = (H+BB+HBP)/(AB+BB+HBP+SF).

Common mistakes

  • Leaving walks and hit-by-pitch out of the numerator - they are the whole point of OBP.
  • Using at-bats alone as the denominator; it must include BB, HBP and SF.
  • Adding sacrifice bunts to the denominator; only sacrifice flies belong there.
  • Confusing OBP with batting average, which ignores walks entirely.

Frequently asked questions

What is the on-base percentage formula?

OBP = (hits + walks + hit-by-pitch) / (at-bats + walks + hit-by-pitch + sacrifice flies). It measures how often a batter reaches base per plate appearance.

How is OBP different from batting average?

Batting average is hits divided by at-bats and ignores walks. OBP adds walks and hit-by-pitch to both parts, so a patient hitter who draws walks rates much higher in OBP.

What is a good OBP?

League average is around .320. Above .340 is above average, .370 is excellent, and .400 or higher is elite, MVP-caliber production.

Do sacrifice flies and bunts count?

Sacrifice flies are in the denominator, which lowers OBP slightly. Sacrifice bunts are excluded entirely and do not affect the number.

Does reaching base on an error help my OBP?

No. Reaching on a fielding error or a fielder's choice is scored as an out for OBP purposes, so it does not raise the number.