Home / All calculators / Baseball OPS Calculator

Mathematics, Numbers & Statistics · Free online calculator

Baseball OPS Calculator

Calculate on-base percentage (OBP), slugging percentage (SLG) and on-base plus slugging (OPS) from batting counts.

Calculator

Use whole-number batting counts from the same player and period.

Enter values and calculate.

Formula

OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF). SLG = total bases ÷ AB, where total bases = 1B + 2×2B + 3×3B + 4×HR. OPS = OBP + SLG. H is the sum of singles, doubles, triples and home runs.

The calculation runs in your browser. Check units and assumptions before relying on a result.

Worked example

With 500 AB, 80 singles, 30 doubles, 5 triples, 25 home runs, 70 walks, 5 hit-by-pitches and 5 sacrifice flies: H=140, total bases=255, OBP=215/580≈.37069, SLG=255/500=.51000, OPS≈.88069.

Assumptions and limitations

References

These sources support the stated formula, convention or context. Read the limitations above before using the estimate.

  1. MLB Glossary — On-Base Plus Slugging
  2. Baseball-Reference — On-Base Plus Slugging
  3. FanGraphs Library — OPS

Related calculators

Earned Run Average Calculator · Frequency Distribution Calculator · All calculators

Friendly Calculator provides general educational tools. Check the method and assumptions before relying on any result.