Baseball

Slugging Percentage Calculator

Total bases per at-bat. Enter hits and the extra-base hits from a stat line; the calculator works out singles and total bases for you.

Updated · Sources

All hits, extra-base hits included.

BaseballBatting

Slugging percentage

.505

Total bases
278
Batting average
.300
Extra bases per AB
.205
Working278 total bases ÷ 550 = .505

Total bases

HitCountBases eachBases
Singles105× 1105
Doubles32× 264
Triples3× 39
Home runs25× 4100
Total bases165278

All figures

FigureValue
Batting average (AVG)165 ÷ 550 = .300.300
Slugging percentage (SLG)278 total bases ÷ 550 = .505.505

How it works

Slugging percentage is total bases divided by at-bats. A single is worth one base, a double two, a triple three and a home run four, so it rewards power in a way batting average does not.

Stat lines list hits, doubles, triples and home runs, but not singles. The calculator takes the extra-base hits away from the hits to get the singles, then adds up the bases.

Walks and hit-by-pitches are not part of slugging. Despite the name, it is not a percentage: it runs from .000 to 4.000.

The formula

Formula
singles     = hits − doubles − triples − home runs
total bases = singles + 2 × doubles + 3 × triples + 4 × home runs
SLG         = total bases ÷ at-bats

Worked example

A season of 165 hits in 550 at-bats, with 32 doubles, 3 triples and 25 home runs.

  1. Singles: 165 − 32 − 3 − 25 = 105.
  2. Total bases: 105 + 2 × 32 + 3 × 3 + 4 × 25 = 278.
  3. 278 ÷ 550 = .505.
  4. Take away the batting average (.300) and .205 is left: the extra bases per at-bat that came from doubles, triples and home runs.

Questions

Do walks count in slugging percentage?

No. Only hits add bases. Walks, hit-by-pitches and stolen bases do not count, and walks are not at-bats either.

What is the highest possible slugging percentage?

4.000, a home run in every at-bat. It is not a true percentage, which is why it can go above 1.000.

What is “extra bases per at-bat”?

Slugging minus batting average. Batting average counts one base for every hit; whatever slugging adds on top of that comes from doubles, triples and home runs.

How many at-bats do you need to qualify for the batting title?

It is counted in plate appearances, not at-bats. Rule 9.22 sets the minimum at 3.1 plate appearances for every game on the team’s schedule: 502 in a 162-game season. A player short of that can still win if their average stays highest after the missing plate appearances are added as hitless at-bats. The same rule covers slugging and on-base percentage.

Add this calculator to your site

Team, league or blog? You can put this calculator on your own site for free. Copy the code below into your page’s HTML. The calculator updates itself whenever we improve it.

The short script lets the frame grow to fit the calculator on your page. Please keep the credit line underneath it.

Sources

  1. Major League Baseball. Official Baseball Rules, 2026 edition. Rule 9.02(c)(1) comment (each out is one third of an inning pitched), rule 9.21 (how to compute batting average, slugging percentage, earned run average and on-base percentage, with a worked ERA example) and rule 9.22 (minimum plate appearances and innings to qualify for a title).
  2. MLB.com glossary: Slugging Percentage (SLG). Formula (1B + 2B × 2 + 3B × 3 + HR × 4) ÷ AB; walks and hit-by-pitches are not included.