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.
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.
Enter your total Hits (H), including singles, doubles, triples, and home runs.
Enter your official At-Bats (AB) from your box score (or switch to PA mode).
Add your Walks (BB) and times Hit By Pitch (HBP).
Enter your Sacrifice Flies (SF), plus any bunts or interference in PA mode.
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?
Hits (H)
Singles, doubles, triples, and home runs count in the numerator (and are already part of AB).
Walks (BB) & Hit By Pitch (HBP)
Both unintentional and intentional walks plus HBP add 1 to both the numerator and denominator.
Sacrifice Flies (SF)
Included in the OBP denominator only, so sacrifice flies reduce OBP.
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:
OBP Formula Variables
Standard box score abbreviations used in baseball and softball.
| Symbol | Statistic | Definition |
|---|---|---|
| H | Hits | Singles, doubles, triples, and home runs |
| AB | At-bats | Official batting attempts (already includes H) |
| BB | Base on balls | Unintentional and intentional walks |
| HBP | Hit by pitch | Awarded first base after being hit by a pitch |
| SF | Sacrifice flies | Included in OBP denominator |
| SH | Sacrifice bunts | Excluded from AB and OBP |
| CI | Catcher interference | Excluded from AB and OBP |
| PA | Plate appearances | Total 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 Range | Approximate Rating |
|---|---|
| .400 and above | Elite |
| .370 – .399 | Excellent |
| .340 – .369 | Above Average |
| .310 – .339 | Average (MLB ~.318) |
| .290 – .309 | Below Average |
| Below .290 | Poor |
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).
Related Baseball Tools
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.
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
Baseball Batting Average Calculator
Calculate baseball or softball batting average from hits and official at-bats, with plate-appearance conversion and target planning.
ERA Calculator
Calculate Earned Run Average and analyze advanced baseball sabermetrics.
Swim Pace Calculator
Calculate pace per 25, 50, or 100 meters and yards, predict finish time, and plan even swim splits.
Dunk Calculator
Calculate the vertical jump needed to touch the rim or dunk from your standing reach and current vertical.
Golf Swing Weight Calculator
Calculate golf club swingweight with the 14-inch fulcrum method or estimate a build from component weights.
Golf Club Length Calculator
Get precise recommended club lengths for every club in your bag using your height and wrist-to-floor measurement.