Margin vs Markup & Sales Tax: The Small-Business Pricing Guide
The pricing math every shop owner and freelancer needs: adding and removing tax, running discounts that still make money, and the margin-versus-markup mix-up that quietly sinks businesses.
Pricing is where businesses are won and lost
You can have a great product, happy customers and busy days and still go broke — if the math on each sale is wrong. Pricing is the highest-leverage number in any business: a small change flows straight to the bottom line, with no extra work or cost attached. Yet it's also where owners make the most avoidable errors, usually because a few pieces of everyday math — how tax stacks on a price, what a discount really costs, and the genuine difference between margin and markup — are quietly misunderstood.
Our free sales tax, discount & margin calculator does these three jobs instantly, in any currency. This guide explains the reasoning behind each so the numbers stop being guesswork — and so you catch the one mistake, mixing up margin and markup, that can turn a "profitable" price into a loss without you noticing.
Sales tax, VAT and GST: adding and removing it
Consumption taxes go by different names — sales tax in the US, VAT in Europe and the UK, GST in Australia, India and Canada — and while they're collected differently behind the scenes, for a price calculation they're all just a percentage added to a base amount. Adding tax is the easy direction: multiply the net price by the rate and add it on. A $100 item at 20% tax becomes $100 + $20 = $120.
Removing tax — backing out the tax already baked into a total — is where people slip. The instinct is to subtract 20% of the gross, but that's wrong: 20% of $120 is $24, not the $20 of tax actually inside it. The correct method is to divide by 1 plus the rate: $120 ÷ 1.20 = $100 net, leaving $20 tax. This matters constantly — reclaiming VAT on a receipt, recording the pre-tax cost of an expense, or working out your true revenue from tax-inclusive takings. The calculator's "Remove tax" mode does this correctly every time, which is invaluable when you're staring at a receipt that only shows the total. When you turn those figures into a document for a client, our invoice generator lays the tax line out cleanly.
Discounts: what "25% off" really costs you
Discounts pull in two directions at once: they drive sales but eat margin, and the two rarely get weighed against each other. The mechanics are simple — a 25% discount on an $80 item saves the customer $20 and leaves a $60 price — and the reverse question ("what percentage off is this?") is just the saving divided by the original: $20 ÷ $80 = 25%. Both directions are built into the discount tab.
The strategy behind the number is where money is made or lost. A discount comes straight out of profit, not revenue, so its real cost depends on your margin. If you make 50% margin, a 25% discount roughly halves your profit on that sale; if you make 30% margin, that same discount can wipe most of it out. This is why "we'll just knock 20% off" is a far bigger decision than it sounds, and why understanding your margin (next section) has to come first. Used deliberately — clearing old stock, rewarding loyalty, hitting a volume that lowers your unit costs — discounts are powerful. Used as a reflex to close every sale, they train customers to never pay full price and grind your margins to nothing.
Margin vs markup: the mistake that loses money
This is the single most important — and most misunderstood — pair of numbers in pricing. Both describe your profit, but they divide it by different things:
- →Markup = profit ÷ cost. "I buy for $60 and add 50%, so I sell for $90." Markup is priced up from what you paid.
- →Margin = profit ÷ selling price. On that $90 sale with $30 profit, the margin is 30 ÷ 90 = 33.3%.
So a 50% markup is only a 33.3% margin — the same sale, two very different percentages. Here's how the confusion actually costs money. Suppose you want to keep 40% of every sale as gross profit (a 40% margin). If you mistakenly apply a 40% markup instead, an item costing $60 gets priced at $84, giving just $24 profit — a 28.6% margin, not the 40% you intended. Multiply that shortfall across every product and every sale, and a business that believes it's healthily profitable is quietly running 11 points thin. To hit a true 40% margin, you actually need a 66.7% markup, pricing that $60 item at $100. The calculator's Margin & Markup tab lets you enter a target margin and get the correct selling price directly, so you never fall into this trap.
The rule of thumb: markup is what you add; margin is what you keep. Suppliers and buyers often talk in markup because they think from cost up; accountants and investors talk in margin because they think from revenue down. Know which one a conversation is using, and always confirm your final prices in margin terms — because margin is the number that tells you whether the business survives.
Pricing for profit: a practical method
Cost-plus pricing — take your cost, add a target margin — is the sensible starting point, but the word "cost" is where beginners under-price. Your true cost isn't just what you paid a supplier; it includes shipping, payment-processing fees, packaging, returns, and a share of overheads like rent and software. Price to a margin on the narrow direct cost alone and the "profit" can evaporate once those real costs are counted. Build a realistic all-in cost first, then apply your target margin to that.
Typical gross margins vary widely by sector — grocery runs thin single-to-low-double digits on volume, general retail often targets 30–50%, restaurants lean on high drink margins to carry low food margins, professional services frequently exceed 50%, and software can top 80% because each extra copy costs almost nothing. Use your industry's norms as a sanity check, not gospel. And remember that price signals value: pricing far below your market can read as "cheap and low quality" and leave money on the table just as surely as overpricing loses sales. For service businesses, sanity-check your rate from the other direction too — our salary converter shows what an hourly rate adds up to across a year once you account for unpaid admin time.
A worked example: pricing a product from scratch
Numbers make this concrete. Say you sell a handmade candle. The wax, wick, fragrance and jar cost you $6. But that's not your real cost: packaging adds $1, the shipping box and label $2, and card processing will take about 3% of the final price. You want a healthy 50% margin. Here's the trap in slow motion — a beginner applies a "50% markup" to the $6 materials and prices at $9, feels good, and quietly loses money once the other costs land.
Do it properly. First build the all-in cost: $6 materials + $1 packaging + $2 shipping = $9 before fees. To achieve a true 50% margin, you don't add 50% — you divide the cost by (1 − 0.50), which gives an $18 selling price. Check it: profit is $18 − $9 = $9, and $9 ÷ $18 = 50% margin. Now subtract the ~3% card fee (about $0.54) and your real margin is closer to 47% — still healthy, and you knew it going in. Had you priced at the naïve $9, your "profit" after the $9 all-in cost would have been zero, and after fees, a loss on every candle sold. That gap between $9 and $18 is the entire difference between a hobby that drains money and a business that funds itself, and it comes purely from doing the margin math correctly and counting every cost.
The calculator's "From margin %" mode does that divide-by-(1−margin) step for you: enter the $9 cost and a 50% target margin and it returns the $18 price directly, so you never have to remember the formula or risk the markup mix-up.
Tax-inclusive or tax-exclusive: which price to show
A practical decision every seller faces is whether to display prices with tax already included or added at checkout, and the right answer is largely regional and legal. In most of Europe, the UK and Australia, consumer-facing prices must be shown tax-inclusive — the sticker price is what the customer pays, with VAT or GST baked in. In the US, sales tax is almost always added at the register, so listed prices are tax-exclusive and the total ticks up at checkout. Get this wrong and you either breach local rules or surprise customers with an unexpected total, which is a leading cause of abandoned carts.
Either way, you need to move fluently between the two figures — pricing a product to hit a target take-home after tax, or backing the tax out of a gross total for your bookkeeping. That's precisely the add/remove pair the tax tab handles, and it's why the "remove tax" direction matters as much as adding: your accounts care about the net, the taxman cares about the tax portion, and the customer sees the gross. When you present the final figure to a client, itemising net, tax and total clearly — as our invoice generator does — avoids disputes and looks professional. It also protects you at tax time: if your records only ever store gross totals, someone eventually has to back out the tax on every line, and doing it once, correctly, at the point of sale is far less painful than reconstructing it from a year of receipts.
Pricing mistakes that quietly drain profit
Using markup when you mean margin. The headline error above. Always translate to margin before you commit to a price.
Forgetting the fees. Card processing (roughly 1.5–3%), marketplace commissions, and payment app cuts come straight off the top. A 30% margin can become 27% the moment the customer taps a card.
Discounting on reflex. Every unplanned discount is profit given away and a lesson to the customer to wait for the next sale. Discount with a reason, not out of habit.
Competing only on price. There is always someone willing to go broke faster than you. Compete on value, service or speed, and price to survive.
Never revisiting prices. Costs creep up; prices often don't. Review them at least yearly so inflation doesn't silently erode the margin you carefully built.
Frequently Asked Questions
What's the difference between margin and markup?
Markup is profit divided by cost; margin is profit divided by selling price. They describe the same profit differently, so a 50% markup is a 33.3% margin. Always confirm prices in margin terms.
How do I remove sales tax from a total?
Divide the total by 1 plus the rate as a decimal. A $120 total at 20% tax is $120 ÷ 1.20 = $100 net, with $20 tax. Don't just subtract 20% of the total.
How do I calculate a discount percentage?
Divide the amount saved by the original price and multiply by 100. Saving $20 on an $80 item is 25% off. To apply a known discount, multiply the price by the rate and subtract.
What profit margin should I aim for?
It depends on your industry — often 30–50% for retail, higher for services and software. Compare to your sector, and make sure the margin covers all overheads, not just direct cost.
Is VAT the same as sales tax?
Similar outcome, different mechanism: sales tax is charged once at the final sale, while VAT/GST is charged at each stage with businesses reclaiming it. For a price calculation, all are percentage taxes.