Slugging in baseball is an important statistic that measures a player's ability to hit for power. The Slugging Percentage (SLG) is calculated by dividing the total number of bases a player has earned from hits, including home runs, doubles, triples and singles, by the total number of at-bats. It is a much better measure of a hitter's power than average because it takes into account extra base hits. A high slugging percentage indicates that the batter is able to hit for more power than other players and can be used to compare hitters across different eras.