Baseball & softball

OPS calculator

Enter a full batting line to get OPS with its two halves, on-base percentage and slugging percentage, plus batting average, isolated power and the MLB average.

Shareable link Printable report Free, no sign-up

Results

An OPS of .841, 122 points above the 2026 MLB average of .719: at the "Above average" mark or better on the FanGraphs scale.
OPS.841OBP .357 + SLG .483
On-base percentage
.357
218 times on base
Slugging percentage
.483
261 total bases
Batting average
.281
Slash line
.281 / .357 / .483
AVG / OBP / SLG
Isolated power (ISO)
.202
SLG − AVG
OPS as MLB.com shows it
.840
rounded OBP + rounded SLG

Next to some famous seasons

  1. 1Barry Bonds, 2004.362/.609/.8121.422
  2. 2Barry Bonds, 2001.328/.515/.8631.379
  3. 3Ted Williams, 1941.406/.551/.7351.286
  4. 4Aaron Judge, 2022.311/.425/.6861.111
  5. 5Shohei Ohtani, 2024.310/.390/.6461.036
  6. 6Luis Arraez, 2023.354/.393/.469.861
  7. 7You.281/.357/.483.841
  8. 8MLB average, 2026.244/.318/.400.719

Batting lines from the MLB Stats API (read 2026-11-24); OPS computed here from the unrounded OBP and SLG.

FanGraphs rule of thumb

RatingOPSOBPISO
Excellent1.000.390.250
Great.900.370.200
Above average.800.340.170
Average.710.320.140
Below average.670.310.120
Poor.600.300.100
Awful.570.290.080

From the FanGraphs Library pages on OPS, OBP and ISO (read 2026-11-24). The highlighted row is the best OPS mark your line reaches. League averages move every season, so compare a hitter with his own year.

  • OPS adds two rates with different denominators (plate appearances for OBP, at-bats for SLG). It works as a quick summary, and it undervalues on-base percentage a little compared with how runs are scored.
  • MLB.com adds the rounded OBP and SLG, so its OPS can differ from the exact sum by .001.

What OPS is

OPS stands for on-base plus slugging. It adds the two things a hitter is paid to do: reach base and hit for power.

OPS = OBP + SLG
OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF)
SLG = (H + 2B + 2 × 3B + 3 × HR) ÷ AB

H is hits, 2B doubles, 3B triples, HR home runs, BB walks, HBP hit-by-pitches, AB at-bats and SF sacrifice flies. The top of the SLG fraction is total bases: every hit counts one base, and doubles, triples and home runs add one, two and three more.

Enter the batting line as it is printed. The calculator returns OPS, both halves, the batting average, the slash line and isolated power in one step.

Worked example

The default line: 540 at-bats, 152 hits (31 doubles, 3 triples, 24 home runs), 61 walks, 5 hit-by-pitches, 4 sacrifice flies.

  • Times on base: 152 + 61 + 5 = 218. Chances: 540 + 61 + 5 + 4 = 610. OBP = 218 ÷ 610 = .3574
  • Total bases: 152 + 31 + 2 × 3 + 3 × 24 = 261. SLG = 261 ÷ 540 = .4833
  • OPS = .3574 + .4833 = .8407, written .841
  • Slash line: .281/.357/.483

That is 122 points above the 2026 MLB average of .719 and above FanGraphs’ “above average” mark of .800.

Notice the tile OPS as MLB.com shows it: .840. MLB.com rounds each half first (.357 + .483) and then adds. Most other sites add first and round once, which gives .841. Neither is wrong; they are two rounding conventions, and this calculator shows both.

Checking against published lines

Three presets load real seasons from MLB’s statistics.

Season Slash line OPS (exact sum) OPS on MLB.com
Shohei Ohtani, 2024 .310/.390/.646 1.036 1.036
Aaron Judge, 2022 .311/.425/.686 1.111 1.111
Barry Bonds, 2004 .362/.609/.812 1.422 1.421

The calculator reproduces every average, OBP and SLG in the table to the third decimal, and both versions of the OPS.

Reading the result

FanGraphs publishes a rule of thumb:

Rating OPS
Excellent 1.000
Great .900
Above average .800
Average .710
Below average .670
Poor .600
Awful .570

