Work out the selling price, markup, margin and profit from any two of cost, price and markup, and see exactly how markup percent and margin percent differ.
Advanced: currency symbol
The bar splits the selling price into the cost you paid and the profit on top. Markup compares profit to the blue cost slice; margin compares the same profit to the whole bar.
| Markup | Selling price | Profit per unit | Equivalent margin |
|---|
For the same cost, raising the markup raises the margin too, but the two never match: the margin is always the smaller number, because it is measured against the larger selling price.
For beginners: how to read this result
Describe the task to the AI assistant and continue from the result.
Open AI assistant →To get a result, choose a preset scenario or enter your own figures, then pick the mode for the number you want to solve for. The headline result answers that mode directly, and markup percent and margin percent are always shown side by side.
The three modes
The mode toggle changes which input field is shown and what the headline answers. The field being solved for is hidden so the inputs always match the question.
- Selling price — enter the unit cost and the markup percent. The calculator returns the selling price, the profit per unit and the resulting margin percent.
- Markup & margin — enter the unit cost and the selling price. The calculator returns the markup percent, the margin percent and the profit.
- Cost — enter the selling price and the markup percent. The calculator returns the unit cost that price implies, plus the profit and margin.
The formulas in plain English
Profit per unit is the selling price minus the unit cost. Markup is that profit written as a percent of the cost: markup percent equals profit divided by cost, times one hundred. So selling price equals cost plus cost times the markup percent. Margin is the same profit written as a percent of the selling price: margin percent equals profit divided by selling price, times one hundred. To find the cost behind a price and a markup, divide the selling price by one plus the markup percent.
Why markup and margin are different
Markup and margin describe the same profit but measure it against different bases. Markup compares profit to the cost; margin compares it to the larger selling price. Because the selling price is always bigger than the cost, the margin percent is always smaller than the markup percent. A 50% markup is a 33.3% margin, and a 100% markup is only a 50% margin. The reference table inside the calculator lists several markups with their equivalent margins so the gap is visible at a glance, and the split bar shows the selling price divided into a cost slice and a profit slice.
What is not included
This calculator works only with unit cost, selling price, markup and margin. It does not handle sales tax or VAT, discounts and promotions, shipping, overhead costs beyond the unit cost, payment processing fees, order quantities or volume pricing. Use it to set or check a per-unit price, then confirm the full figures for your own situation.