Part of the Sports & Games suite · 39 calculators

OPS Calculator

On-base percentage, slugging percentage and their sum, OPS, from a batter’s line — hits by type, walks, hit-by-pitch, at-bats and sacrifice flies.

On-base percentage is how often a plate appearance ends on base: (H + BB + HBP) ÷ (AB + BB + HBP + SF).

Results update as you type
Results
OPS
0.899
On-base percentage
Slugging percentage
Batting average
Total bases
Reads as
Reviewed September 2026. Sporting arithmetic: fixed by the rules of the game, not by where it is played. In the US "batting average" means hits per at-bat — the baseball definition.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About ops

How the ops calculator works

On-base percentage is how often a plate appearance ends on base: (H + BB + HBP) ÷ (AB + BB + HBP + SF). Slugging is total bases per at-bat, counting a single as one and a home run as four. OPS adds the two — a rough but useful measure of overall hitting, where .700 is average, .800 good, .900 excellent and 1.000 elite.

Formula: OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF); SLG = (1B + 2×2B + 3×3B + 4×HR) ÷ AB; OPS = OBP + SLG

Worked examples

InputsOPSNote
150 hits, 30 2B, 3 3B, 25 HR, 60 BB in 500 AB0.899OPS .899
Contact hitter: 180 hits, 25 2B, 5 HR, 30 BB0.78OPS .782
Slugger: 130 hits, 40 HR, 90 BB0.885OPS .909

Frequently asked questions

Why do walks count in OBP but not in slugging?

OBP measures avoiding outs — a walk does that. Slugging measures power per at-bat, and walks are not at-bats; that split is exactly why the two are added rather than one used alone.

Why do sacrifice flies count against OBP?

A sacrifice fly is a plate appearance that made an out, so it is in the denominator; sacrifice bunts are excluded as deliberate outs, one of OBP’s quirks.

What is a good OPS?

League average sits around .720–.750. Over .800 is a good regular, over .900 an All-Star season, and a full season over 1.000 is rare — a handful of hitters a year.

Is OPS the best measure?

It is easy and close: adding two rates with different denominators is crude, and OBP is worth more than slugging (about 1.8 times, by run value). wOBA and OPS+ refine it; OPS remains the everyday shorthand.

Where these figures come from

Last checked: September 2026. Formulas follow the governing bodies where one publishes them — the World Handicap System for golf, the ICC playing conditions for cricket run rates.