Profit Margin Calculator
Margin, markup and real selling costs with honest labels: an explicit units-and-orders model, contribution profit after the fees you enter, break-even price, max acquisition cost, and a formula trace for every number.
Decimals allowed (weight, hours)
Whole numbers: this counts orders
Add fees and real selling costs
Payment or marketplace percentage
Charged once per order, however many units it contains
Per-order cost waterfall (entered costs only)
Decision numbers
"Contribution profit" here means revenue minus product cost minus the costs you entered above, and nothing else. It is not net profit: returns, packaging, tax, wages, rent and overhead are not included unless you typed them in.
Show the math
Internal math keeps full precision; only displayed amounts are rounded, half-up, at the currency's decimal places.
Margin vs markup, once and for all
| Cost | Price | Profit | Margin (profit / price) | Markup (profit / cost) |
|---|---|---|---|---|
| $50 | $100 | $50 | 50% | 100% |
| $60 | $100 | $40 | 40% | 66.67% |
| $75 | $100 | $25 | 25% | 33.33% |
| $100 | $100 | $0 | 0% | 0% |
Markup is always the larger number for the same profit, and the gap widens as margins grow: a 50% margin is a 100% markup. Margin can never reach 100% while the product costs anything; markup has no ceiling. When a supplier, platform or spreadsheet says "add 40%", find out which one they mean before you price a catalog with it. The calculator above shows both on every calculation, and the markup mode converts in the other direction.
The costs between gross margin and reality
Gross margin flatters everyone: it only knows product cost. The money you actually keep per order is what remains after payment percentages, fixed transaction fees, shipping you pay, and the ad spend that produced the order. Open "Add fees and real selling costs" and the calculator builds a per-order waterfall from your numbers, then derives the decisions that matter: the break-even price, the most you can pay to acquire an order, and the ROAS your ads must clear. Every line traces to an input; nothing is estimated on your behalf.
Profit margin FAQ
What is the difference between margin and markup?
Same profit, different denominator. Margin divides profit by the selling price; markup divides it by the cost. A product bought for $60 and sold for $100 has a 40% margin but a 66.67% markup. Mixing them up is the most common pricing error in retail: applying a "40% markup" when you meant a 40% margin underprices the product. This calculator always shows both, computed from the same numbers.
Why does this calculator ask for units per order AND number of orders?
Because fees do not scale the same way. A fixed payment fee like $0.30 is charged per transaction, so ten units in one order pay it once, while ten separate one-unit orders pay it ten times: a $2.70 difference on identical volume. Calculators with a single "quantity" field silently pick one interpretation and get the other case wrong. Here the model is explicit and the fixed fee is labeled per order, charged once per order.
Why does the result say "contribution profit" instead of net profit?
Because net profit is a precise accounting term meaning profit after ALL costs: returns, packaging, tax, wages, rent, overhead. This calculator deducts your product cost and the selling costs you actually entered, and nothing else, so it names the result honestly: contribution profit after entered costs. A tool that calls two fee fields "net profit" is telling you a comfortable lie.
How does the target margin mode handle fees?
You choose the basis. Gross margin by definition ignores fees, so cost / (1 - margin) applies. Contribution margin accounts for them: the solver uses P = (C + F) / (1 - r - m), where r is your percentage fee rate and F your fixed per-order costs, and it verifies against the same engine that displays results, so the solved price actually hits the target. Impossible combinations, where fees plus target reach 100% of revenue, are rejected with an explanation instead of a wrong number.
Is there a "good" profit margin?
Not universally, which is why this calculator refuses to grade your margin. A 25% gross margin is strong in grocery and fatal in software; contribution margin after ad spend has a different healthy range than gross margin entirely. The status here is factual: profit, break-even or loss, based on your numbers. What margin your business needs depends on your fixed costs and volume, which the break-even outputs help you reason about.
Does my pricing data leave the browser?
No. Every calculation runs locally in your tab: costs, prices and fees are never uploaded, stored or logged. The Copy summary button produces a text version, including all assumptions and the ISO currency code, only when you click it, and it goes to your clipboard, not to us.
More free tools: Markup Calculator · Selling Price Calculator · Break-Even Calculator · Ecommerce Profit · Marketplace Fees