Slugging Percentage Calculator
Slugging percentage is total bases divided by at-bats, and the only fiddly part is the total: a single is one base, a double two, a triple three and a home run four. Type the counts and this page adds them up, so 100 singles, 30 doubles, 3 triples and 25 home runs is 100 + 60 + 9 + 100 = 269 total bases, and 269 over 550 at-bats is .489. What it does differently is read the line the way a box score prints it: switch to From a box score, enter the hits column beside the doubles, triples and home runs, and the singles are worked out and shown (158 - 30 - 3 - 25 = 100) instead of being left to you. The three decimals are rounded on the exact division rather than on a floating-point number, so 979 total bases in 2,000 at-bats prints .490 where rounding the double would give .489, and the unrounded quotient sits beside the answer (0.489090909091 for the line above). A line no game could produce is refused with the count that is too high named: 12 hits in 10 at-bats gets a sentence, never a figure above 4.000. Nothing is uploaded, nothing is gated, and the page knows no player, team or season.
Enter each kind of hit: singles, doubles, triples and home runs, and the at-bats they came in.
total bases, and
At-bats leave out walks, hit by pitch, sacrifice hits and sacrifice flies, so a figure worked out on plate appearances instead reads low.
Three lines, worked
Every line below is computed by the code that answers the calculator above, so the examples and the tool can never disagree.
Common questions
- How do you calculate slugging percentage?
- Add up the bases, then divide by at-bats. A single is worth one base, a double two, a triple three and a home run four, so 100 singles, 30 doubles, 3 triples and 25 home runs is 100 + 60 + 9 + 100 = 269 total bases, and 269 divided by 550 at-bats is 0.489090909091, printed .489. The page shows that line of arithmetic under the figure with your own counts in it, so a number typed into the wrong field is easy to spot.
- What counts as a total base?
- Only the bases the batter reaches on the hit itself: one for a single, two for a double, three for a triple and four for a home run. A walk, a hit by pitch and reaching on an error are worth nothing here, and neither is a stolen base or a base taken on someone else's hit. That is why slugging can pass 1.000 where a batting average cannot: 10 home runs in 10 at-bats is 40 total bases and 4.000.
- How is slugging percentage different from batting average?
- Batting average counts hits and slugging counts bases, so the two match only when every hit is a single: 158 singles in 550 at-bats is .287 whichever way you count it. Give those same 158 hits 30 doubles, 3 triples and 25 home runs and the slugging figure is .489. This page prints the hits and the at-bats it used beside the figure, so the average is one division away from what is already on screen.
- My box score lists hits, doubles, triples and home runs, not singles. Can I use it?
- Yes: switch the mode to From a box score. The hits column already contains the extra-base hits, so the singles are what is left over, and the page does that subtraction and shows it: 158 - 30 - 3 - 25 = 100, which gives the same .489. If the hits column is smaller than the doubles, triples and home runs inside it, the line was mistyped, and the page names both totals instead of working out a negative number of singles.
- Do walks count in slugging percentage?
- No, in neither half of the figure. A walk is not a hit, so it adds no total bases, and it is not an at-bat, so it does not enlarge the divisor. At-bats leave out walks, hit by pitch, sacrifice hits and sacrifice flies. Put plate appearances in the at-bats field by mistake and the figure reads low: the same 269 total bases over 620 plate appearances gives .434 instead of .489.
- What is the highest possible slugging percentage?
- 4.000, which is every at-bat a home run: 10 home runs in 10 at-bats is 40 total bases divided by 10. Nothing higher is arithmetically possible, because a batter cannot have more hits than at-bats and the most one hit can be worth is four bases. A line with more hits than at-bats is refused here, with the count that is too high named, so no figure above 4.000 is ever printed.
- Why has the calculator refused my line?
- Every refusal names the field and what to change. A line is turned down for more hits than at-bats (12 hits in 10 at-bats cannot happen), a hits column smaller than the extra-base hits it contains, zero at-bats, a count that is negative or fractional, an entry that is not a number at all, or a count so large that the total bases would stop being exact, in which case the largest whole number the page can hold is named. Blank hit counts are not a refusal: they are read as none, and the note under the figure says which fields were left empty.
- Can a batter with no at-bats have a slugging percentage?
- No. Slugging is a division by at-bats, and there is nothing to divide by, so a batter who only walked or laid down sacrifices has no slugging percentage rather than a figure of zero. The page says that instead of printing something. A batter who did have at-bats and no hits does have one: 0 total bases in 10 at-bats is .000.
- Is the figure rounded?
- To three decimals, in the leading-point form the sport prints, and the rounding runs on the exact division rather than on a floating-point number. 979 total bases in 2,000 at-bats is exactly 0.4895, which rounds to .490, while rounding the nearest double gives .489. When the figure lands exactly on three decimals the page says so: 8 total bases in 10 at-bats is .800 exactly. Otherwise the unrounded quotient is printed beside it, as 0.489090909091 is for 269 over 550.
- What is a good slugging percentage?
- This page will not rank a figure, because it knows no season, and what counts as good moves with the era and the ballpark. What the arithmetic does give you is the scale: .000 is no hits at all, a line of nothing but singles equals its own batting average (158 singles in 550 at-bats is .287), and 4.000 is a ceiling only a home run every at-bat reaches.
- Does it work out OPS or on-base percentage?
- No. On-base percentage needs walks, hit by pitch and sacrifice flies, which this page does not ask for, and OPS is on-base percentage plus slugging. This page does the slugging half only, from the hit counts and the at-bats, and prints the total bases it used so the other half can be added elsewhere.
- Is my batting line sent anywhere?
- It stays in this browser. The counts you typed are remembered locally so the page opens where you left it, and nothing is uploaded or logged. If storage is blocked or full the calculator still works, it simply forgets. The page knows no player, team or season: it is arithmetic on the numbers you hand it.
Exact arithmetic: a single is one base, a double two, a triple three and a home run four, and slugging is total bases divided by at-bats, printed to three decimals in the usual leading-point form. A line with more hits than at-bats is refused because no game can produce it. It knows no player, team or season.