Calculate your margin. Then see what you actually keep.
Go from basic margin and markup to profit after fulfilment, fees, returns and advertising. Calculate one order manually — then let Margly run the same logic across your entire store.
- Result without an email
- Tax and tax-free modes
- CZK, EUR and USD
- Cost of goods−55.4 %
- Logistics−7.7 %
- Marketing−18.2 %
- Operations−10.4 %
- Left over8.3 %
Start with one order.
Enter your own numbers. Switch between margins, a single order, the break-even point for ads and a full income statement — the formula stays the same, only the cost layers change.
Currency changes only the unit and number format. Your entered values are never converted.
What you charge for the product.
What the item costs you. Without it, markup can't be calculated.
We'll work out the price that gets you there.
Enter your numbers on the left.
The result appears as soon as you fill the first field. Nothing is sent anywhere — the maths runs in your browser.
Same order. Completely different picture.
An ordinary calculator stops at the difference between selling and purchase price. Here we go further — to the amount you can actually spend on running and growing the business.
Gross margin
- Achieved price excl. taxCan't be calculated
- Cost of goodsCan't be calculated
- Gross profitCan't be calculated
Contribution after costs
- Gross profitCan't be calculated
- Add the other costs to see moreCan't be calculated
Fill in the calculator above and both cards recalculate on your numbers.
How do you calculate margin, and how is it different from markup?
Both numbers come from the same profit but are divided by different denominators. Margin tells you what share of the selling price you kept. Markup tells you how much you added to the purchase price. Mixing them up means mispricing — and on low-margin goods that hurts most.
What does a worked example look like?
You buy at 500 and sell at 1,000. Gross profit is 500, margin 50% and markup 100%. For a 40% margin you'd have to sell at 833.33 excluding tax — 1,008.33 including 21% tax.
How does tax enter the calculation?
Before anything is added up, every amount is converted to one economic basis. If you're registered for tax, output tax comes off revenue and input tax comes off costs, because you can reclaim it. The payment fee isn't converted — financial services are exempt, so there's nothing to reclaim. The country preset is only a suggestion; what you set is what counts.
- Gross profit
- selling price − purchase price
- Margin
- (selling price − purchase price) ÷ selling price
- Markup
- (selling price − purchase price) ÷ purchase price
- Price for target margin
- purchase price ÷ (1 − margin)
Counting a return twice
The refunded amount reduces revenue. Return shipping and the work involved are an extra cost. Put both in one field and the result looks worse than it is.
Advertising folded into the margin
You can't derive a break-even point from a margin that already has advertising deducted — it's circular and the number means nothing. That's why we start from the contribution before advertising.
Mixing prices with and without tax
Revenue including tax minus a purchase price excluding tax gives you a margin that doesn't exist anywhere. So the calculator converts everything to one basis first.
You might recognise one of these.
You buy at 150, sell at 500, and don't know whether 70 % is a good margin.
See margin and markup side by side — and why they aren't the same number.
You want to raise prices so you still hit a set margin after discounts.
Enter your target margin and get the price to put in your shop.
Your margin looks healthy but your bank balance disagrees.
Add shipping, fees and ad cost to see where the difference goes.
You worked out one order. Margly does it for all of them.
You worked out one order. Margly applies the same logic to every order and product in your store — and ranks where margin leaks most.
- 1Pick your platformShoptet, Upgates, Shopify or WooCommerce.
- 2Let it load real dataOrders, products and purchase prices come in on their own.
- 3Fix the biggest impact firstA specific opportunity, an amount and a recommended step.
14 days free · no card required · data in the EU
- Do todayMove budget out of three campaigns below break-even.Sample
- ProductsRaise visibility of a product with above-average margin.Sample
- ShippingA carrier whose shipping balance doesn't add up.Sample
Frequently asked questions
Do I have to sign up to see the result?
Does Margly calculate the same way inside the app?
What if I don't have purchase prices?
What's the difference between margin and markup?
Are my numbers safe?
More tools
Break-even ROAS calculator
It depends on your purchase price, shipping, fees, returns and on the value you send to the ad platform. Work out your own break-even point.
Open tool →Net margin calculator
Build a simple income statement from revenue through goods, logistics and marketing all the way to operating and net profit.
Open tool →Product profitability
Some products drive turnover but leave almost nothing after discounts, logistics, returns and advertising. Margly finds them automatically.
Open tool →Let Margly calculate your whole store.
Orders, products, purchase prices, advertising and operating costs in one view. On your data, not on a generic benchmark.
Calculate the whole store14 days free · no card required · data in the EU