Slugging Percentage Calculator: SLG, Total Bases and OPS

Slugging Percentage Calculator

Enter official at-bats and each hit type. Get SLG, total bases, batting average and power metrics instantly.

Batting line
Exclude walks, HBP and sacrifice flies.

Slugging percentage (SLG)
Total bases
Batting average (AVG)
Isolated power (ISO)

Optional: calculate OBP and OPS

Add the plate appearances not counted as at-bats. Intentional walks belong in walks.

OPS (OBP + SLG)OBP —

Optional: combine another game or period

Enter an additional line to compare the combined result.

Optional: total bases needed for a target SLG
Enter 0.900, not 90.

Calculate the batting line first.

Slugging percentage formula

Total bases = 1B + (2 × 2B) + (3 × 3B) + (4 × HR)
SLG = total bases ÷ at-bats

SLG is conventionally written with three decimal places and no leading zero in baseball displays. Unlike a true percentage, it can exceed 1.000 and has a theoretical maximum of 4.000. Walks, hit-by-pitch events and sacrifice flies do not count as at-bats or total bases.

This tool also reports AVG = hits ÷ AB, ISO = SLG − AVG, OBP = (H + BB + HBP) ÷ (AB + BB + HBP + SF), and OPS = OBP + SLG. See the MLB glossary definition of SLG.

Checked examples

1B / 2B / 3B / HRABTotal basesSLG
10 / 5 / 1 / 45039.780
30 / 10 / 2 / 815088.587
0 / 0 / 0 / 0200.000
5 / 0 / 0 / 0105.500
0 / 0 / 0 / 510202.000
60 / 20 / 5 / 15300175.583

Limits and input notes

  • Hits cannot exceed at-bats; the calculator rejects impossible stat lines.
  • Use official at-bats rather than all plate appearances.
  • The target tool uses whole total bases, so it rounds the requirement upward.
  • Results describe the entered sample only; they do not predict future performance.

Related tools: use the Win Percentage Calculator for team records or the Percentage Calculator for general percentage changes.