gizmobench

OPS Calculator

OPS is on-base percentage plus slugging. Enter the recorded counts needed for both parts, review the exact formula, and combine multiple games into a season total. OPS is added before rounding, so it may differ by .001 from adding the two displayed rates.

Batting average.300H ÷ AB
On-base percentage.364(H + BB + HBP) ÷ (AB + BB + HBP + SF)
Slugging.600Total bases ÷ AB
OPS.964OBP + SLG
2 game rowsAB 10H 3TB 6

Season rates use summed counts, never the average of individual game percentages. N/A means the relevant denominator is zero. No player or team information is looked up.

Edit Game 1

Enter recorded counts, including zeroes. H includes singles and all extra-base hits. Walks and HBP are separate from AB; sacrifice flies enter the OBP denominator only.

Singles: 1 · Total bases: 5 = 1 + 2 × 0 + 3 × 0 + 4 × 1

This game: AVG .500 · OBP .600 · SLG 1.250 · OPS 1.850

Season worksheet

2 / 500 rows
GameABHAVGOPSEditRemove
42.5001.850
61.167.333

Tap a game name to edit it. Scroll the table sideways for the remove controls on narrow screens.

Season formula breakdown

Hits: 2 singles + 0 doubles + 0 triples + 1 home runs = 3

Total bases: 2 + 2 × 0 + 3 × 0 + 4 × 1 = 6

AVG = 3 ÷ 10 = .300

OBP = (3 + 1 + 0) ÷ (10 + 1 + 0 + 0) = 4 ÷ 11 = .364

SLG = 6 ÷ 10 = .600

OPS = 4/11 + 6/10 = .964 (added before rounding)

When AB is zero, AVG and SLG are undefined, so OPS is also N/A even if OBP is defined. Reaching on an error, fielder’s choice, stolen bases and advancement on other plays do not add hits or total bases here. Sacrifice bunts and other plate-appearance categories are not inputs; this worksheet does not calculate total plate appearances.

CSV includes each game’s counts and rates plus season totals. Rates use three-decimal half-up rounding. Formula-like labels are prefixed with an apostrophe.

Arithmetic on entered counts; no prediction, player evaluation, betting or live sports feed. The worksheet stays in this browser’s memory and is not automatically saved. Download CSV before leaving. Up to 500 games, with counts from 0 to 1,000,000,000 per field. Undo retains 30 edits.

Common questions

How are OBP, slugging and OPS calculated?
OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF). Slugging = total bases ÷ AB, where total bases = singles + 2 × doubles + 3 × triples + 4 × home runs. OPS adds the unrounded OBP and slugging values, then rounds the result to three decimals.
Why might the displayed OBP and SLG not add to the displayed OPS?
Each rate is rounded separately, using exact half-up rounding to three decimals. OPS adds the exact fractions before rounding. For example, OBP 1/3 and SLG 1/3 both display .333, but their sum is 2/3 and OPS displays .667.
Why is OPS sometimes N/A when OBP is available?
A player can have walks or HBP but no at-bats. OBP may then have a nonzero denominator, while slugging still has zero at-bats to divide by. Because OPS includes slugging, it remains undefined. An at-bat with no hit is different: its AVG and SLG are .000.
How are season rates combined across games?
All counts are added first and the formulas are applied to those totals. Game percentages are never averaged. A 2-for-4 game followed by a 1-for-6 game totals 3-for-10, or .300, even though the simple average of the two game averages would be different.
Why can I derive singles or enter them separately?
Hits already include all hit types. In the default mode, singles = H − doubles − triples − home runs. Check mode lets you enter singles and verifies that all four hit types sum to H. Switching to check mode fills singles from valid current totals before you edit them. More hits than at-bats, or more extra-base hits than total hits, is rejected.
Can I save the season worksheet?
Download CSV for every game’s counts and rates plus season totals, or copy the season summary. Work stays in browser memory and is not automatically saved. Undo and redo retain 30 edits. The worksheet accepts up to 500 games and whole counts from zero to one billion per field. Formula-like game labels are neutralized in CSV.

Arithmetic on entered counts; no prediction, player evaluation, betting or live sports feed.