CalcWorldHub
Sports · CalcWorldHub

Baseball Slugging Percentage: Calculate Total Bases per At-Bat

Slugging percentage (SLG) is total bases divided by at-bats, not the percentage of times a batter reaches base. A line with 90 singles, 28 doubles, 4 triples, 20 home runs, and 420 at-bats has 238 total bases, so SLG = 238/420 = .567. Each hit type contributes its base value.

Open calculator
A baseball diamond is marked with a single, double, triple, and home run as increasing base values.

Share this article

Singles, doubles, triples, and home runs are weighted as one, two, three, and four total bases.
Add weighted total bases before dividing by official at-bats.

Convert hit types into total bases

Use SLG = (1B + 2×2B + 3×3B + 4×HR) ÷ AB. The inputs are singles, doubles, triples, home runs, and official at-bats. A single contributes one base, a double two, a triple three, and a home run four. The weighted sum is total bases; dividing by at-bats yields bases per official at-bat.

The formula weights a hit by the bases reached on that hit and does not count walks or hit-by-pitches in the numerator. A home run is four bases, not one hit plus a separate run value; runs batted in and stolen bases are not inputs. Keep the hit-type counts exclusive: each hit belongs to exactly one of singles, doubles, triples, or home runs.

Use at-bats from the same scoring line

At-bats are not identical to plate appearances. Walks, hit-by-pitches, sacrifices, and certain other outcomes do not become at-bats under official scoring. Copy AB and all four hit counts from the same player and period. The calculator requires at least one at-bat, nonnegative whole hit counts, and no more total hits than at-bats; it cannot verify whether a source classified an event correctly.

When you aggregate multiple games, sum counts first and then divide total bases by total at-bats. Averaging each game’s SLG equally would give a low-at-bat game the same weight as a high-at-bat game and generally would not reproduce the combined rate. The ratio is weighted by actual at-bats because each at-bat contributes to the denominator.

Calculate total bases before dividing

For 90 singles, 28 doubles, 4 triples, and 20 home runs, total bases are 90 + 2×28 + 3×4 + 4×20 = 238. With 420 at-bats, SLG = 238/420 = .566666…, displayed to three decimals as .567. A second line of 62 singles, 19 doubles, 2 triples, and 4 home runs gives 62+38+6+16=122 total bases; with 320 at-bats, the rate is .38125, shown as .381 by the calculator’s three-decimal formatting.

Check the weighted sum separately before dividing. A frequent error is to add the hit counts and divide by at-bats, which gives hits per at-bat rather than bases per at-bat. Another is to count a home run as one base or to include a walk as a zero-base at-bat. Keep category totals and AB aligned with the official record; the formula cannot repair a mismatched denominator.

Worked examples

Extra-base production over 420 at-bats

Inputs: Singles = 90; doubles = 28; triples = 4; home runs = 20; AB = 420

Calculation: 90 + 2×28 + 3×4 + 4×20 = 238 TB; 238 ÷ 420 = .566666…

SLG displays as .567 bases per at-bat.

A different mix with fewer total bases

Inputs: Singles = 62; doubles = 19; triples = 2; home runs = 4; AB = 320

Calculation: 62 + 2×19 + 3×2 + 4×4 = 122 TB; 122 ÷ 320 = .38125

The calculator displays .381 bases per at-bat.

The baseball diamond shows the one-, two-, three-, and four-base values used for each hit type.
Use each official hit category once, with its base weight.

Interpret the rate as production per at-bat

SLG is expressed as a decimal and can exceed 1.000 because a batter can earn more than one base in an at-bat. For example, 238 total bases over 420 at-bats is .567 bases per at-bat, not a 56.7% chance of a hit. It combines how often hits occur with how many bases those hits produce, but it does not include walks or count runs directly.

OBP answers a different question: how often a batter reaches base through the defined hit, walk, or hit-by-pitch events. A batter can have a strong OBP from walks and a lower SLG if the hits are mostly singles. Compare both measures when you want a quick distinction between getting on base and generating bases from hits; do not treat either one alone as total offensive value.

Keep the comparison fair

The calculator returns the rate from the entered count totals and formats it to three decimals. It does not adjust for league, park, season, or the quality of opposing pitching. Use comparable seasons and competition when comparing players, and keep the source’s official hit classifications. For a single-player spot check, multiply the displayed value by at-bats to get an approximate total-base count; use the unrounded fraction for an exact check.

If the output looks wrong, confirm each hit count is nonnegative and whole, their sum does not exceed AB, and the numerator applies the 1–2–3–4 weights. A value of zero is possible when there are at-bats but no recorded hits. The rate is undefined with zero at-bats, which is why the tool requires a positive denominator. For reach-base frequency, use the on-base percentage calculator instead.

Sources and further reading

Share this article

Browse all articles · Calculator: Baseball slugging percentage calculator