Sales Tax Markup Calculator
Price for a target margin, with tax kept out of it.
Set a price for a target margin and add sales tax correctly, whether your market displays prices inclusive or exclusive.
Rates change with budgets and local ballot measures, and the rate that applies depends on the delivery address and product category. Treat these as planning figures, not as a filing.
Price to display
$40.00
$40.00 net at 55% margin
Sales tax is a pass-through, so it never enters the margin calculation. Your margin is 55% of $40.00, regardless of what the tax adds at checkout.
How the Sales Tax Markup Calculator works
Sales tax is a pass-through, so it should never enter your margin calculation. You are collecting it on someone else's behalf. The mistake that costs money is marking up the tax-inclusive figure, which quietly shrinks your real margin in every market that displays inclusive prices.
Also known as: pricing with sales tax · markup and tax calculator · price before and after tax
The maths behind it
This is the pricing question underneath sales tax: given a target margin and a tax rate, what should the displayed price be, and what does the customer actually pay?
Displayed price = cost ÷ (1 − target margin). Customer total = displayed × (1 + tax rate). The tax sits outside the margin calculation entirely, because it is collected rather than earned.
Putting numbers to it
A $26.10 cost and a 55% target margin: the displayed price is $58. At a 9% combined rate the customer pays $63.22 and the business keeps $58.
The error worth avoiding is building the tax into the margin calculation: taking $63.22 as the price and computing margin against it gives 58.7%, which is not margin, it is margin plus a tax that belongs to a state.
Under a VAT system the arithmetic reverses. A £58 inclusive price at 20% VAT is £48.33 net, and margin on a £21.75 cost is 55%, so the same $58 headline supports the same margin only because the net figure was used.
Where it is unreliable
In tax-exclusive markets the customer's total varies by location while the margin does not, which means the business is insulated and the customer is not. In tax-inclusive markets it is the reverse.
Comparing a US displayed price against a European one is therefore comparing different things. A $58 US price and a £58 UK price differ by the whole VAT rate before any currency conversion.
How to act on this
Set the price from cost and target margin, and treat tax as a separate layer applied afterwards. That sequencing is what keeps the margin figure meaningful across jurisdictions.
Then check the customer-facing total in your main markets. A price that hits the margin target and produces an uncomfortable total after tax is worth knowing about before launch rather than after.
Pricing across both conventions
A business selling in both a sales tax market and a VAT market has to decide whether the headline number stays the same or the net does. Keeping the headline constant means the VAT market yields a fifth less; keeping the net constant means the VAT market's price looks 20% higher.
Most businesses default to the first without deciding, because the platform makes it easy, and absorb the difference in the higher-tax markets without it appearing anywhere as a decision.
The alternative worth considering is setting a target net per market and letting the displayed price follow. It produces prices that look inconsistent across borders and margins that are consistent, and since margin is what funds the business and the price comparison is mostly theoretical for customers who cannot buy across borders anyway, that is usually the better trade.
Model the customer-facing total against local competitors' displayed prices rather than against your own home market. In a tax-inclusive market your competitors' shelf prices already contain the tax, so comparing your net price against theirs understates how you will look on the shelf.
That comparison is the one that decides whether the target margin is achievable in the market at all, and it is easier to run before launch than to correct with a price cut afterwards.
Where to go next
The Sales Tax Markup question rarely arrives on its own. These are the ones that usually come with it:
- Tax-Inclusive Price Calculator — Set a display price without losing margin to rounding.
- Markup vs Margin Calculator — The same sale, two very different percentages.
- Gross Profit Margin Calculator — Revenue minus cost of goods, as a percentage.
- Etsy Fee Calculator — Every Etsy fee on one sale, itemised.
Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.
Frequently asked questions
Should margin be calculated before or after tax?
Before, always. Tax is collected on behalf of the state and remitted; it is never your revenue. Calculating margin on a tax-inclusive figure overstates it by the tax rate.
What is the difference between margin and markup?
Margin is profit as a share of the selling price; markup is profit as a share of cost. A 50% margin is a 100% markup. Confusing them is the fastest way to underprice.
How do I price in a tax-inclusive market?
Work out the net price your margin requires, add the tax to get the display price, then decide whether to round. If you round down to a charm price, the rounding comes out of your margin, so build it in first.
Does this change with tax rate changes?
If prices are exclusive, no, your net is unaffected. If inclusive, a rate rise takes the difference out of your margin unless you raise the display price, which is why inclusive markets see visible price rises after VAT changes.
Related calculators
Tax-Inclusive Price Calculator
Set a display price without losing margin to rounding.
OpenMarkup vs Margin Calculator
The same sale, two very different percentages.
OpenGross Profit Margin Calculator
Revenue minus cost of goods, as a percentage.
OpenEtsy Fee Calculator
Every Etsy fee on one sale, itemised.
Open