Calculate the sales tax amount and total price including tax for any purchase, or work backward from a total to find the pre-tax price.