Boneyard Tools

Slugging Percentage and OPS Calculator

Break a batter's line into at bats, singles, doubles, triples and home runs, and this tool returns total bases and slugging percentage on the spot. Add an on-base percentage and it also computes OPS, the popular on-base-plus-slugging number. Everything runs in your browser, so you can rate a season, a game log, or a made-up line without an account.

How to calculate slugging percentage

  1. Enter the batter's official at bats in the At bats field.
  2. Fill in the counts for singles, doubles, triples and home runs.
  3. Read the Total bases and Slugging cards for the results.
  4. Enter a value in On-base percentage to also fill the OPS card.
  5. Click Copy result to save the slugging and OPS figures.

Examples

Full power line with OBP

AB 500, 1B 100, 2B 30, 3B 5, HR 25, OBP .350
Total bases 275, SLG .550, OPS .900

Contact hitter, singles only

AB 400, 1B 120, 2B 0, 3B 0, HR 0
Total bases 120, SLG .300

Two home runs in four at bats

AB 4, 1B 0, 2B 0, 3B 0, HR 2
Total bases 8, SLG 2.000

Frequently asked questions

How is slugging percentage calculated?

Slugging percentage is total bases divided by at bats. Total bases weight each hit by its value: singles count 1, doubles 2, triples 3 and home runs 4. So total bases equals 1B plus 2 times 2B plus 3 times 3B plus 4 times HR, and dividing by at bats gives SLG.

What is OPS and how do I get it here?

OPS is on-base plus slugging, the simple sum of on-base percentage and slugging percentage. It rewards both reaching base and hitting for power in one number. This tool adds the on-base percentage you enter to the slugging it computes, so leave OBP at zero if you only want SLG.

How is slugging different from batting average?

Batting average counts every hit the same, dividing total hits by at bats. Slugging percentage rewards extra-base hits, so a doubles-and-homers hitter can post a slugging figure far above their batting average while a singles hitter stays close to it.

What is a good slugging percentage?

In modern Major League Baseball a slugging percentage near .400 is roughly league average, .500 is very good, and .550 or higher marks elite power. Context like the era and ballpark shifts these bars, but they are useful rough anchors.

Can slugging percentage be greater than 1.000?

Yes. Because one at bat can produce up to four total bases, slugging is not capped at 1.000 the way batting average is. The theoretical maximum is 4.000, a home run in every at bat, and small samples like the two-homers-in-four example easily clear 1.000.

What counts as an at bat here?

Use official at bats, which exclude walks, hit by pitch, sacrifices and catcher interference. Since slugging divides total bases by at bats and those plate appearances are not at bats, adding them would distort the result.

Why do my hit totals need to fit inside at bats?

Every single, double, triple and home run is also an at bat, so the sum of your four hit counts cannot be larger than the at bats you entered. If it is, the tool shows a message asking you to fix the numbers rather than returning a nonsensical rate.

Do I have to fill in every hit type?

No. Leave any hit type at zero if the batter had none. A line with only singles still produces a valid slugging percentage, and the totals update as soon as you change a field.

Is my data sent anywhere?

No. The calculation happens entirely in your browser, so the stat lines you enter are never uploaded or stored on a server. Refreshing the page simply resets the fields to their defaults.

Learn more

Related tools