Markup calculator: markup, margin and price
Markup is profit as a share of cost: markup % = (price - cost) / cost × 100. Margin is the same profit as a share of the price: margin % = (price - cost) / price × 100. Enter a cost and one of price, markup or margin to get the other two and the profit per sale. Everything runs in your browser.
The numbers filled in above are an example. Replace them with your own. Typing in one of price, markup and margin clears the other two. Enter the price without sales tax.
A markup tells you what one sale leaves, not which channel brought it. Virling links every visit to the payment it led to, so you see the orders and revenue each channel brings from your real payments. See revenue attribution for ecommerce. 14 days free.
Related: gross margin calculator, break-even point calculator, discount break-even calculator.
The markup formula
Profit per sale is price minus cost. Divide it by the cost for markup, or by the price for margin. Turned around, the same formulas give the price:
price = cost × (1 + markup / 100)
price = cost / (1 - margin / 100)
To change one into the other without a price:
margin % = markup / (100 + markup) × 100 and markup % = margin / (100 - margin) × 100
A payment fee comes off the profit, not the markup. The calculator works out markup and margin from the cost alone, then takes the fee off in its own line:
profit after fee = price - cost - price × fee / 100 - fixed fee
Markup against margin
Each row is worked out from the formula above. The last column is the number to multiply the cost by to get the price.
| Markup | Margin | Price |
|---|
A worked example
These are made-up numbers, the ones the calculator starts with, not data from a real store. A product costs $40 and the store adds a 50% markup. The price is $40 × 1.5 = $60, so the profit per sale is $20 and the margin is $20 / $60 = 33.33%.
With an example payment fee of 3% plus $0.30, the fee on a $60 sale is $1.80 + $0.30 = $2.10, which leaves $17.90.
If the store wanted a 50% margin instead, the price would be $40 / (1 - 0.5) = $80, a 100% markup. Using 50% as a markup when you meant a margin would price it $20 too low.
After you set the price
Profit per sale has to cover everything the cost leaves out, such as rent, salaries and ads. The break-even point calculator shows how many sales that takes, and the gross margin calculator does the same sum for a whole month of revenue. A discount comes straight out of the profit per sale, so check it first with the discount break-even calculator.
Markup calculator FAQ
How do you calculate markup?
Subtract the cost from the price, divide by the cost and multiply by 100. A product that costs $40 and sells for $60 has a markup of 20 / 40 × 100 = 50%.
What is the difference between markup and margin?
Both use the same profit. Markup divides it by the cost and margin divides it by the price. When there is a profit the price is higher than the cost, so the margin is always the smaller number: a 50% markup is a 33.33% margin.
How do I find the price from a margin?
Divide the cost by 1 minus the margin. For a 50% margin on a $40 cost, the price is 40 / (1 - 0.5) = $80. Adding 50% to the cost would give $60, which is only a 33.33% margin.
Can margin be 100% or more?
Not when the product costs something. Margin is the share of the price left after the cost, so it stays below 100% however high the price is. Markup has no upper limit: selling at three times the cost is a 200% markup.
Should I include payment fees and shipping in the cost?
You can, as long as you do it the same way for every product. Shipping that you pay can be added to the cost. A payment fee usually depends on the price, so the calculator takes it off the profit in its own line instead of adding it to the cost.
What is a good markup?
There is no figure that fits every product, because the profit has to cover different costs in each business. Start from what you spend on rent, salaries and ads, work out how many sales you can expect, and check that the profit per sale covers it.
See which channels bring your sales
These tools estimate. Virling measures: it links every visit to the payment it led to, so you see the orders and revenue each channel brings from your real numbers. 14 days free.