On Base Percentage Calculator

Calculate your on-base percentage (OBP) in baseball or softball using hits, at-bats, walks, hit-by-pitches, and sacrifice flies. Get instant results, compare against MLB benchmarks, and see how often you reach base.

Based on standard MLB and NCAA scoring rules. Results are displayed to three decimal places; performance ratings use approximate MLB benchmarks.

Input Mode & Batting Base

Choose At-Bats or Plate Appearances mode, select your league, and enter hits.

Examples:

Singles, doubles, triples, and home runs.

Official AB from box score (already includes hits).

How to Use the On-Base Percentage Calculator

Calculate your exact baseball or softball OBP in three quick steps. Switch between At-Bats (AB) or Plate Appearances (PA) mode depending on your box score.

1

Enter your total Hits (H), including singles, doubles, triples, and home runs.

2

Enter your official At-Bats (AB) from your box score (or switch to PA mode).

3

Add your Walks (BB) and times Hit By Pitch (HBP).

4

Enter your Sacrifice Flies (SF), plus any bunts or interference in PA mode.

5

View your OBP, batting average, and performance rating instantly on Step 3.

What Is On-Base Percentage (OBP)?

Major League Baseball defines on-base percentage (OBP) as a measure of how frequently a batter reaches base through qualifying outcomes. Also known as on-base average (OBA), an OBP of .350 means the batter reaches base in 35% of counted opportunities.

  • Broader Than AVG: Rewards plate discipline by counting walks and HBP.
  • Baseball & Softball: Uses the identical official formula for MLB and NCAA softball.

On-Base Percentage Formula

To calculate on-base percentage, add hits, walks, and hit-by-pitches, then divide by at-bats, walks, hit-by-pitches, and sacrifice flies.

Unlike official at-bats, plate appearances (PA) account for completed batting opportunities, including walks and sacrifices. According to FanGraphs, walk rate (BB%) is calculated by dividing total walks by total plate appearances.

Standard OBP Formula

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

Deriving AB from Plate Appearances

AB = PA − (BB + HBP + SF + SH + CI)

What Counts Towards OBP?

01

Hits (H)

Singles, doubles, triples, and home runs count in the numerator (and are already part of AB).

02

Walks (BB) & Hit By Pitch (HBP)

Both unintentional and intentional walks plus HBP add 1 to both the numerator and denominator.

03

Sacrifice Flies (SF)

Included in the OBP denominator only, so sacrifice flies reduce OBP.

04

Sacrifice Bunts (SH) & Interference (CI)

Excluded completely from both official at-bats and the OBP denominator.

How to Calculate On-Base Percentage

Worked example: 100 H, 300 AB, 30 BB, 5 HBP, and 5 SF:

Reaches (H+BB+HBP)135
Denominator340
OBP (135 ÷ 340).397 (39.7%)

OBP Formula Variables

Standard box score abbreviations used in baseball and softball.

SymbolStatisticDefinition
HHitsSingles, doubles, triples, and home runs
ABAt-batsOfficial batting attempts (already includes H)
BBBase on ballsUnintentional and intentional walks
HBPHit by pitchAwarded first base after being hit by a pitch
SFSacrifice fliesIncluded in OBP denominator
SHSacrifice buntsExcluded from AB and OBP
CICatcher interferenceExcluded from AB and OBP
PAPlate appearancesTotal completed batting turns

What Is a Good On-Base Percentage?

In MLB, an OBP of .340+ is generally good, .370+ is excellent, and .400+ is elite. According to historical batting statistics from Baseball Reference, the MLB league-average OBP was .318 in 2026.

Recent MLB Averages

2026: .318 · 2025: .314 · 2024: .311 · 2023: .319 · 2022: .311

MLB OBP RangeApproximate Rating
.400 and aboveElite
.370 – .399Excellent
.340 – .369Above Average
.310 – .339Average (MLB ~.318)
.290 – .309Below Average
Below .290Poor

OBP vs Batting Average & OPS

