OPS Calculator — Calculate On‑Base Plus Slugging Instantly

Free OPS calculator computes on‑base plus slugging for any hitter. Enter raw stats to get OBP, SLG and total OPS with formula breakdown.

Official MLB Formulas Step‑by‑Step Privacy First

OPS Calculator

Enter the hitter's raw stats below. The calculator computes OBP, SLG and total OPS automatically.

Enter stats and click Calculate OPS to see OBP, SLG and OPS.

OPS Formula Explained

OPS (On‑base Plus Slugging) combines a player's ability to reach base with their power hitting. It is simply the sum of on‑base percentage (OBP) and slugging percentage (SLG).

OPS = OBP + SLG

OBP Formula

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

SLG Formula

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

Total bases (TB) are calculated inside SLG: 1B + 2×2B + 3×3B + 4×HR. An OPS above .800 is considered very good.

How to Calculate OPS Step by Step

  1. Compute OBP: Sum hits, walks and hit‑by‑pitch, then divide by at‑bats + walks + HBP + sac flies.
  2. Compute total bases (TB): 1×singles + 2×doubles + 3×triples + 4×home runs.
  3. Compute SLG: Divide total bases by at‑bats.
  4. Add OBP and SLG to get OPS. Round to three decimals (standard baseball format).

OPS Calculator Examples

Example 1: Solid Season

150 H, 60 BB, 5 HBP, 500 AB, 3 SF | 100 1B, 30 2B, 5 3B, 25 HR

OBP = (150+60+5)/(500+60+5+3) = 215/568 ≈ .379
TB = 100 + 60 + 15 + 100 = 275
SLG = 275/500 = .550
OPS = .379 + .550 = .929

Example 2: Power Hitter

120 H, 80 BB, 10 HBP, 400 AB, 5 SF | 60 1B, 25 2B, 2 3B, 40 HR

OBP = (120+80+10)/(400+80+10+5) = 210/495 ≈ .424
TB = 60 + 50 + 6 + 160 = 276
SLG = 276/400 = .690
OPS = .424 + .690 = 1.114

Real-World OPS Applications

  • MLB Scouting: OPS quickly identifies well‑rounded hitters who both get on base and hit for power.
  • Fantasy Baseball: OPS is a common rotisserie or points league category, directly affecting team value.
  • Youth & High School: Coaches use OPS to teach the value of on‑base skills plus extra‑base hits.
  • Historical Comparisons: OPS (and adjusted OPS+) allow cross‑era comparisons of offensive production.

People Also Ask

OPS stands for On‑base Plus Slugging. It adds a player's on‑base percentage (OBP) and slugging percentage (SLG) into one number.
First compute OBP = (H+BB+HBP)/(AB+BB+HBP+SF). Then SLG = TB/AB (TB = 1B + 2×2B + 3×3B + 4×HR). OPS = OBP + SLG.
An OPS above .800 is above average, above .900 is great, and above 1.000 is elite. League average usually falls around .720‑.750.
Yes, walks (BB) are included in the on‑base percentage part of OPS. Hit‑by‑pitch and sacrifice flies are also part of the OBP formula.

Frequently Asked Questions

Absolutely. If you already know a player's OBP and SLG, simply enter them in the dedicated fields (coming soon) – or use the raw stats to compute both from scratch.
OPS has no upper limit. Elite sluggers can exceed 1.000. The metric simply adds two percentages, so values above 1.000 are common for top hitters.
Slugging percentage and OBP require at‑bats and plate appearances. The calculator will show a validation error if AB is zero because division by zero is not allowed.
OPS provides a more complete picture than batting average alone because it includes walks, extra‑base hits and power. Many analysts prefer OPS for evaluating offensive performance.

OPS & Hitting Glossary

On‑Base Percentage (OBP)

Measures how often a batter reaches base per plate appearance. Formula: (H + BB + HBP) / (AB + BB + HBP + SF).

Slugging Percentage (SLG)

Total bases divided by at‑bats. A measure of power: (1B + 2×2B + 3×3B + 4×HR) / AB.

Total Bases (TB)

Sum of bases from hits: 1 for single, 2 for double, 3 for triple, 4 for home run. Used to compute SLG.

At‑Bat (AB)

A plate appearance that results in a hit, out or error, excluding walks, HBP, sacrifices and catcher's interference.

Sacrifice Fly (SF)

A fly ball that scores a runner; does not count as an at‑bat but is part of the OBP denominator.

Adjusted OPS+

OPS normalized for league and park effects. 100 is league average, above 100 is better than average.

Editorial Review & Methodology

This OPS calculator was designed and reviewed by the NumbrWiz Editorial Team. All formulas follow official Major League Baseball definitions and are consistent with SABR and ESPN standards.

  • Formula verification: Cross‑checked with MLB rulebook, FanGraphs, and Baseball‑Reference formulas.
  • Edge cases: Tested with zeroes, extremely low/high values and partial seasons to ensure accuracy.
  • UX testing: Keyboard navigation, clear validation and accessible copy/share features implemented.

Transparency note: All calculations happen in your browser. No personal data is collected or sent. Results are for educational use; verify official stats through recognized sources.

Page last reviewed: May 2026 · NumbrWiz Editorial Team