Calculating total cost.Multiply the cost of the item or service by the sales tax in order to find out the total cost.The equation looks like this:Itemorservicecostxsalestax(indecimalform)=totalsalestax.Add the total sales tax to the item or service cost to get your total cost.