Margin Calculator
This Margin Calculator converts between profit margin (profit divided by selling price) and markup (profit divided by cost) starting from unit cost and a...
Enter values and click Calculate.
Schedule
Introduction
This Margin Calculator converts between profit margin (profit divided by selling price) and markup (profit divided by cost) starting from unit cost and a target percent. Enter cost and desired margin to get selling price, or enter price to see implied margin and markup. Essential for retail, wholesale, and services where quoting markup language but needing margin reporting creates confusion. Finance teams reporting EBITDA margin on revenue need price-based margin, not cost-based markup, when setting list prices.
Who this calculator is for
Shop owners who know an item costs $40 and want 35% margin, not 35% markup, belong here. Margin on price is always lower than markup on cost at the same profit dollars; mixing them erodes profit fast. Category managers rolling up SKU-level margins use this page per item before setting a blended category target for the buyer meeting.
Accountants reconciling sales reports with buyer spreadsheets use it to explain why 35% margin price is higher than cost plus 35%. Discount stacking on shelf tags connects to the discount calculator downstream. Wholesale buyers quoting markup language need translation before board meetings track margin percent on revenue.
What it estimates
Margin percent equals profit divided by selling price. Markup percent equals profit divided by cost. From cost C and margin M (decimal), price P equals C divided by (1 minus M). From cost and markup K, price equals C times (1 plus K).
Does not include VAT, sales tax, shipping, or payment processing fees unless you add them to cost first.
Inputs explained
Be explicit whether you type margin on price or markup on cost; fields should label which.
- Unit cost: Landed cost per item, such as $40 including freight allocated.
- Target margin: Profit as percent of selling price, such as 35%.
- Selling price (optional): Reverse mode to compute realized margin from shelf price.
- Markup percent (optional): Alternative input if you think in markup on cost.
- Quantity (optional): Extends line profit for batch orders.
How to read the results
Selling price is the minimum tag to hit margin goal before discounts. Profit dollars per unit equals price minus cost. Markup percent displays higher than margin percent at the same price; that is expected algebra, not an error.
If competitors price below your calculated tag, either renegotiate cost or accept lower margin; do not silently use markup formula while telling investors margin targets. Restaurant menu engineering often targets food cost near thirty-three percent of price, which maps to fifty percent markup or thirty-three percent margin depending which column leadership tracks.
Worked example
Cost $40, target margin 35% on price. Price equals 40 divided by (1 minus 0.35) equals 40 divided by 0.65 equals about $61.54. Profit about $21.54 per unit. Markup on cost equals 21.54 divided by 40 equals 53.85%, not 35%.
If you mistakenly added 35% to cost, you would price at $54, yielding margin only 25.9% and leaving $7.54 per unit on the table versus goal.
Practical use cases
Set menu prices where food cost percent is really margin inverse. Wholesale list from factory cost with required 28% margin for retail partners. Bundle pricing for kits requires summing line costs before applying one margin target on the bundle price.
After VAT jurisdictions, add VAT on net price using VAT calculator. Promotional 25% off sales test post-discount margin in discount calculator. International MSRP conversions need currency calculator before margin math on landed cost.
Limitations and related tools
Ignores volume discounts, shrink, returns, and channel fees. Break-even revenue needs fixed overhead outside unit margin.
Stacked promotions: discount calculator. Tax-inclusive pricing: sales tax or VAT calculators. Business borrowing for inventory: business loan calculator.
How It Works
- Enter true unit cost. Include landed cost and allocated overhead you capitalize into product cost.
- Choose margin or markup. Type target margin on price or markup on cost, not both unless comparing.
- Calculate selling price. Click Calculate and read price, profit dollars, and counterpart percent.
- Stress-test discounts. Run shelf price through discount calculator before approving a sale flyer.
Formula and methodology
The Margin Calculator uses this identity for the scenario you enter. A bank, payroll system, or tax program may round on a 360-day year or average daily balance, so a statement can differ by a small amount.
FAQ
The Margin Calculator is an educational estimate. Written by the CDCalculator Editorial Team and updated 2026-08-13. We do not sell the product this tool models or take a cut of any account you open.