Pricing with profit margin, markup, and sales tax
Retailers must set a net selling price that covers cost, hits a profit target, and still accounts for sales tax collected on behalf of tax authorities. This calculator starts from your cost of goods, applies either a target profit margin or markup, then adds the applicable sales tax rate to show the final gross price the customer pays.
Sales tax is typically calculated on the pre-tax net price, not on your cost base. For margin and markup fundamentals without tax, use the margin calculator. For VAT-inclusive pricing, see the margin and VAT calculator. Missouri retailers can estimate combined state and local rates with the Missouri sales tax calculator. For general before-tax, after-tax, and tax-rate calculations, use the sales tax calculator.
Key formulas
When you enter markup instead of margin, net price equals cost multiplied by (1 + markup/100). Profit margin is always profit divided by net price, while markup is profit divided by cost.
Worked example
A product costs $100. You want a 25% profit margin and face an 8% sales tax. Net price = $100 ÷ 0.75 = $133.33. Profit is $33.33 (25% of net price). Sales tax = $133.33 × 8% = $10.67. The customer pays $144.00 gross.
Frequently asked questions
Is sales tax part of my revenue?
Should I set prices using margin or markup?
Do all states tax the same base?
What if my target margin is 100%?
Resources and references
The formulas and methods in this calculator were checked against these independent sources.