To calculate sales tax, first convert the sales tax from a percentage to a decimal by moving the decimal 2 places to the left. Then multiply the cost of the item or service by that decimal to get the sales tax. Remember to add the sales tax to the cost of the item or service to get the total amount you will pay for it.