Updated on April 20th, 2026

OPS Calculator

Created By Jehan Wadia


OPS (On-base Plus Slugging)

0.870
Good Performance
Poor Below Avg Average Good Excellent
Component Statistics
Singles90
Total Bases250
Batting Average (AVG)0.300
On-base Percentage (OBP)0.370
Slugging Percentage (SLG)0.500
OPS0.870
Performance Context
MLB Average OPS (2023)0.734
Your OPS+119
Position Average (OF)0.750
Historical Percentile75th
Formula Breakdown

OBP = (H + BB + HBP) / (AB + BB + HBP + SF)

OBP = (150 + 60 + 5) / (500 + 60 + 5 + 5) = 0.377

SLG = Total Bases / AB

SLG = 250 / 500 = 0.500

OPS = OBP + SLG

OPS = 0.377 + 0.500 = 0.877

Historical OPS Benchmarks
Player Year/Career OPS Comparison
Barry Bonds 2004 1.422 -0.552
Ted Williams Career 1.116 -0.246
Mike Trout Career 0.999 -0.129
MLB Average 2023 0.734 +0.136

Introduction

OPS, or On-base Plus Slugging, is one of the most useful stats in baseball. It combines two key numbers — on-base percentage (OBP) and slugging percentage (SLG) — into a single value that shows how well a hitter gets on base and hits for power. A higher OPS means a better overall hitter. An OPS around .734 is about average in today's MLB, while anything above .900 is considered excellent.

This OPS calculator makes it easy to compute OPS from a player's raw batting stats. Enter at bats, hits, doubles, triples, home runs, walks, hit by pitches, and sacrifice flies, and the tool does the rest. You can also use Quick Calculate mode if you already know the OBP and SLG values, or switch to Comparison mode to measure up to three players side by side. The calculator shows a full formula breakdown, a visual performance gauge, and comparisons to historic greats like Barry Bonds, Ted Williams, and Mike Trout so you can see exactly where a player stands.

How to Use Our OPS Calculator

Enter a player's batting statistics below, and this calculator will compute their OPS (On-base Plus Slugging), along with their batting average, on-base percentage, slugging percentage, and how they compare to MLB benchmarks. Choose from three modes: Raw Statistics, Quick Calculate, or Comparison Mode.

At Bats (AB) — Enter the player's total number of at bats. This does not include walks, hit by pitches, or sacrifices. For a full season, this number is usually between 400 and 600.

Hits (H) — Enter the total number of hits the player got. This includes singles, doubles, triples, and home runs combined.

Doubles (2B) — Enter the number of doubles the player hit. A double is when the batter reaches second base on a hit.

Triples (3B) — Enter the number of triples the player hit. A triple is when the batter reaches third base on a hit.

Home Runs (HR) — Enter the number of home runs the player hit. A home run is when the batter rounds all the bases and scores on a hit.

Walks (BB) — Enter the number of base on balls the player received. A walk happens when a pitcher throws four balls outside the strike zone during an at bat.

Hit By Pitch (HBP) — Enter the number of times the player was hit by a pitch. When a batter is hit by a pitched ball, they are awarded first base.

Sacrifice Flies (SF) — Enter the number of sacrifice flies the player had. A sacrifice fly is when a batter hits a fly ball that is caught but allows a runner on base to tag up and score.

Quick Calculate Mode — If you already know a player's on-base percentage (OBP) and slugging percentage (SLG), switch to this mode and enter those two values directly to get the OPS right away.

Comparison Mode — Use this mode to compare up to three players side by side. Enter each player's name and batting stats, and the calculator will show which player leads in each category.

Load Example Player — Use the dropdown menu to load real stats from famous players like Mike Trout, Barry Bonds, Ted Williams, and Babe Ruth to see how the calculator works and compare your numbers against all-time greats.

What Is OPS in Baseball?

OPS stands for On-base Plus Slugging. It is one of the most popular statistics in baseball for measuring how good a hitter is overall. OPS combines two important stats — on-base percentage (OBP) and slugging percentage (SLG) — into a single number that tells you how well a batter reaches base and hits for power.

How Is OPS Calculated?

The OPS formula is simple on the surface:

OPS = OBP + SLG

However, each part has its own formula:

  • On-base Percentage (OBP) = (Hits + Walks + Hit By Pitch) ÷ (At Bats + Walks + Hit By Pitch + Sacrifice Flies). This measures how often a batter reaches base safely. You can calculate this component separately with our on base percentage calculator.
  • Slugging Percentage (SLG) = Total Bases ÷ At Bats. This measures how many bases a batter earns per at bat, giving extra credit for doubles, triples, and home runs. Use our slugging percentage calculator to compute this value on its own.

Total bases are counted like this: a single is worth 1, a double is worth 2, a triple is worth 3, and a home run is worth 4. You add them all up to get the total bases number.

What Is a Good OPS?

OPS values typically fall between about 0.500 and 1.200. Here is a general guide to what different OPS numbers mean:

  • Below 0.600 — Poor. The batter is struggling at the plate.
  • 0.600–0.700 — Below average. The batter needs to improve.
  • 0.700–0.800 — Average. This is close to a typical MLB hitter.
  • 0.800–0.900 — Good. The batter is performing above most players.
  • Above 0.900 — Excellent. This is an All-Star-level hitter.

The MLB league-wide average OPS in 2023 was about 0.734. Any batter above that mark is doing better than the typical big-league hitter.

Why Does OPS Matter?

Before OPS became popular, scouts and fans mostly looked at batting average to judge hitters. But batting average ignores walks and does not account for extra-base power. A player who hits .270 with lots of walks and home runs is far more valuable than a player who hits .290 with few walks and only singles. OPS captures both of those skills in one easy-to-read number.

