OPS Calculator
Calculate OPS (on-base plus slugging) from a batting line, with OBP and SLG shown separately.
Loading calculator…
What this tool does
Calculate OPS (on-base plus slugging) from a batting line, with OBP and SLG shown separately. Total bases counts a single as 1, double as 2, triple as 3 and home run as 4. Sacrifice bunts are excluded from the OBP denominator.
How to use the OPS Calculator
- Enter or select hits.
- Enter or select walks.
- Enter or select hit by pitch.
- Enter or select at bats.
- Enter or select sacrifice flies.
- Enter or select total bases.
- Read the calculated result; change any measurement to compare alternatives.
Formula
OBP = (hits + walks + HBP) ÷ (at bats + walks + HBP + sacrifice flies); SLG = total bases ÷ at bats; OPS = OBP + SLG
- hits
- Hits
- walks
- Walks
- hbp
- Hit by pitch
- ab
- At bats
- sf
- Sacrifice flies
- tb
- Total bases
Total bases counts a single as 1, double as 2, triple as 3 and home run as 4. Sacrifice bunts are excluded from the OBP denominator.
Worked example
For ops calculator, the following measurements illustrate the exact method: Hits: 150; Walks: 60; Hit by pitch: 5; At bats: 500; Sacrifice flies: 4; Total bases: 260.
Inputs
- Hits150
- Walks60
- Hit by pitch5
- At bats500
- Sacrifice flies4
- Total bases260
Result
- OPS0.9
- On-base percentage (OBP)0.38
- Slugging percentage (SLG)0.52
Results explained
- OPS
- OPS from the formula above. Total bases counts a single as 1, double as 2, triple as 3 and home run as 4. Sacrifice bunts are excluded from the OBP denominator.
- On-base percentage (OBP)
- On-base percentage (OBP) from the formula above. Total bases counts a single as 1, double as 2, triple as 3 and home run as 4. Sacrifice bunts are excluded from the OBP denominator.
- Slugging percentage (SLG)
- Slugging percentage (SLG) from the formula above. Total bases counts a single as 1, double as 2, triple as 3 and home run as 4. Sacrifice bunts are excluded from the OBP denominator.
Frequently asked questions
League average sits near .710–.730. An .800 OPS is a solid regular, .900 is All-Star level, and 1.000+ is MVP territory. Below .650 usually means a weak bat for the position.
It is a deliberately simple blend: OBP measures avoiding outs, SLG measures power. Adding them correlates well with run scoring, which is why OPS became the standard quick batting summary despite weighting the two parts equally.
Yes. OBP can reach 1.000 and SLG can reach 4.000 (a home run every at bat), so the theoretical OPS ceiling is 5.000. The best real seasons finish around 1.100–1.200.
OPS+ adjusts OPS for league average and ballpark, with 100 always average. This calculator returns raw OPS; an .850 OPS in a pitcher's park is worth more than the same number at altitude.
Total bases must be at least the number of hits (every hit is worth at least one base) and at most four times at bats. A mismatch usually means doubles or home runs were counted twice.