Overview

On-base percentage, OBP, is how often a batter reaches base by a hit, a walk or being hit by a pitch. Many analysts value it above batting average because walks count.

Enter hits, walks, hit-by-pitches, at-bats and sacrifice flies.

Worked examples

InputsResult
Hits50Walks (BB)40Hit by Pitch5At-Bats180Sacrifice Flies3OBP: .417
Show 2 more examples
Hits150Walks (BB)60Hit by Pitch4At-Bats550Sacrifice Flies5OBP: .346
Hits2Walks (BB)1Hit by Pitch0At-Bats4Sacrifice Flies0OBP: .600

OBP by At-Bats

With the calculator's starting values, the OBP is .417. The table shows how it changes with the At-Bats.

At-BatsOBP
100.642
125.549
150.480
175.426
180starting value.417
200.383
225.348
250.319

Other inputs: Hits: 50 · Walks: 40 BB · Hit by Pitch: 5 · Sacrifice Flies: 3. Change them in the calculator above for your own numbers.

How it works

Times on base are hits plus walks plus hit-by-pitches. They're divided by at-bats plus walks plus hit-by-pitches plus sacrifice flies. Reaching on an error or a fielder's choice doesn't count.

The formula

OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF)
SFSacrifice flies

Practical tips

  • 50 hits, 40 walks and 5 hit-by-pitches in 180 at-bats with 3 sacrifice flies gives a .417 OBP.
  • Recent MLB league averages are around .315 to .320, and .400 or more is elite.
  • Sacrifice bunts aren't in the formula, though sacrifice flies are.

Frequently asked questions

What is OPS?

On-base percentage plus slugging percentage.

Do intentional walks count?

Yes, as walks.

Why do sacrifice flies count against OBP?

That's how the official formula is defined, since the batter didn't reach base.