Audited ·Last updated 28 Jul 2026·6 citations·Tier 1·0 uses

Slugging Percentage Calculator (SLG) — Total Bases per At-Bat

Free slugging percentage calculator using Official Baseball Rule 9.21(c). Enter the box-score line and it derives singles, total bases, SLG and isolated power.

Slugging Percentage Calculator

At-bats, not plate appearances. Walks, hit-by-pitches and both kinds of sacrifice are already excluded from this figure by Rule 9.02(a)(1).
The total of all hits, including the extra-base hits below. Singles are worked out by subtraction, so do not enter singles separately.
Two total bases each.
Three total bases each.
Four total bases each. Doubles, triples and home runs together cannot exceed the hit total — they are a subset of it.
Slugging percentage
0.6462
Total bases divided by at-bats, the quotient Official Baseball Rule 9.21(c) defines. Despite the name it is not a percentage: the scale runs to 4.000, which is what a hitter who homered in every at-bat would post.
Total bases
411
Singles (1B)
98
Extra-base hits (XBH)
99
Batting average
0.3097
Isolated power (ISO)
0.3365

Background.

Slugging percentage is the statistic that fixes batting average's biggest blind spot: batting average treats a bunt single and a grand slam as the same event. Slugging percentage does not. Official Baseball Rule 9.21(c) defines it in one clause — divide the total bases of all safe hits by the total times at bat — and the rulebook is so alert to the confusion between the two statistics that the batting-average clause immediately above it contains its own warning, instructing the scorer to divide safe hits "(not the total bases on hits)" by at-bats. Same denominator, different numerator, and the whole difference is in what a hit is worth.

Total bases come from the value of each hit, and those values are fixed by the rules: a one-base hit, a two-base hit, a three-base hit or a home run. MLB's glossary states the weighting arithmetically — one total base for a single, two for a double, three for a triple, four for a home run — and adds the qualification most people forget: a player can only add to his total bases through a hit, and advancing on the basepaths, even by stealing, has no effect at all. A single followed by a stolen base and a run scored is worth exactly one total base. This calculator asks for the box-score line as it is actually printed — hits, doubles, triples, home runs — and derives singles by subtraction, because almost no box score prints a singles column and asking for one is how people end up double-counting their doubles.

The denominator is at-bats, which means slugging percentage is completely blind to walks and hit-by-pitches. A hitter who walks a hundred times gets no credit for it here whatsoever: the walk is not a hit, so it adds nothing to the numerator, and it is not an at-bat, so it does not enlarge the denominator either. This is not an oversight, it is the division of labour. On-base percentage measures how often a hitter avoids an out; slugging percentage measures how far he goes when he does not. Adding the two together gives OPS, which is why the pair are almost always quoted as a set.

The name is a historical accident worth flagging, because it causes real confusion. Slugging percentage is not a percentage and cannot be read as one. The theoretical maximum is 4.000, reached only by a hitter who homers in every single at-bat, and the practical ceiling for a great season is somewhere near .700 — a figure only a handful of players in history have cleared over a full year. A .500 slugging percentage means five total bases for every ten at-bats, not fifty per cent of anything.

Alongside the primary result this calculator reports isolated power, which is MLB's own published statistic and is defined in the official glossary two equivalent ways: slugging percentage minus batting average, or (1 × doubles + 2 × triples + 3 × home runs) divided by at-bats. Both forms are computed here and they agree to the tenth decimal place, which is a useful confirmation that the total-bases derivation is right. Isolated power is the cleanest single read on raw power, because it removes singles entirely — a hitter who slugs .500 on the back of 200 singles and one who slugs .500 on the back of 40 home runs have wildly different isolated power, and only the second one is a slugger in any meaningful sense.

Below the widget you will find the rule text verbatim, the total-bases derivation with the fast hand-check, a worked example reproducing the first 50-home-run 50-stolen-base season in Major League history from official MLB data, two further published seasons as independent checks, the qualifying rule for the slugging title, and an honest account of what slugging percentage still leaves out.

What is slugging percentage calculator?