Three comparison bars set your OPS, OBP and SLG against the MLB averages for 2026 (.719, .318 and .400). Looking at the two halves tells you what kind of hitter produced the number. An .800 OPS can be .380 + .420, a leadoff type who walks and hits singles, or .300 + .500, a free-swinging slugger.

The league average moves. It depends on the ball, the strike zone, the rules and the parks, and FanGraphs points out that it changes year by year. A .750 OPS meant more in a low-scoring season than in a high-scoring one, so compare a hitter with the league he played in. OPS+ does that adjustment and sets the league at 100.

Why adding the two works, and where it bends

Strictly, OBP and SLG should not be added: they have different denominators (plate appearances and at-bats) and different scales (OBP tops out at 1.000, SLG at 4.000). The sum survives because it tracks run scoring well. Teams with a higher OPS score more runs with few exceptions.

The known weakness is the weighting. A point of OBP is worth more runs than a point of SLG, because not making an out keeps the inning alive for everyone behind you. Plain OPS treats them as equal, so it slightly undervalues the patient hitter and slightly overvalues the slugger. FanGraphs recommends weighted on-base average (wOBA) when you have the choice.

For a quick read from a box score or a youth-league scorebook, OPS is hard to beat: two divisions and an addition, and it is far closer to a hitter’s value than batting average.

Small samples and single games

OPS works on any line, but one game produces wild numbers. A hitter who goes 2 for 4 with a home run and a walk has an OBP of .600 and a SLG of 1.250, an OPS of 1.850. A week is not much better. Hitters’ OPS figures spread widely in April and pull toward the middle as at-bats pile up.

Using OPS for your own team

Keep these columns in the scorebook: at-bats, hits, doubles, triples, home runs, walks, hit-by-pitches and sacrifice flies. At the end of the month, enter each player’s totals. Then enter the totals of the whole team or league to get your own average, and compare each hitter with that number and not with the MLB figure. In youth baseball and recreational softball, league OPS is often far above .719.

For more detail on each half, see the on-base percentage calculator and the slugging percentage calculator.

Frequently asked questions

How do you calculate OPS?
Add on-base percentage and slugging percentage. OBP is (hits + walks + hit-by-pitches) ÷ (at-bats + walks + hit-by-pitches + sacrifice flies). SLG is total bases ÷ at-bats. A hitter with a .357 OBP and a .483 SLG has an OPS of .841.
What is a good OPS?
The MLB average was .719 in 2026. FanGraphs' rule of thumb calls .710 average, .800 above average, .900 great and 1.000 excellent.
What does a 1.000 OPS mean?
That on-base percentage and slugging percentage add up to one, for example .400 and .600. Only a handful of hitters manage it over a full season, and it usually puts a player in the conversation for Most Valuable Player.
Why does MLB.com show a slightly different OPS from other sites?
MLB.com adds the OBP and SLG after each has been rounded to three decimals. Baseball-Reference and FanGraphs add the unrounded values and round once. The two methods can differ by .001: Barry Bonds's 2004 season is 1.421 on MLB.com and 1.422 elsewhere.
What is a slash line?
Three numbers separated by slashes: batting average, on-base percentage and slugging percentage, in that order. A line of .281/.357/.483 means a .281 average, a .357 OBP and a .483 SLG. OPS is the sum of the last two.
Is OPS better than batting average?
For judging overall hitting, yes. It counts walks and gives extra credit for extra-base hits, both of which batting average ignores. FanGraphs describes it as a good gateway statistic and notes that weighted on-base average (wOBA) is more accurate still, because OBP is worth more than SLG point for point.
What is the difference between OPS and OPS+?
OPS is the raw sum. OPS+ adjusts it for the league and the ballpark and puts it on a scale where 100 is league average. This calculator gives raw OPS.

Sources

  1. MLB.com glossary: On-base Plus Slugging (OPS)
  2. FanGraphs Library: OPS and OPS+ (rule-of-thumb table)
  3. MLB.com glossary: On-base Percentage and Slugging Percentage
  4. MLB Stats API: team and player season statistics (league totals 2026 and the benchmark seasons)

Embed this calculator

Free for clubs, coaches, schools and blogs. Copy the code below; it stays up to date by itself.