Everyday & Time
OPS Calculator (On-Base Plus Slugging, OBP and SLG)
On-base plus slugging, or OPS, is one of the most widely quoted measures of a baseball or softball hitter's offensive value. It simply adds two other statistics. On-base percentage measures how often a batter reaches base by a hit, a walk or being hit by a pitch, divided by plate appearances that count for the statistic: at-bats, walks, hit-by-pitches and sacrifice flies. Slugging percentage measures power: it divides total bases by at-bats, where a single counts as one base, a double as two, a triple as three and a home run as four. Because OBP rewards getting on base and SLG rewards extra-base hits, their sum captures both skills in one number, and it correlates well with run scoring at the team level. Batting average, hits divided by at-bats, remains familiar but ignores walks and treats every hit the same. Isolated power, slugging minus batting average, shows how much of a hitter's slugging comes from extra-base hits. This calculator follows the official definitions used by Major League Baseball and most leagues: sacrifice flies count in the OBP denominator, while sacrifice bunts and catcher's interference are left out. Enter at-bats, hits, doubles, triples, home runs, walks, hit-by-pitches and sacrifice flies, and it returns all five rate statistics, the total bases and the plate appearances used. It works for a single game, a season or a whole career, for baseball and softball alike.
How to use this calculator
- Enter the hitter's at-bats and total hits.
- Enter doubles, triples and home runs; singles are worked out for you.
- Enter walks, hit-by-pitches and sacrifice flies.
- Read OPS, batting average, OBP and SLG, shown to three decimals.
- Use isolated power to see how much of the slugging comes from extra-base hits.
Reading OPS
OPS levels shift with the run environment, but in recent Major League seasons an OPS of about .700 to .750 has been close to average, .800 is very good and .900 or more is star level. Values above 1.000 are rare over a full season.
Because OBP is somewhat more valuable for scoring runs than SLG, analysts sometimes weight it more heavily, and adjusted statistics such as OPS+ compare a player with the league and allow for ballpark effects.
Why walks matter
Batting average ignores walks, yet a walk puts a runner on base just like a single in most situations. Two hitters with the same average can have very different on-base percentages and therefore very different value.
OBP also counts being hit by a pitch, while a sacrifice fly counts against it because the batter did not reach base. Reached on error and fielder's choice count as outs for these statistics.
Formula & method
AVG = H ÷ ABOBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF)SLG = total bases ÷ AB, with TB = 1B + 2×2B + 3×3B + 4×HROPS = OBP + SLG; ISO = SLG − AVGAVG = H/AB, OBP = (H + BB + HBP)/(AB + BB + HBP + SF), SLG = (1B + 2·2B + 3·3B + 4·HR)/AB, OPS = OBP + SLG and ISO = SLG − AVG.
Worked example
A season of 500 AB, 150 H (30 2B, 5 3B, 20 HR), 60 BB, 5 HBP, 5 SF
- OBP = (150 + 60 + 5) ÷ (500 + 60 + 5 + 5) = 215 ÷ 570 = .377
- Total bases = 95 + 60 + 15 + 80 = 250, so SLG = 250 ÷ 500 = .500
- OPS = .377 + .500 = .877
Answer: This hitter has a .300 average, .377 OBP, .500 SLG and an .877 OPS, a very good season.
Frequently asked questions
Why do sacrifice flies count in OBP but not in AVG?
The official rules exclude sacrifice flies from at-bats, so they do not lower batting average or slugging. For on-base percentage, however, they are included in the denominator because the batter did not reach base.
Are sacrifice bunts included?
No. Sacrifice bunts are left out of at-bats and out of the OBP denominator, so they do not affect any of the rate statistics calculated here.
Why is OPS shown without a leading zero?
Baseball convention writes rate statistics such as .300 or .877 without the zero. The calculator shows them as decimals, which represent exactly the same values.
What is a good isolated power?
An ISO around .140 to .160 is typical for Major League hitters, while values above .200 indicate strong power. Contact hitters with few extra-base hits may have an ISO below .100.
Does OPS work for softball?
Yes. The formulas are the same for fastpitch and slowpitch softball, though typical values differ by level and format, so compare players within the same league.
Is OPS the best offensive statistic?
It is simple and useful, but more advanced measures such as weighted on-base average (wOBA) and wRC+ give each event a more accurate run value. OPS remains a good, easy-to-understand summary.