Tool workspace
Your cost per item or service.
Customer-facing price.
Shows the selling price required for this gross margin.
Calculate profit, margin, and markup from cost and selling price, or solve for a selling price from a target margin. The page distinguishes margin from markup because confusing them changes pricing decisions.
Your cost per item or service.
Customer-facing price.
Shows the selling price required for this gross margin.
Calculate profit, margin, and markup from cost and selling price, or solve for a selling price from a target margin. The page distinguishes margin from markup because confusing them changes pricing decisions.
A cost of 60 and selling price of 100 yields 40 profit, 40% margin, and about 66.67% markup.
No. Margin divides profit by selling price; markup divides profit by cost.
No. It is a unit pricing calculation without overhead and tax.
Reproducible examples
Run these examples in the workspace above and compare the result with the documented output.
profit=price−cost, margin=profit/price, markup=profit/cost; undefined zero-denominator ratios remain explicit and percentages are rounded for display.
Inputs are cost, selling price, or target margin. Output separates amount, margin percentage, markup percentage, and required price.
Checks cover known margin/markup vectors, loss cases, zero cost, target-price solving, invalid input, and reset.
The input and result stay in this browser session. ZZP Box does not upload or store the values entered in this tool.
Choose the next tool by the operation you need, then review that page's stated input and limits.