Cost and price, the usual mix-up (PM1).
Cost $40.00, price $50.00. Profit is $10.00. Margin is 20.00%. Markup is 25.00%.
Work out margin and markup from cost and price, or find the price to charge for the margin you want.
Enter your numbers to see the results.
Estimate only, not tax, accounting or pricing advice. Margin and markup are different percentages of different bases. Marketplace fees (Etsy, eBay and others) are extra costs — add them in those fee calculators rather than treating this page as a payout.
Last reviewed: November 5, 2026
Enter a cost and a selling price to see your profit in dollars, your margin (profit divided by price) and your markup (profit divided by cost). They are not the same number: a $40 cost and a $50 price is a 20% margin and a 25% markup. You can also work backward — pick a target margin or markup and get the lowest price that still hits it, or start from a price and see the most you can spend on cost.
On a $10.00 item that cost $8.00, profit is $2.00. Margin is 2 ÷ 10 = 20.00%. Markup is 2 ÷ 8 = 25.00%. People often say “I need a 20% markup” when they mean a 20% margin, which would require a higher price.
Cost $40.00, price $50.00. Profit is $10.00. Margin is 20.00%. Markup is 25.00%.
Cost $8.00, price $10.00. Profit is $2.00, margin 20.00%, markup 25.00%.
Cost $2.00, price $3.00. Profit is $1.00. Margin is 1 ÷ 3 = 33.33%. Markup is 50.00%.
Cost $12.50 and a 40% target. Raw price is 12.50 ÷ 0.60 = 20.8333…. At $20.83 the margin would be 39.99%, which misses the target, so the price to charge is $20.84. Profit is $8.34. The achieved margin is 40.02% and the markup is 66.72%.
Cost $7.33. Raw price is 7.33 × 1.50 = 10.995. At $10.99 the markup would be 49.93%, so the price to charge is $11.00. Profit is $3.67. Margin is 33.36% and the achieved markup is 50.07%.
Price $29.99. Raw cost is 29.99 × 0.65 = 19.4935. At $19.50 the margin would be 34.98%, below target, so the most you can spend is $19.49. Profit is $10.50. The achieved margin is 35.01% and the markup is 53.87%.
Price $80.00. $80.00 ÷ 1.60 is exactly $50.00, so the most you can spend is $50.00. Profit is $30.00, margin 37.50%, markup 60.00%.
Cost $19.99. The price to charge is $29.99. Profit is $10.00. The achieved margin is 33.34% and the markup is 50.03%.
| Cost | Price | Profit | Margin | Markup |
|---|---|---|---|---|
| $40.00 | $50.00 | $10.00 | 20.00% | 25.00% |
| $8.00 | $10.00 | $2.00 | 20.00% | 25.00% |
| $2.00 | $3.00 | $1.00 | 33.33% | 50.00% |
Margin is profit as a share of the selling price. Markup is profit as a share of cost. On a $50.00 sale with a $40.00 cost, margin is 20% and markup is 25%. They only match at 0%.
Subtract cost from price, then divide that profit by the price. $10.00 of profit on a $50.00 price is a 20.00% margin.
Divide cost by (1 − margin). For a $12.50 cost and a 40% margin, 12.50 ÷ 0.60 = 20.8333…, and the lowest price that still hits 40% is $20.84.
Because the price is rounded to a whole cent. The tool never shows a price that would fall short, so a fraction of a cent often pushes the achieved margin slightly above the target (40.02% in the $12.50 example, 33.34% when the target was 33.33%).
For a margin target, multiply the price by (1 − margin) and take the highest cent that still meets it. For $29.99 at a 35% margin, that is $19.49, not $19.50.
No. This page is fee-agnostic on purpose. Platform fees change your real cost and your take-home. Use the Etsy Fee & Profit calculator or the eBay Fee calculator, then come back here if you want a clean margin or markup on the numbers you already have.
Yes, in cost-and-price mode. If cost is higher than price, profit, margin and markup are negative. A desired margin or markup cannot be negative.
If the price is above $0.00, margin is 100.00% and markup is n/a, because you cannot divide profit by a zero cost.