Pricing conversations trip up founders because margin and markup are not the same number. Enter your unit cost and selling price — or a target gross margin — and this calculator returns gross profit, margin %, markup % and the correct price, with a live visual comparison.
$
$
Pricing results
Margin and markup calculation results
Metric
Value
Unit costWhat one unit costs you
40.00
Selling price
100.00
Gross profit / unitPrice − cost
60.00
Gross margin% of selling price
60.00%
Markup on cost% added on top of cost
150.00%
Markup − margin gapWhy they are not the same number
90.00%
Margin vs markup, same deal
Gross margin60.00%
Markup on cost150.00%
Why margin and markup are not the same number
Margin and markup both start from gross profit — price minus cost — but divide it by different bases, and that single difference quietly misleads founders for years. Gross margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. Because the price is always larger than the cost, the same deal produces a bigger markup figure than margin figure. A 50% markup is only a 33% margin, and a 100% markup is a 50% margin — never more.
This is why "we just mark everything up 40%" is a dangerous habit. It feels like a healthy margin but delivers a smaller one, especially on low-cost, high-volume goods where the gap between the two percentages is widest. The confusion is not arithmetic; it is that founders quote the bigger, friendlier number and manage to the smaller, truer one without realizing they differ.
How to price to a target margin instead of a markup habit
The reliable method is to decide the gross margin you need, then solve for the price. Price equals cost divided by one minus your target margin. To earn a 60% margin on a cost of 40, the price is 40 ÷ 0.40 = 100, not the 64 that a naive 60% markup would give you. Working from the margin target keeps you aligned with what investors, lenders and your own P&L actually read, because they all measure profitability as a share of revenue.
Keep gross margin separate from everything downstream. Gross margin covers only the direct cost of delivering one unit; operating and net margins layer on overhead, salaries, interest and tax and are always thinner. When you set price from a gross-margin target you leave a known cushion for those later costs — and you can see instantly whether one more dollar of discount eats a disproportionate slice of the profit on that unit.
Price to a target margin: price = cost ÷ (1 - target margin)
A 50% markup is a 33% margin — the gap grows on cheap goods
Gross margin is not net; reserve room for overhead and tax
Investors and P&L read margin, so manage to margin, not markup
How it works
Step 1
Pick a mode
Work from a known price, or from a target gross margin you want to hit.
Step 2
Enter your numbers
Provide unit cost plus price (or target margin). Currency-agnostic.
Step 3
Read the results
See gross profit, margin, markup and the gap between them, then export.
Frequently asked questions
What is the difference between margin and markup?
Margin is gross profit as a percentage of selling price. Markup is gross profit as a percentage of cost. The same deal always produces a larger markup number than margin number.
Which one should I use to price a product?
Use margin. Investors, lenders and P&L statements all read gross margin. Pricing by a markup rule feels equivalent but yields a lower margin than you think.
Does this work for services or subscription businesses?
Yes. Enter the delivered cost per unit (per project, per seat, per month) and the price you charge for that same unit.