OBP Calculator

On-base percentage from hits, walks, hit-by-pitch and sacrifice flies — getting on base is the game.

What is OBP?

On-base percentage is the rate a hitter avoids making an out: (H + BB + HBP) ÷ (AB + BB + HBP + SF). It is the most valuable triple-slash line because an out is baseball's scarcest resource — teams built on OBP outscore teams built on AVG over 162 games.

How the calculator works

Enter the five inputs and the tool returns OBP with league context. Sacrifice bunts are excluded by rule; sacrifice flies count in the denominator.

Common use cases

  • Leadoff hitter evaluation
  • Fantasy OBP leagues (an increasingly common format)
  • Moneyball-style roster arguments

Formula & context

.340+ is good, .380+ is star level, and .400 over a season is the all-time conversation. League average floats near .320.

Frequently Asked Questions

Why are sacrifice flies in the denominator?

Rule quirk — they are scoring plays that cost an out, so the formula charges them as an at-bat equivalent.

What is a good OBP?

.340+ is solid; .380+ is star level; .400+ for a season is historic.

Is OBP better than AVG?

Almost always — a walk and a single have nearly identical run value.

The three components of on-base percentage

OBP counts hits, walks and hit-by-pitch, divided by at-bats plus walks plus hit-by-pitch plus sacrifice flies. It measures how often a batter avoids making an out, which is the most valuable thing a hitter can do.

ComponentCounts in OBPCounts in AVG
Single, double, triple, home runYesYes
WalkYesNo
Hit by pitchYesNo
Sacrifice flyNo (in the denominator)No
Error reaching baseNoNo

Why OBP correlates with runs better than average

Baseball innings are limited by outs, not by time. A hitter who reaches base 35% of the time extends innings and hands more plate appearances to the hitters behind him, which is why OBP tracks team run scoring more closely than batting average.

The practical benchmark: .320 is roughly league average, .350 is a good regular, and .400 is MVP-calibre. A .300 hitter with a .330 OBP is less valuable than a .260 hitter with a .370 OBP, even though the first number looks better on a baseball card.

Privacy & Your Data

SportsStatCalc runs entirely in your browser. The numbers you enter never leave your device — there is no server, no account and no upload. We store only a single local preference flag when you dismiss the cookie notice.

Read OBP with slugging

OBP tells you how often a hitter avoids an out; slugging tells you how far he advances when he does not. A .400 OBP with .350 slugging is a table-setter, and .330 with .550 is a run producer.

Who wrote this

the SportsStatCalc editorial team · Last reviewed 19 November 2026

Written and checked by the SportsStatCalc editorial team. League formulas follow the official definitions, and each page shows the arithmetic behind the result so it can be checked by hand.

How we build and check these numbers

Related calculators