Margin and markup calculator
What you pay, what you sell for: margin in euros and percent, markup, and what each order really leaves you.
Free no sign-up share the result with a link
How it works
Margin is the selling price ex VAT minus the cost ex VAT. If you buy a product for €15 and sell it for €34.90 with 23% VAT, the price ex VAT is €28.37 and the margin is €13.37.
Those €13.37 give two different percentages, depending on what you measure them against:
| Measured against | Formula | In the example | |
|---|---|---|---|
| Margin % | the selling price | margin ÷ selling price ex VAT | 47.1% |
| Markup | the cost | margin ÷ cost ex VAT | 89.2% |
Markup is always the bigger number, because it’s measured against the smaller amount. That’s why mixing them up is expensive: put a 40% markup on a product, think that’s your margin, and you’re really selling at a 28.6% margin. In everyday talk the two get blurred a lot, so when someone says “30%”, ask what it’s 30% of.
The other way round: what price to set
If you know the margin you want, the price ex VAT is cost ÷ (1 − margin). With a €15 cost and a 40% margin: 15 ÷ 0.6 = €25.00 ex VAT, so €30.75 inc VAT. With markup it’s simpler: 15 × 1.4 = €21.00 ex VAT. The calculator rounds the price inc VAT up to a shop price ending in .90 (here €30.90; from €100, ending in 9.90) and shows the margin that leaves you.
Ex VAT or inc VAT
The VAT isn’t yours, it goes to Revenue, so the calculator always works ex VAT: if you enter a price inc VAT, it takes the VAT off first. If both prices include VAT at the same rate, the percentages don’t change; only the margin in euros would be bigger, with the VAT in it. Zero-rated goods, like children’s clothes and shoes, carry 0% VAT. If you’re under the registration threshold and not registered for VAT, choose 0% and enter the prices as you paid them and as the customer pays them. For single amounts, the VAT calculator goes between ex and inc VAT.
What’s left from one order
Everything that comes with each order still comes off the margin. In the example, after €4.50 shipping, a €0.52 payment fee, €5 of ads and €0.40 of support, €2.95 is left of the €13.37: a 47.1% margin becomes 10.4%. Shipping and ads cost about the same with two products, which is why the basket size matters so much: enter 2 items and see what happens. Whether the ads pay for themselves at all is what the ROAS calculator works out.
The support line: questions per 100 orders ÷ 100 × minutes ÷ 60 × hourly cost. The starting values are our assumptions, the same as in the calculator on the home page: 25 questions per 100 orders, 6 minutes per question, and an hourly cost of €16.00. That’s Ireland’s national minimum wage of €14.15 an hour (since 1 January 2026) plus 11.4% employer PRSI (the Class A rate from 1 October 2026 on weekly pay over €552; 40 hours at the minimum wage is €566) and the 1.5% employer contribution to auto-enrolment (MyFutureFund, from 1 January 2026). Change them to your own numbers.
A month with Leo
The last block adds up two things, both from your numbers above. One is the time saved: orders × questions per 100 orders ÷ 100 × 85% × minutes ÷ 60 × hourly cost, where 85% is our assumption of how many questions Leo answers. At 1,000 orders a month that’s 21.25 hours, €340.
The other is extra orders. If shoppers get an answer in the evening and at weekends too, some of them order what they would otherwise have left behind. How many, nobody can know in advance, so you choose: 0, 0.5, 1 or 2% (the calculator on the home page uses 0.5–2% too). At 1% that’s 10 orders, each leaving €7.95: the €2.95 above, and the €5 of ads doesn’t come off it, because you’ve already paid for that visitor. Together, €80.
The two add up to €420. Leo’s fee is between €200 and €400 a month (we tell you the exact one after the demo), so in the example even the highest fee leaves you €20, and the lowest leaves €220. If it doesn’t work out with your numbers, the calculator says so too, and from how many orders it would. To see how it looks for your store, book a free demo.
Sources, as of November 2026: National Minimum Wage Order 2025 (S.I. 472/2025), gov.ie, PRSI Class A rates, gov.ie, auto-enrolment for employers.
Questions
Frequently asked questions
What markup do I need for a 30% margin?
42.9%. From margin to markup: margin ÷ (100 − margin) × 100. Back again: markup ÷ (100 + markup) × 100. A few pairs: 20% margin = 25% markup, 33.3% margin = 50% markup, 50% margin = 100% markup.
What’s the difference between margin and markup?
Both start from the same gross profit: selling price minus cost, ex VAT. Gross margin divides it by the selling price, markup divides it by the cost. That’s why markup is always the bigger number: buying at €15 and selling at €25 is a 40% margin but a 66.7% markup.
Should margin be worked out with or without VAT?
Without. The VAT you charge goes to Revenue and you reclaim the VAT on what you buy, so both prices go in ex VAT. If you aren’t registered for VAT, it’s different: you can’t reclaim anything, so you work with what you actually pay and receive.
How much margin does an online store need?
There’s no single right number, because the cost of each order differs from store to store. Work backwards: enter shipping, the payment fee and ads in step two and see what’s left. If it’s too little, either raise the margin or raise the basket size, so those costs are spread over more products.
More free tools
- VAT calculator Gross to net and net to gross at the Irish rates of 23, 13.5 and 9 percent, with several lines totalled by rate.
- ROAS and ROI calculator What a euro spent on ads brings back, and the ROAS below which you lose money.
- Auto-reply generator Ready-to-send text for holiday closures, time off, weekends and busy weeks, for email and chat, in English, Spanish, German or Hungarian.
Black Friday Free setup 6 days 02:03:47
See it on your own shop. Within 24 hours.
You get Leo trained on your shop's products and rules, with sample orders. Free, no strings attached.
Got it, we're on it.
Within 24 hours we'll email you Leo, trained on your shop.
- Free
- Ready within 24 hours
- No access needed
By clicking the button, you accept the privacy policy.
If you go live, you can get your first month back within 30 days.