OPS (On-Base Plus Slugging) Calculator

Last Updated: Nov 16, 2025

Created by
Saqib Hanif
Saqib Hanif

Saqib Hanif is the CEO and founder of Calculator Value. He builds calculators and educational content across sports, math, and science, and supports a limited set of construction-related calculators. Read full profile

Our On-base Plus Slugging (OPS) Calculator delivers highly accurate results using the official baseball formula: OPS=On-base Percentage (OBP)+Slugging Percentage (SLG) Where: OBP=Hits+Walks+Hit By PitchAt Bats+Walks+Hit By Pitch+Sacrifice Flies SLG=Singles+2×Doubles+3×Triples+4×Home RunsAt Bats For example, if a player has 100 at bats, 30 hits (20 singles, 5 doubles, 2 triples, 3 home runs), 10 walks, 2 hit by pitch, and 1 sacrifice fly, the calculation is: OBP=30+10+2100+10+2+1=42113=0.372 SLG=20+2(5)+3(2)+4(3)100=20+10+6+12100=48100=0.480 OPS=0.372+0.480=0.852

  • Industry-Standard Formulas: The formulas and methods used in this calculator follow widely accepted standards in Sports.
  • Careful Verification: The calculator is tested to ensure it behaves correctly across a range of inputs.
  • Continuous Updates: The calculator is updated as needed to reflect better accuracy and usability.

OPS (On-base Plus Slugging) is a statistic in baseball that allows us to analyze how well a player is playing for his team. There are three key elements used to measure a player's overall offensive effectiveness, which are these:

  • OPS (On-base Plus Slugging) - This is a combination of OBP and SLG in a single number that provides a clear view of how well a player gets on-base and hits with power.
  • OBP (On-base Percentage) - It tells us how often a player reaches base by hits, walks, and being hit by a pitch.
  • SLG (Slugging Percentage) - This evaluates a player’s power by measuring how many total bases he earns from singles, doubles, triples, and home runs.

What is OPS (On-base Plus Slugging) — Formula with Example?

OPS is a key stat in baseball that combines OBP and SLG. We have already explained that it provides a complete picture of a player's offensive ability. Let's see the formula for OPS:

OPS = OBP + SLG

Here is the complete formula for calculating OPS:

Calculate OBP (On-Base Percentage):

  • OBP = (Hits + Walks + Hit by Pitch) / (At Bats + Walks + Hit by Pitch + Sacrifice Flies)

Calculate SLG (Slugging Percentage):

  • SLG = (Singles + (2 x Doubles) + (3 x Triples) + (4 x Home Runs)) / At Bats

Calculate OPS:

  • OPS = OBP + SLG

Real-world example

Let's see an example with the player's stats:

  • At Bats (AB): 500
  • Hits (H): 150
  • Doubles (2B): 35
  • Triples (3B): 5
  • Home Runs (HR): 20
  • Walks (BB): 60
  • Hit by Pitch (HBP): 5
  • Sacrifice Flies (SF): 5

Step 1: Using formula to calculate OBP

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

Step 2: Using SLG formula:

First, calculate singles:

  • Singles = Hits – Doubles – Triples – Home Runs
  • Singles = 150 – 35 – 5 – 20 = 90

Now implement the formula:

  • SLG = (90 + (2 x 35) + (3 x 5) + (4 x 20)) / 500
  • SLG = 0.510

Step 3: Apply the formula to calculate OPS

  • OPS = 0.377 + 0.510 = 0.887

We calculated the player's OPS as 0.887, indicating excellent offensive skill and performance.

Why OPS Matters

OPS is considered a key performance measure of a player in baseball. It provides a complete picture of the hitter's skills and resolves queries such as:

  • What is the performance of the hitter?
  • Does the player get on base consistently?
  • Does the player hit for power?

OPS is an easy measurement that helps analysts, coaches, and fans compare players’ performance.

What is OBP (On-Base Percentage)?

OBP stands for On-Base Percentage. In baseball, it is a statistic that shows how often a player successfully reaches base. It takes into account:

  • Hits (H)
  • Walks (BB)
  • Hit-by-pitch (HBP)

OBP is considered one of the most accurate indicators of offensive consistency because it includes walks and hit-by-pitches. A higher OBP indicates that the player is performing well and creating scoring opportunities.

Are you wondering what the equation looks like? Here’s the OBP formula:

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

Where:

  • H = Hits
  • BB = Walks
  • HBP = Hit by pitch
  • AB = At bats
  • SF = Sacrifice flies

What Is a Good OBP in Baseball?

Let’s consider these ranges, which show OBP scores and their categories:

  • .400+ = elite
  • .350 – .380 = excellent
  • .320 – .340 = above average
  • .300 = average
  • Below .300 = below average

MLB players who achieve an OBP of .400 or higher are considered elite hitters.

What is SLG (Slugging Percentage)?

In baseball, SLG, or Slugging Percentage, is a statistic that shows how powerful a hitter is. It measures the average total bases a hitter earns per at-bat.

A higher SLG indicates that the player is hitting with more power. Here’s the formula:

SLG = (1B + 2×2B + 3×3B + 4×HR) / AB

Where:

  • 1B = Singles
  • 2B = Doubles
  • 3B = Triples
  • HR = Home runs
  • AB = At-bats

Wondering what a good SLG is? Here are some common SLG ranges:

  • .550+ = elite power hitter
  • .500 = excellent
  • .450 = above average
  • .400 = average
  • Below .400 = below average

If you’re still hungry for more knowledge and want a calculator for SLG, check out our Slugging Percentage Calculator.

Frequently Asked Questions

What is a good OPS?

These are OPS ranges with corresponding performance levels:

  • 0.800 or higher OPS is typically considered excellent.
  • 1.000+ is known for elite performance and is usually seen in MVP-level players.
  • 0.700 is considered below average.