A hitter with 25 hits and 25 walks in 100 AB has a .250 AVG but a .400 OBP—reaching base more often than a .300 AVG hitter with 5 walks (.333 OBP).

Softball, Team OBP & Common Mistakes

On-Base Percentage Calculator for Softball: For college softball, refer to the official NCAA scoring rules for statistical definitions and scoring requirements. Select College Softball in the competition menu so MLB benchmarks are not applied to softball stats.

Team OBP & Target Planning: Always compute combined Team OBP from summed raw statistics rather than averaging individual OBPs. Avoid common mistakes like excluding walks/HBP, counting errors as hits, or including sacrifice bunts in the denominator.

OBP includes BB & HBP; AVG does not
Errors & fielder's choices lower OBP
OPS = OBP + Slugging Percentage (SLG)
Team OBP uses summed raw stats

On-Base Percentage FAQ

Essential answers for OBP calculation, softball compatibility, and baseball analytics.

What does OBP mean in baseball?

OBP stands for On-Base Percentage (sometimes called on-base average, or OBA). It measures how often a batter reaches base safely via a hit, walk, or hit-by-pitch per qualifying plate appearance.

How do you calculate on-base percentage?

Add Hits (H), Walks (BB), and Hit By Pitches (HBP), then divide by At-Bats (AB) plus Walks (BB), Hit By Pitches (HBP), and Sacrifice Flies (SF).

What is a good OBP in baseball?

In Major League Baseball, league-average OBP has recently ranged from .311 to .318 (2026). An OBP of .340 or higher is generally above average, .370+ is excellent, and .400 or higher is elite.

Is a .400 OBP good?

Yes. A .400 OBP means a batter reaches base safely in 40% of qualifying plate appearances, which is considered elite in Major League Baseball.

What is the difference between OBP and batting average?

Batting average (AVG) divides hits by official at-bats and ignores walks and hit-by-pitches. OBP includes walks and HBP in both the numerator and denominator and adds sacrifice flies to the denominator.

Do walks count toward OBP?

Yes. Both unintentional walks (BB) and intentional walks (IBB) count positively in both the numerator and denominator of OBP.

Does reaching base on an error count toward OBP?

No. Reaching base on a fielding error, fielder's choice, or dropped third strike (when scored as an official at-bat) adds 1 to the denominator without adding to the numerator, lowering OBP.

How do you calculate OBP in softball?

NCAA and amateur softball use the exact same OBP formula as baseball: (H + BB + HBP) ÷ (AB + BB + HBP + SF). Select College Softball or High School / Youth in the calculator to avoid applying MLB tiers.

Can you calculate OBP from plate appearances?

Yes. Switch to Plate Appearances (PA) mode and enter PA along with walks, HBP, sacrifice flies, sacrifice bunts, and catcher interference so the calculator can derive official at-bats automatically.

Do sacrifice flies and sacrifice bunts count toward OBP?

Sacrifice flies (SF) are included in the OBP denominator and reduce OBP. Sacrifice bunts (SH) are excluded from both official at-bats and the OBP denominator.

Can OBP be lower than batting average?

Yes. If a batter records enough sacrifice flies relative to their walks and hit-by-pitches—or has zero walks and HBP with at least one sacrifice fly—the OBP denominator grows larger than AB, making OBP lower than AVG.

Can a player have a 1.000 OBP?

Yes. If every qualifying plate appearance results in a hit, walk, or hit-by-pitch (for example, 4-for-4 or 0 AB with 5 BB), OBP equals 1.000 (100%).

What is the difference between OBP and OPS?

OBP measures how often a hitter reaches base, whereas SLG (Slugging Percentage) measures total bases per at-bat. OPS (On-Base Plus Slugging) adds them together: OPS = OBP + SLG.

How do you calculate team OBP?

Sum the raw Hits, Walks, HBP, At-Bats, and Sacrifice Flies across all players, then apply the OBP formula to the combined totals. Never take a simple arithmetic average of individual OBP values.

Related Calculators