Beginner

On-Base Percentage Calculator — OBP, SLG and OPS

On-base percentage (OBP) measures how often a batter reaches base per plate appearance. Combined with slugging percentage (SLG), it forms OPS — one of the most widely used metrics in modern baseball analytics. Enter your season stats to calculate all three.
On-base percentage (OBP)
0.380

Fraction of plate appearances reaching base — league average ~.320; elite is above .400

Batting average (BA)
.300
Slugging percentage (SLG)
.496
OPS (OBP + SLG)
0.876
Plate appearances
573
44%
14%
2%
9%
28%
4%
Singles
Doubles
Triples
Home runs
Walks
Hit by pitch
Breakdown of how the batter reached base (H + BB + HBP in OBP numerator)
Step by step
  1. 1

    OBP numerator (H + BB + HBP)

    150 + 60 + 8 = 218
  2. 2

    OBP denominator (AB + BB + HBP + SF)

    573
    Plate appearances: at-bats + walks + hit-by-pitch + sacrifice flies.
  3. 3

    On-base percentage (OBP)

    218 ÷ 573 = 0.380
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. This is not medical, health or fitness advice; consult a qualified healthcare professional. Read the full disclaimer.
Quick answer

How does this calculator work?

OBP = (H + BB + HBP) / (AB + BB + HBP + SF) — counts all ways of reaching base per plate appearance. SLG = (1B + 2×2B + 3×3B + 4×HR) / AB — weights hits by bases. OPS = OBP + SLG. MLB average OBP is ~.317; .400+ is elite. Enter your season stats to calculate all three using official MLB formulas.

Formula
OBP = (H + BB + HBP) / (AB + BB + HBP + SF) • SLG = Total bases / AB • OPS = OBP + SLG
How this is calculated

On-base percentage counts every way a batter can reach base from a plate appearance: a hit (H), a walk (BB, base on balls), or being hit by a pitch (HBP). The denominator adds at-bats, walks, HBP and sacrifice flies (SF) — sacrifice flies are included because they are official plate appearances that end the batter's turn, unlike sacrifice bunts. At-bats alone form the denominator for batting average (BA = H / AB).

Slugging percentage (SLG) weights hits by the number of bases earned: a single counts 1, a double 2, a triple 3 and a home run 4. It is computed as total bases divided by at-bats, giving a per-AB measure of extra-base power. Singles are inferred as H − 2B − 3B − HR; if extra-base hits exceed total hits the input is invalid.

OPS (on-base plus slugging) simply adds OBP and SLG, giving a single number that blends plate discipline with power. It is not a true percentage but an effective composite: an OPS of .800 is solid, .900 is very good, and 1.000+ is elite by major-league standards. The formula used here follows the official Major League Baseball definition.

Frequently asked questions

Batting average only counts hits in its numerator and at-bats in the denominator, ignoring walks and hit-by-pitches that also get a batter on base. OBP captures all ways of reaching base per plate appearance, making it a more complete measure of a batter's true offensive contribution. Research in sabermetrics (notably in Moneyball) showed that OBP correlates more strongly with run scoring than batting average.

In Major League Baseball (2024 season), the league-average OBP hovers around .317. An OBP above .360 is considered above-average, above .400 is excellent, and only the elite players sustain .400+ over a full season. Historical legends like Babe Ruth (.482 career OBP) and Ted Williams (.482) remain the all-time benchmarks.

The bar shows the breakdown of how the batter's at-bats resulted in hits (split by hit type) plus walks and hit-by-pitches. Each segment is proportional to that event type's count. The H + BB + HBP portion represents the OBP numerator — the section of plate appearances that resulted in reaching base.

Also known as

on base percentage calculator
obp calculator baseball
slugging percentage calculator
ops baseball calculator
batting average obp ops
baseball stats calculator

APA

TG we-Calculate Editorial Team. (2026). On-Base Percentage Calculator — OBP, SLG and OPS [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/on-base-percentage-calculator

Chicago

TG we-Calculate Editorial Team. "On-Base Percentage Calculator — OBP, SLG and OPS." TG we-Calculate. 2026. https://we-calculate.com/calculator/on-base-percentage-calculator.

IEEE

TG we-Calculate Editorial Team, "On-Base Percentage Calculator — OBP, SLG and OPS," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/on-base-percentage-calculator

BibTeX

@misc{wecalculate_on_base_percentage_calculator, title = {On-Base Percentage Calculator — OBP, SLG and OPS}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/on-base-percentage-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?