Skip to content

OPS Calculator

Hits and at-bats

All hits, including doubles, triples and home runs.

Other times on base

Include intentional walks.

OPS —
On-base percentage (OBP)
—
Slugging percentage (SLG)
—
Batting average
—
Isolated power (SLG − AVG)
—
Total bases
—
Bill James rating
—

OPS is on-base percentage plus slugging percentage. OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF) and SLG = total bases ÷ AB. Barry Bonds in 2004 reached base 376 times in 617 chances (.609) and slugged 303 total bases in 373 at-bats (.812), giving an OPS of 1.422.

About this tool

Coaches, fantasy players and parents keeping a scorebook often have a raw stat line but no OPS. Enter at-bats, hits, doubles, triples, home runs, walks, hit-by-pitches and sacrifice flies, and the calculator returns OPS together with the two parts it is built from, plus batting average, isolated power and total bases. Singles are derived from hits minus extra-base hits, so you do not count them separately. The rating uses Bill James's seven-step OPS scale, from Very poor below .567 to Great at .900 and up. One limit: OPS is not adjusted for ballpark or league scoring level, so a .800 in a pitcher-friendly league is worth more than the same figure in a high-scoring one; OPS+ handles that and needs league data this page does not have.

How to use it

  1. Enter the hitting line

    Type at-bats and total hits, then how many of those hits were doubles, triples and home runs.

  2. Add other times on base

    Fill in walks, hit-by-pitches and sacrifice flies; the last two are optional and count as zero when empty.

  3. Read OPS and its parts

    OPS appears at the top with OBP, SLG, batting average, isolated power and total bases underneath, plus the working for each.

Examples

Barry Bonds, 2004

At-bats (AB)
373
Hits (H)
135
Doubles (2B)
27
Triples (3B)
3
Home runs (HR)
45
Walks (BB)
232
Hit by pitch (HBP)
9
Sacrifice flies (SF)
3

Result OPS: 1.422
On-base percentage (OBP): 0.609
Slugging percentage (SLG): 0.812
Batting average: 0.362
Isolated power (SLG − AVG): 0.450
Total bases: 303
Bill James rating: Great

  1. Singles = 135 − 27 − 3 − 45 = 60
  2. Total bases = 60 + 2×27 + 3×3 + 4×45 = 303
  3. OBP = (135 + 232 + 9) ÷ (373 + 232 + 9 + 3) = 376 ÷ 617 = 0.609
  4. SLG = 303 ÷ 373 = 0.812
  5. OPS = 0.609 + 0.812 = 1.422

232 walks pushed Bonds's on-base percentage past .600, and 45 home runs in 373 at-bats did the rest: the highest single-season OPS in MLB history.

73-homer season, 2001

At-bats (AB)
476
Hits (H)
156
Doubles (2B)
32
Triples (3B)
2
Home runs (HR)
73
Walks (BB)
177
Hit by pitch (HBP)
9
Sacrifice flies (SF)
2

Result OPS: 1.379
On-base percentage (OBP): 0.515
Slugging percentage (SLG): 0.863
Batting average: 0.328
Isolated power (SLG − AVG): 0.536
Total bases: 411
Bill James rating: Great

  1. Singles = 156 − 32 − 2 − 73 = 49
  2. Total bases = 49 + 2×32 + 3×2 + 4×73 = 411
  3. OBP = (156 + 177 + 9) ÷ (476 + 177 + 9 + 2) = 342 ÷ 664 = 0.515
  4. SLG = 411 ÷ 476 = 0.863
  5. OPS = 0.515 + 0.863 = 1.379

Here slugging carries the total: 411 total bases from 476 at-bats gives an .863 SLG, the record that year.

A solid everyday hitter

At-bats (AB)
550
Hits (H)
150
Doubles (2B)
30
Triples (3B)
3
Home runs (HR)
20
Walks (BB)
50
Hit by pitch (HBP)
5
Sacrifice flies (SF)
5