Slugging percentage (SLG) is the number of total bases a hitter records per official at-bat. Official Baseball Rule 9.21(c) defines it as total bases of all safe hits divided by total times at bat. Total bases weight each hit by how far the batter got on it: one for a single, two for a double, three for a triple, four for a home run, with no credit for anything gained on the basepaths afterwards. Because the denominator is at-bats rather than plate appearances, walks, hit-by-pitches, sacrifice bunts and sacrifice flies are all invisible to it. The scale runs from .000 to a theoretical 4.000; a league-average Major League figure has sat near .400 in recent seasons, .500 marks a strong power hitter, and .600 or better over a full season is exceptional. The all-time single-season record, .863 by Babe Ruth in 1920, was set in a run environment nothing like the modern one. The slugging title carries the same qualifying threshold as the batting and on-base titles — Rule 9.22(a) names all three in a single sentence and requires 3.1 plate appearances per scheduled team game, which is 502 in a 162-game season. Slugging percentage can also be computed from the pitcher's side, where it is called slugging-percentage against. Its natural companion is on-base percentage: the two are added to form OPS, and neither is very informative about a hitter without the other.

How to use this calculator.

  1. Enter official at-bats. This is the same denominator batting average uses, so if you already have a batting average you can check your entry: hits ÷ at-bats should reproduce it.
  2. Enter the total hit figure, not just singles. The calculator subtracts doubles, triples and home runs from it to find singles, so entering singles here will understate every result.
  3. Enter doubles, triples and home runs from the box score. If the three of them add up to more than the hit total, the calculator will stop and tell you — that combination is impossible, since extra-base hits are a subset of hits.
  4. Read total bases first as a sanity check. The fast hand-check is hits + doubles + 2×triples + 3×home runs, which must equal the figure shown. Most published season lines include a total-bases column you can compare against.
  5. Read slugging percentage to three decimal places, the way baseball prints it, and remember that it is not a percentage — .646 means 646 total bases per thousand at-bats.
  6. Use isolated power to separate power from contact. Two hitters can slug identically while one is a singles machine and the other a slugger; only isolated power tells them apart, and roughly .200 is the modern dividing line for a genuine power bat.

The formula.

SLG = TB ⁄ AB, TB = 1B + 2·2B + 3·3B + 4·HR

Three steps, and the first is the one worth doing carefully.

Step one, singles. Box scores print hits, doubles, triples and home runs but almost never singles, because singles are the residual: 1B = H − 2B − 3B − HR. For a line of 197 hits with 38 doubles, 7 triples and 54 home runs, singles are 197 − 99 = 98. If that subtraction goes negative, the entry is wrong — extra-base hits are part of the hit total, not an addition to it, and this calculator refuses the input rather than producing a nonsense slugging percentage.

Step two, total bases. Weight each hit by its value: TB = 1B + 2×2B + 3×3B + 4×HR. Continuing the example: 98 + 76 + 21 + 216 = 411. There is a faster equivalent form that avoids computing singles at all, and it is the one to use when checking by hand: TB = H + 2B + 2×3B + 3×HR, because every hit is worth at least one base and each extra-base hit adds the surplus. 197 + 38 + 14 + 162 = 411, the same answer. Most official season lines publish a total-bases column, so this figure can always be verified against the source rather than trusted.

Step three, Rule 9.21(c): divide by at-bats. 411 ÷ 636 = 0.646226…, printed .646.

Isolated power follows from the same numbers by subtraction. Batting average is 197 ÷ 636 = .3097, so ISO = .6462 − .3097 = .3365. MLB's glossary gives an equivalent direct form, (1×2B + 2×3B + 3×HR) ÷ AB, which for this line is (38 + 14 + 162) ÷ 636 = 214 ÷ 636 = .3365. The two agree exactly, and they must: subtracting hits from total bases leaves precisely the extra bases beyond first.

One word on what the weights mean. The 1-2-3-4 scale is a measure of distance travelled, not of run value. In run-scoring terms a double is worth roughly 1.6 times a single rather than 2, and a home run roughly 2.6 times rather than 4, which is why weighted on-base average was developed with empirically fitted coefficients. Slugging percentage's weights are the geometry of the diamond, not a regression, and that is both its clarity and its limitation.

