REAL MARGIN CALCULATOR · FREE

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
Sample data · 30 daysCalculated
Revenue excl. tax€33,900Model store
Net profit€2,8148.3 % · net margin
Gross margin44.6 %Before logistics
Break-even point2.71×From contribution before ads
Where revenue goes
  • Cost of goods55.4 %
  • Logistics7.7 %
  • Marketing18.2 %
  • Operations10.4 %
  • Left over8.3 %
Margly foundThree campaigns below break-even.
Your numbers· 01

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
Country for tax

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.

Turnover isn't profit· 02

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.

Basic calculation

Gross margin

  • Achieved price excl. taxCan't be calculated
  • Cost of goodsCan't be calculated
  • Gross profitCan't be calculated
The Margly view

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 it's calculated· 03

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)
01

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.

02

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.

03

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.

Who this is for· 04

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.

From calculator to product· 05

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.

  1. 1Pick your platformShoptet, Upgates, Shopify or WooCommerce.
  2. 2Let it load real dataOrders, products and purchase prices come in on their own.
  3. 3Fix the biggest impact firstA specific opportunity, an amount and a recommended step.
Calculate the whole store

14 days free · no card required · data in the EU

Sample data · 30 daysAfter connecting
  • 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
Before you decide· 06

Frequently asked questions

Do I have to sign up to see the result?
No. The result appears immediately and the maths runs in your browser — nothing is sent anywhere. Signing up makes sense once you want the same thing for every order, not just one.
Does Margly calculate the same way inside the app?
Yes, with the same formulas. What differs is where the numbers come from: here you type them in for one order, in the app they're read from your store's real data. Add operating costs to the calculator and you get exactly the level the app works with.
What if I don't have purchase prices?
Then margin can't be calculated, and the calculator says so instead of showing a number. We don't invent anything. In the app you can add purchase prices in bulk from a feed or from invoices.
What's the difference between margin and markup?
Both come from the same profit but are divided by different numbers — margin by the selling price, markup by the purchase price. Buy at 500 and sell at 1,000 and the margin is 50% while the markup is 100%.
Are my numbers safe?
The calculation runs in your browser and the amounts are neither stored nor sent to a server. They aren't in the page address either, so you can't share them by accident.
Next step· 08

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 store

14 days free · no card required · data in the EU