OPS Calculator (On-Base Plus Slugging)

Quick answer

The OPS calculator combines on-base percentage and slugging percentage from singles, doubles, triples, home runs, walks, hit-by-pitches, at-bats and sacrifice flies, and also shows AVG and total bases.

Hits
158
Total bases
269
Batting average
0.287
On-base percentage
0.36
Slugging percentage
0.489
OPS
0.849
Rating
Very good

OPS rewards both getting on base and hitting for power. It is a quick, popular summary of a hitter: .900 or better is excellent, .700 is about average.

How to use the OPS Calculator

  1. Singles
  2. Doubles
  3. Triples
  4. Home runs
  5. Walks
  6. Hit by pitch
  7. At-bats
  8. Sacrifice flies

Results update as you type, every field has its own unit menu, and everything is calculated in your browser.

How it works

Enter the batting line. Hits are the sum of singles, doubles, triples and home runs.

Inputs explained

Field What to enter
Singles A number
Doubles A number
Triples A number
Home runs A number
Walks A number
Hit by pitch A number
At-bats A number
Sacrifice flies A number

What each result means

  • Hits = [Singles] + [Doubles] + [Triples] + [Home runs]
  • Total bases = [Singles] + 2×[Doubles] + 3×[Triples] + 4×[Home runs]
  • Batting average = [Hits]÷[At-bats]
  • On-base percentage = ([Hits] + [Walks] + [Hit by pitch])÷([At-bats] + [Walks] + [Hit by pitch] + [Sacrifice flies])
  • Slugging percentage = [Total bases]÷[At-bats]
  • OPS = [On-base percentage] + [Slugging percentage]

Example values

How the main result changes when Singles changes and everything else stays at the example values above:

Singles OPS
50 0.677
75 0.763
100 0.849
125 0.935
150 1.02
200 1.192

Formula

TB = 1B + 2·2B + 3·3B + 4·HR, SLG = TB ÷ AB, OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF), OPS = OBP + SLG

Worked example

Inputs — Singles: 100; Doubles: 30; Triples: 3; Home runs: 25; Walks: 60; Hit by pitch: 5; At-bats: 550; Sacrifice flies: 5.
Results — Hits = 158; Total bases = 269; Batting average = 0.287; On-base percentage = 0.36; Slugging percentage = 0.489; OPS = 0.849; Rating = Very good.

Key terms

Total bases
Bases gained from hits.

Frequently asked questions

What is a good OPS?

.900+ is excellent, .800 very good and about .700 average.

Is OPS a perfect stat?

No – it weights SLG and OBP equally though OBP is worth more.

What is OPS+?

OPS adjusted for park and league, scaled so 100 is average.

Why are home runs worth 4 total bases?

The batter reaches all four bases.

Sources

  1. MLB – Glossary of statistics
  2. FanGraphs Sabermetrics Library

Cite this calculator

Speedy Calculator. (2026). OPS Calculator (On-Base Plus Slugging). Speedy Calculator. https://speedycalculator.com/calculators/sports/on-base-plus-slugging/