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

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

Work out slugging percentage from at-bats, hits, doubles, triples and home runs, with total bases, singles, batting average and isolated power alongside.

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 per official at-bat, on a scale from .000 to 4.000; baseball prints it to three decimals.
Total bases
411
Singles (1B)
98
Extra-base hits (XBH)
99
Batting average
0.3097
Isolated power (ISO)
0.3365

Background.

Picture two hitters with 600 at-bats each. One collects 180 singles and nothing else, a .300 batting average. The other manages only 140 hits, a .233 average, but 20 of them are doubles and 40 are home runs. Batting average prefers the first hitter by a wide margin. Slugging percentage turns the order round, .300 for the singles hitter and .467 for the one who drives the ball, because it counts how many bases each hit was worth, not only whether it happened.

The definition is one clause of Official Baseball Rule 9.21(c): divide the total bases of all safe hits by the total times at bat. A single is worth one base, a double two, a triple three and a home run four. Nothing else adds to the total. A stolen base, a runner moving up on a wild pitch, a walk or an error contributes nothing, because total bases are earned only with hits.

The denominator is official at-bats, the same one batting average uses, so slugging takes no notice of walks, hit-by-pitches or sacrifices: they are neither hits nor at-bats, and they change neither the top nor the bottom of the fraction. That is a division of labour rather than an oversight. On-base percentage measures how often a hitter reaches base, slugging how much each hit is worth, and adding the two gives OPS.

The name misleads. Slugging percentage is not a percentage at all but total bases per at-bat, with a ceiling of 4.000 for a batter who homers every time up. A .500 slugging percentage means five bases for every ten at-bats. Major League Baseball as a whole has slugged close to .400 in recent seasons, and Barry Bonds's .863 in 2001 is the single-season record.

You enter the line as box scores and season tables print it: at-bats, hits, doubles, triples and home runs. Singles are found by subtraction, which avoids counting the extra-base hits twice.

What is slugging percentage calculator?

Slugging percentage (SLG) is total bases divided by official at-bats. Total bases weight each hit by the base the batter reached on it, one to four, and MLB's glossary is explicit that a player can add to that tally only through a hit. Baseball prints SLG to three decimal places with no leading zero, so 0.6462 appears as .646.

It always sits at or above batting average, because both share the same denominator and every hit is worth at least one base. The gap between them is isolated power (ISO), which MLB publishes in two equivalent forms: slugging minus batting average, or (doubles + 2 × triples + 3 × home runs) ÷ at-bats. ISO counts only the extra bases beyond first, so it isolates power from contact. A hitter of nothing but singles has an ISO of .000. Slugging's usual partner is on-base percentage, (H + BB + HBP) ÷ (AB + BB + HBP + SF); the sum of the two is OPS, the most quoted one-number summary of a hitter.

Slugging can be worked out for anyone who has batted: a single game, a season, a career, a team, or, from the other side, the batters a pitcher has faced, where it is called slugging percentage against. For the league leaderboard, Rule 9.22(a) sets the same qualifying standard as for the batting and on-base titles, 3.1 plate appearances per scheduled team game, which is 502 in a 162-game season.

How to use this calculator.

  1. Enter official at-bats, the AB column of a season table, not plate appearances (PA), which is the larger figure. Walks, hit-by-pitches and sacrifice bunts and flies are already left out of AB, so do not subtract them again.
  2. Enter total hits, including the extra-base hits. A season line that reads 197 H, 38 2B, 7 3B, 54 HR has 197 hits in all, of which 98 were singles.
  3. Enter doubles, triples and home runs. If together they come to more than the hit total, the line is impossible and the calculator will stop and say so; hits also cannot exceed at-bats.
  4. Check total bases against the source. Most season tables print a TB column, and the quick hand check is hits + doubles + 2 × triples + 3 × home runs.
  5. Read slugging to three decimals, the way baseball prints it, then compare it with batting average and isolated power to see how much of the figure comes from power.

The formula.

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

Three steps get from a box-score line to the result. First, singles: 1B = H − 2B − 3B − HR, because the hit total already contains every double, triple and home run. Second, total bases: TB = 1B + 2 × 2B + 3 × 3B + 4 × HR. An equivalent form skips the singles step, TB = H + 2B + 2 × 3B + 3 × HR, since every hit is worth at least one base and each extra-base hit adds its surplus. Third, the rule: SLG = TB ÷ AB.

Batting average is H ÷ AB, and isolated power is the difference, SLG − AVG. Subtracting hits from total bases leaves exactly the extra bases, so ISO also equals (2B + 2 × 3B + 3 × HR) ÷ AB, and the two routes agree to the last digit.

All five inputs are counts, so they must be whole numbers. At-bats must be at least one, hits cannot exceed at-bats, and doubles, triples and home runs together cannot exceed hits, which would leave a negative number of singles.

The weights 1, 2, 3 and 4 measure distance round the bases, not runs. Run-value research, the linear weights behind statistics such as weighted on-base average, finds that a double is worth less than two singles in runs produced and a home run well under four, because much of a hit's value lies in not making an out and in moving runners already on base, which a single does nearly as well as a double. Slugging percentage therefore leans toward extra-base hits, home runs most of all. That is part of why it is usually read alongside on-base percentage rather than alone.

