Skip to content
FiftyCalc Free calculators for all 50 states

OPS Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter a hitter's line to get on-base percentage, slugging percentage and OPS.

Result

Sample figures

On-base plus slugging (OPS)—

On-base percentage (OBP) —

  • Slugging percentage (SLG)—
  • Total bases—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

OPS Calculator

Singles: enter 0 or more. Prefilled example: 100.

Doubles: enter 0 or more. Prefilled example: 30.

Triples: enter 0 or more. Prefilled example: 2.

Home runs: enter 0 or more. Prefilled example: 25.

Walks (BB): enter 0 or more. Prefilled example: 60.

Hit by pitch (HBP): enter 0 or more. Prefilled example: 5.

At-bats (AB): enter 1 or more. Prefilled example: 550.

Sacrifice flies (SF): enter 0 or more. Prefilled example: 5.

Affiliate link

This is an affiliate link. As an Amazon Associate I earn from qualifying purchases. This does not change the result.

Search Amazon for baseball scorebooks. Visit Amazon

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Singles: enter 0 or more.
  2. Doubles: enter 0 or more.
  3. Triples: enter 0 or more.
  4. Home runs: enter 0 or more.
  5. Walks (BB): enter 0 or more.
  6. Hit by pitch (HBP): enter 0 or more.
  7. At-bats (AB): enter 1 or more.
  8. Sacrifice flies (SF): enter 0 or more.
  9. Read the result: On-base plus slugging (OPS); the panel also shows On-base percentage (OBP), Slugging percentage (SLG) and Total bases.

How this calculator works

OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF); SLG = total bases ÷ AB, with total bases = 1B + 2 × 2B + 3 × 3B + 4 × HR (MLB Official Baseball Rules, rule 9.21). OPS = OBP + SLG, each computed before rounding.

The formula

  1. Ops=round⁡(s1+d2+t3+hr+bb+hbpab+bb+hbp+sf+s1+2×d2+3×t3+4×hrab,3)
Symbols used in the formula
SymbolMeaning
s1Singles
d2Doubles
t3Triples
hrHome runs
bbWalks (BB)
hbpHit by pitch (HBP)
abAt-bats (AB)
sfSacrifice flies (SF)
OpsOn-base plus slugging (OPS)
round(x, d)x rounded to d decimal places, or to a whole number without d.

Worked example

Singles100
Doubles30
Triples2
Home runs25
Walks (BB)60
Hit by pitch (HBP)5
At-bats (AB)550
Sacrifice flies (SF)5
On-base percentage (OBP)0.358
Slugging percentage (SLG)0.484
Total bases266
  1. Ops=round⁡(100+30+2+25+60+5550+60+5+5+100+2×30+3×2+4×25550,3)=0.842

On-base plus slugging (OPS) 0.842

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is a good OPS?

In MLB, .800 or more is generally seen as very good and .900 or more as excellent.

What OPS does the example line give?

100 singles, 30 doubles, 2 triples, 25 home runs, 60 walks and 5 HBP in 550 AB with 5 sacrifice flies give .842 (.358 OBP + .484 SLG).

Related calculators