Calculate total bases from each hit type, see how the bases are distributed, or find the whole total-base count needed for a target slugging percentage.

Required: singles, doubles, triples, and home runs from the same scope. At-bats are optional for SLG.

When supplied, at-bats add slugging percentage to the result.
Enter SLG as a decimal, such as 0.500.