Result OPS: 0.783
On-base percentage (OBP): 0.336
Slugging percentage (SLG): 0.447
Batting average: 0.273
Isolated power (SLG − AVG): 0.175
Total bases: 246
Bill James rating: Above average

  1. Singles = 150 − 30 − 3 − 20 = 97
  2. Total bases = 97 + 2×30 + 3×3 + 4×20 = 246
  3. OBP = (150 + 50 + 5) ÷ (550 + 50 + 5 + 5) = 205 ÷ 610 = 0.336
  4. SLG = 246 ÷ 550 = 0.447
  5. OPS = 0.336 + 0.447 = 0.783

A .273 hitter with 20 home runs and 50 walks lands near .780 OPS, a little above the league norm.

How it is calculated

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

H
hits
BB, HBP
walks and times hit by a pitch
AB, SF
at-bats and sacrifice flies
1B, 2B, 3B, HR
singles, doubles, triples, home runs

Both halves follow the official MLB scoring rules. On-base percentage counts every time the batter reached by hit, walk or hit-by-pitch, divided by plate appearances excluding sacrifice bunts and catcher interference. Slugging divides total bases by at-bats. The two have different denominators, which is why OPS is a sum and not a single ratio; it slightly underweights OBP relative to its run value, but it tracks runs scored closely at team level.

When not to use it

  • Comparing hitters across eras or ballparks, where park- and league-adjusted OPS+ is fairer.
  • Judging a hitter after a few dozen plate appearances.
  • Evaluating pitchers, who use OPS allowed from opponents' lines instead.

Common mistakes

  • Entering singles in the hits box instead of total hits.
  • Counting walks or sacrifice flies as at-bats.
  • Adding batting average to slugging instead of on-base percentage.

Frequently asked questions

What counts as a good OPS?

On Bill James's scale, .900 and above is great, .834 to .899 very good, .767 to .833 above average, and .700 to .766 average. Recent MLB league-wide OPS has sat around .700 to .730, so anything near .800 is a productive regular.

Why do sacrifice flies count against on-base percentage?

The official rule includes sacrifice flies in the OBP denominator because the batter made an out, even if a run scored. Sacrifice bunts are left out of both the numerator and the denominator, so do not enter them anywhere.

Is OPS on a percentage scale?

No, despite the names. OBP and SLG are written as three-decimal rates, and adding them gives a number that can exceed 1.000. Bonds's 1.422 in 2004 is the MLB single-season record.

What is isolated power?

Isolated power is slugging minus batting average. It strips out singles and shows only extra-base strength; a figure around .200 marks a real power hitter, while contact hitters often sit below .120.

How is OPS different from OPS+?

OPS+ divides a player's OBP and SLG by the league averages, corrects for the home ballpark, and scales the result so 100 is league average. It needs league and park data, so this page reports plain OPS only.

Do intentional walks count?

Yes. Official on-base percentage includes intentional walks in the BB figure, so enter the total walks from the box score or season line.

Cite this tool

Using this tool in an assignment, article or report? Copy a citation, or a link for your website.

APA

Tools Directory Editorial Team. (2026, October 15). OPS Calculator. Tools Directory. Retrieved October 26, 2026, from https://tools.milunir.com/sports/sports-performance/ops-calculator/

MLA

Tools Directory Editorial Team. “OPS Calculator.” Tools Directory, 15 Oct. 2026, https://tools.milunir.com/sports/sports-performance/ops-calculator/. Accessed 26 Oct. 2026.

Chicago

Tools Directory Editorial Team. “OPS Calculator.” Tools Directory. Last modified October 15, 2026. Accessed October 26, 2026. https://tools.milunir.com/sports/sports-performance/ops-calculator/.

Link<a href="https://tools.milunir.com/sports/sports-performance/ops-calculator/">OPS Calculator – Tools Directory</a>