Because it is a ratio, every hitless at-bat lowers it. A single extra at-bat with no hit takes the 2024 line in the worked example from .6462 to .6452.

A worked example.

Example

Shohei Ohtani's 2024 season with the Los Angeles Dodgers, as MLB's statistics feed records it: 636 at-bats, 197 hits, 38 doubles, 7 triples and 54 home runs. Singles first: 197 − 38 − 7 − 54 = 98. Total bases: 98 + 38 × 2 + 7 × 3 + 54 × 4 = 98 + 76 + 21 + 216 = 411. The quick check gives the same figure: 197 + 38 + 2 × 7 + 3 × 54 = 197 + 38 + 14 + 162 = 411, matching the total MLB publishes. Divide by at-bats: 411 ÷ 636 = 0.6462, printed .646. His 59 stolen bases that year, which made it the first 50-homer, 50-steal season in the majors, add nothing; bases taken on the basepaths are not total bases. His batting average was 197 ÷ 636 = .3097, so isolated power is .6462 − .3097 = .3365. The direct route agrees: (38 + 2 × 7 + 3 × 54) ÷ 636 = 214 ÷ 636 = .3365, roughly double the figure for the league as a whole. Barry Bonds also had 411 total bases in 2001, in only 476 at-bats, which is how the same total became an .863 slugging percentage. Slugging rewards bases per opportunity, not bases in bulk.

hits197
triples7
home Runs54
doubles38
at Bats636

Frequently asked questions.

What counts toward total bases?
Only hits: one base for a single, two for a double, three for a triple and four for a home run, whether it clears the fence or is inside the park. A ground-rule double counts two. Stolen bases, advancing on a throw or a wild pitch, walks and reaching on an error count nothing, because MLB credits total bases only through a hit. If a batter singles and takes second on the throw, the scorer still records a single, and the extra base goes down to the throw.
Why does reaching on an error lower my slugging percentage?
Because it still counts as an at-bat but earns no total bases, as does a fielder's choice. The denominator grows and the numerator does not. Add one such at-bat to the 2024 line in the worked example and slugging falls from .6462 to .6452, and batting average from .3097 to .3093. Every out costs the same here, too: a strikeout and a 400-foot fly ball caught at the wall lower slugging by exactly the same amount.
Do walks, hit-by-pitches and sacrifices change slugging?
No. None of them is a hit, so they add no total bases, and none of them is an official at-bat, so they leave the denominator alone. A hitter who walks a hundred times gets no credit here at all; that skill shows up in on-base percentage instead, which is why the two are usually quoted together.
What is a good slugging percentage?
Judge it against the league and era. MLB as a whole has slugged close to .400 in recent seasons, so .500 over a full season marks a strong power hitter and .600 an exceptional one. Babe Ruth's .847 in 1920 stood as the single-season record until Barry Bonds slugged .863 in 2001.
What does isolated power tell me that slugging doesn't?
How much of the slugging comes from extra-base hits. In the opening example, the 180-singles hitter slugs .300 with an isolated power of .000, while the 40-homer hitter slugs .467 with an ISO of .233. League-wide ISO has run at roughly .150 to .170 in recent seasons, so Ohtani's .3365 in 2024 was about double the norm.
Why does a walk-off hit sometimes count as fewer bases?
Rule 9.06 limits a game-ending hit that drives in the winning run to as many bases as the runner who scores the winning run advanced, provided the batter runs out that many. A drive to the wall that brings the winning run home from third is scored a single, however far it went. A home run hit out of the park is the exception and counts four.
Can slugging percentage be lower than batting average?
No. Both divide by at-bats and every hit is worth at least one base, so total bases can never be less than hits. Slugging equals batting average only when every hit is a single, leaving an isolated power of zero. If the calculator shows that for a hitter you know has power, check whether the extra-base fields were left at 0.
How many plate appearances does a slugging title need?
Rule 9.22(a) applies the same standard to the slugging, batting and on-base titles: 3.1 plate appearances per scheduled team game, which is 502 in a 162-game season. The test counts plate appearances, so walks and sacrifices help a player qualify even though the slugging calculation itself uses at-bats.
How do I combine several seasons or players?
Add the counts and divide once; do not average the slugging percentages. Two seasons of 411 total bases, one in 636 at-bats and one in 476, give 822 ÷ 1,112 = .739 combined, not the .755 you get by averaging .646 and .863, because the longer season deserves more weight. The same rule applies to team totals.
Can I use this for a pitcher?
Yes. Enter the at-bats, hits, doubles, triples and home runs a pitcher allowed, and the result is slugging percentage against, a use MLB's glossary describes. It measures the damage done per at-bat against him, kept separate from the walks he issues, which belong to on-base percentage against.

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 two independent checks of this calculator.

How this page was produced

Published by
Quanta Calculator
Primary sources
6 cited below
Method
SLG = TB ⁄ AB, TB = 1B + 2·2B + 3·3B + 4·HR
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

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