Slugging percentage in baseball is calculated by dividing a player’s total bases by their at-bats.

Formula

SLG=1B+2(2B)+3(3B)+4(HR)ABSLG=\frac{1B+2(2B)+3(3B)+4(HR)}{AB}SLG=AB1B+2(2B)+3(3B)+4(HR)​

  • 1B = singles.
  • 2B = doubles.
  • 3B = triples.
  • HR = home runs.
  • AB = at-bats.

What it means

A single counts as 1 base, a double as 2, a triple as 3, and a home run as 4, so extra-base hits are valued more heavily than singles. Walks, hit-by- pitches, and sacrifice plays are not included because they are not at-bats.

Quick example

If a player has 10 singles, 5 doubles, 2 triples, and 3 home runs in 100 at- bats, their total bases are 10+10+6+12=3810+10+6+12=3810+10+6+12=38, so their slugging percentage is .380.