One precision note. This calculator carries every intermediate at full precision and rounds once at the display boundary, so the isolated-power figure is the exact difference of two exact quotients rather than the difference of two three-decimal roundings.

A worked example.

Example

Shohei Ohtani's 2024 season for the Los Angeles Dodgers was the first 50-home-run, 50-stolen-base year in Major League history — and it is a useful example precisely because the stolen bases are irrelevant to slugging percentage. MLB's official data feed gives his hitting line as 636 at-bats, 197 hits, 38 doubles, 7 triples and 54 home runs. Singles come out by subtraction: 197 − 38 − 7 − 54 = 98. Total bases weight each hit by its value: 98 + (38 × 2) + (7 × 3) + (54 × 4) = 98 + 76 + 21 + 216 = 411, which matches the total-bases figure MLB publishes exactly. Apply Rule 9.21(c): 411 ÷ 636 = 0.646226…, returned as 0.6462264151 and printed as .646, again exactly MLB's published figure. His 59 stolen bases contributed nothing to any of it, because total bases can only be earned by a hit. The supporting outputs tell the rest of the story. His batting average was .3097 — good, not extraordinary. His isolated power was .646 − .310 = .3365, which is enormous: for every ten at-bats he generated three and a third bases beyond simply reaching first. Checked the other way with MLB's direct formula, (1×38 + 2×7 + 3×54) ÷ 636 = 214 ÷ 636 = .3365, the same number to ten decimal places. That gap between a .310 batting average and a .646 slugging percentage is the entire case for the statistic: the hits were not remarkable in number, they were remarkable in size.

hits197
triples7
home Runs54
doubles38
at Bats636

Frequently asked questions.

What is the slugging percentage formula?
SLG = total bases ÷ at-bats. Official Baseball Rule 9.21(c) words it as "divide the total bases of all safe hits by the total times at bat". Expanded, that is (1B + 2×2B + 3×3B + 4×HR) ÷ AB, which is the form MLB's glossary prints. The fastest hand-check uses the equivalent expression H + 2B + 2×3B + 3×HR for the numerator, since every hit is worth at least one base.
How do I calculate total bases?
One base for a single, two for a double, three for a triple, four for a home run, and nothing for anything else. MLB's glossary is explicit that a player can only add to his total-bases tally through a hit and that advancing on the basepaths, even by stealing, has no impact. So a single, a stolen base and a wild pitch that moves the runner to third is still one total base. Reaching on an error or a walk is zero total bases, because neither is a hit.
Why isn't slugging percentage a real percentage?
Because its maximum is 4.000, not 1.000. A hitter who homered in every at-bat would post a slugging percentage of 4.000, and the name simply predates the statistical vocabulary that would have called it 'total bases per at-bat'. Read .500 as five total bases per ten at-bats, never as fifty per cent. The same naming quirk applies to on-base percentage, which genuinely is capped at 1.000 — so the two statistics share a suffix while living on different scales, which is one reason OPS, their sum, is a slightly odd construction.
Do walks count in slugging percentage?
No, in either direction. A walk is not a hit, so it adds nothing to total bases, and it is not an at-bat, so it does not enlarge the denominator. It leaves slugging percentage completely unchanged. The same goes for hit-by-pitches, sacrifice bunts and sacrifice flies. This is the deliberate division of labour between the two rate statistics: on-base percentage measures reaching base, slugging percentage measures how far the hit went. Neither is intended to answer the other's question.
What is a good slugging percentage?
Against a modern Major League baseline near .400, a .450 slugging percentage marks a solid regular, .500 a genuine power threat, and .600 an exceptional season. Only a handful of hitters have ever cleared .700 over a full qualifying year. As with every rate statistic the baseline moves with the run environment — the all-time single-season record of .863, set by Babe Ruth in 1920, came in conditions nothing like today's — so the number should always be read against its own league and season.
What is isolated power and how is it different from slugging?
Isolated power is slugging percentage minus batting average, and MLB publishes it as an official advanced statistic with an equivalent direct formula: (1×2B + 2×3B + 3×HR) ÷ at-bats. It strips the singles out, leaving only the extra bases. That matters because slugging percentage rewards contact and power together: a hitter with 200 singles and one with 40 home runs can slug the same figure. Isolated power tells them apart. Roughly .200 is the modern dividing line for a genuine power bat, and .300 is elite.
Can slugging percentage be lower than batting average?
No. Every hit is worth at least one total base, so total bases are always greater than or equal to hits, and the two statistics share the same denominator. Slugging percentage therefore equals batting average exactly when every hit is a single — in which case isolated power is .000 — and exceeds it otherwise. If this calculator shows an isolated power of zero, check whether you have left the extra-base hit fields at zero by mistake.
How many plate appearances do you need to qualify for the slugging title?
The same threshold as the batting and on-base titles. Rule 9.22(a) names all three championships in one sentence and requires the player to be credited with 3.1 plate appearances per scheduled team game — 162 × 3.1 = 502.2, rounded down to 502 in a standard Major League season, and 2.7 per game in the Minor Leagues. Note that the qualifier is counted in plate appearances even though the slugging denominator is at-bats.
Are the 1-2-3-4 weights correct in run-scoring terms?
No, and this is slugging percentage's real limitation. The weights measure distance round the bases, not the runs a hit actually produces. Empirical run-value studies put a double at roughly 1.6 times the value of a single and a home run at roughly 2.6 times, not 2 and 4. Slugging percentage therefore systematically overvalues the home run relative to the single. Weighted on-base average was built to fix exactly this by fitting the coefficients to observed run scoring instead of to the geometry of the diamond.
Can I use this calculator for a pitcher?
Yes — enter the line the pitcher allowed rather than the one a hitter produced, and the result is slugging-percentage against, which MLB tracks as an evaluative tool for pitchers. It is particularly useful in platoon splits, because a pitcher cannot have a separate ERA against left-handed hitters: they are interspersed with right-handers in the batting order, so rate statistics computed from the batter's side are the only way to isolate the split.