Research has shown that OPS has a strong connection to how many runs a team scores. Teams with higher OPS numbers tend to score more runs and win more games. That is why front offices, broadcasters, and fantasy baseball players all use OPS as a quick way to evaluate hitting talent.

OPS vs. OPS+

You may also see a stat called OPS+. This is a version of OPS that adjusts for the ballpark a player plays in and the era of baseball. An OPS+ of 100 is league average. A number above 100 means the batter is better than average, and below 100 means worse. For example, an OPS+ of 150 means the batter's OPS is 50% better than the league average after adjustments.

Famous OPS Records

Some of the highest single-season OPS marks in history belong to the greatest hitters of all time. Barry Bonds holds the all-time record with a stunning 1.422 OPS in 2004, a season where he walked 232 times. Babe Ruth, Ted Williams, and Mike Trout are among the other players who have posted career OPS numbers above 1.000, putting them in elite company. These benchmarks give you a frame of reference for how your calculated OPS stacks up against the best to ever play the game. For a deeper look at pitching performance during these legendary eras, check out our ERA calculator to see how dominant the pitchers were that these hitters faced.


Frequently Asked Questions

What stats do I need to calculate OPS?

You need eight stats: at bats (AB), hits (H), doubles (2B), triples (3B), home runs (HR), walks (BB), hit by pitch (HBP), and sacrifice flies (SF). These numbers are used to figure out on-base percentage and slugging percentage, which are then added together to get OPS.

Can I calculate OPS if I only know OBP and SLG?

Yes. Switch to Quick Calculate mode at the top of the calculator. Enter the on-base percentage and slugging percentage directly, and the tool will add them together to give you the OPS right away. You do not need any other stats in this mode.

What is the difference between Raw Statistics mode and Quick Calculate mode?

Raw Statistics mode takes individual batting stats like at bats, hits, doubles, walks, and more, then calculates OBP, SLG, and OPS for you from scratch. Quick Calculate mode skips that step and lets you enter OBP and SLG directly if you already know them. Raw mode gives you a fuller breakdown with more detail.

How does the Comparison mode work?

Comparison mode lets you enter batting stats for up to three players at once. After you click Calculate, the tool shows a side-by-side table with each player's batting average, OBP, SLG, and OPS. The best value in each row is highlighted in green so you can quickly see who leads in each category. A bar chart also appears for a visual comparison.

What does the colored gauge bar mean?

The gauge bar shows where the calculated OPS falls on a scale from poor to excellent. Red on the left means poor, yellow means below average, green means average, blue means good, and purple on the far right means excellent. A black marker moves along the bar to show the player's position on that scale.

What is OPS+ and how does this calculator estimate it?

OPS+ is a version of OPS that is adjusted so that 100 equals the league average. This calculator gives a simplified OPS+ by dividing the player's OPS by the 2023 MLB average OPS of 0.734 and multiplying by 100. A true OPS+ also adjusts for ballpark factors, which this estimate does not include.

Why is my OPS higher than 1.000?

OPS can go above 1.000 because it adds OBP and SLG together. While OBP maxes out at 1.000, SLG can go as high as 4.000 if a player hit a home run on every at bat. An OPS above 1.000 means the player is hitting at an elite level. Only the best hitters in baseball history have reached that mark over a full season.

What counts as total bases?

Total bases add up the base value of every hit. A single counts as 1, a double counts as 2, a triple counts as 3, and a home run counts as 4. For example, a player with 90 singles, 30 doubles, 5 triples, and 25 home runs would have 90 + 60 + 15 + 100 = 265 total bases.

Do walks count toward slugging percentage?

No. Walks are not included in the slugging percentage formula. SLG only uses total bases divided by at bats, and walks are not counted as at bats. However, walks do count toward on-base percentage, which is the other half of OPS.

How do I load an example player's stats?

Use the dropdown menu below the input fields labeled "Load Example Player." Pick a player like Mike Trout, Barry Bonds, Ted Williams, or Babe Ruth. Their real batting stats will fill in automatically, and the calculator will update with their OPS and other numbers so you can see how the tool works.

Can I use this calculator for Little League or high school stats?

Yes. The OPS formula is the same at every level of baseball. Just enter the player's stats from their season and the calculator will work the same way. Keep in mind that the benchmarks and league averages shown are based on MLB data, so the comparisons may not apply directly to youth or amateur leagues.

What happens if I enter more hits than at bats?

If hits are greater than at bats, the batting average and other stats will be higher than what is possible in a real game. The calculator will still do the math, but the results will not be realistic. Make sure your hits number is equal to or less than your at bats for accurate results.

Why are sacrifice flies included in OBP but not in at bats?

Sacrifice flies are added to the denominator of the OBP formula because they represent a plate appearance where the batter had a chance to reach base. However, official baseball scoring rules do not count sacrifice flies as at bats. This keeps them from hurting a player's batting average while still being factored into on-base percentage.

What does the Historical Percentile in the results mean?

The historical percentile tells you roughly how the player's OPS compares to all MLB hitters. For example, the 75th percentile means the player's OPS is better than about 75% of major league hitters. The higher the percentile, the better the player is performing relative to the rest of the league.

Can OPS be zero?

Yes. If a player has no hits, no walks, and no hit by pitches, both their OBP and SLG will be 0.000, making their OPS 0.000. This would mean the player never reached base safely in any of their plate appearances.


Related Calculators

ERA Calculator

Visit ERA Calculator

Slugging Percentage Calculator

Visit Slugging Percentage Calculator

On Base Percentage Calculator

Visit On Base Percentage Calculator

Batting Average Calculator

Visit Batting Average Calculator