References& sources.

  1. [1]Office of the Commissioner of Baseball (2025). Official Baseball Rules, 2025 Edition, Rule 9.21(c): "Slugging percentage, divide the total bases of all safe hits by the total times at bat, as defined in Rule 9.02(a)". Rule 9.21(b) on the same page contains the explicit disambiguation from batting average — divide safe hits "(not the total bases on hits)" by at-bats.
  2. [2]Office of the Commissioner of Baseball (2025). Official Baseball Rules, Rule 9.06 (Determining Value of Base Hits) and Rule 9.02(a)(8): the scorer scores each base hit as a one-base hit, two-base hit, three-base hit or home run, and reports "Total bases on safe hits" as its own column. Source of the 1/2/3/4 weighting. Rule 9.22(a) gives the 3.1-plate-appearance qualifying standard shared by the batting, slugging and on-base titles.
  3. [3]Major League Baseball. Official MLB Glossary, "Total Bases (TB)": "A batter records one total base for a single, two total bases for a double, three total bases for a triple and four total bases for a home run… A player can only add to his total-bases tally through a hit. Advancing on the basepaths -- even via a steal -- has no impact on a player's total bases."
  4. [4]Major League Baseball. Official MLB Glossary, "Slugging Percentage (SLG)": "Slugging percentage represents the total number of bases a player records per at-bat… the formula for slugging percentage is: (1B + 2Bx2 + 3Bx3 + HRx4)/AB", plus the note that it excludes walks and hit-by-pitches and can be applied to pitchers as slugging-percentage against.
  5. [5]Major League Baseball. Official MLB Glossary, "Isolated Power (ISO)": "The formula (1x2B + 2x3B + 3xHR) / At-bats OR Slugging percentage - Batting average". Both forms are computed on this page and agree to ten decimal places.
  6. [6]MLB Stats API (statsapi.mlb.com), season hitting statistics for player 660271 (Shohei Ohtani), 2024: 636 at-bats, 197 hits, 38 doubles, 7 triples, 54 home runs, totalBases 411, published slg ".646". Source of the worked example; the same endpoint for players 592450 and 677951 supplies the two independent checks used in this calculator's unit tests.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 590 calculators remain free
  • No billing is enabled
Coming soon