Check pricing before sending a quote
Use the calculator to compare cost, selling price and gross profit for a product or service. Markup is profit divided by cost; margin is profit divided by selling price. Include the costs relevant to your business before choosing a target.
SEE THE RESULT · TRY THE EXAMPLE
Include fulfilment costs before choosing a margin
Suppose the product costs 90 and fulfilment costs 10: enter a total unit cost of 100. A 25% markup gives a price of 125 and a 20% margin. A 25% margin requires 133.333… before rounding, or 133.33 to two decimal places. Include fixed per-unit fees in cost; percentage-of-sale fees need a separate calculation. The CSV is a reference, not an import file.
Fictional demonstration data, generated with AyrLabs tools. No real customers or transactions. Images show sample output, not a guarantee for every input. Open any image to inspect it at full size.
How to use this tool
- Choose Cost + price, Target markup or Target margin.
- Enter the unit cost and the price or percentage for the selected mode. Select a currency for display.
- Review selling price, profit, markup and margin together. Recheck the cost if your purchasing or fulfilment expenses change.
Example: a cost of 100 and a selling price of 125
Profit is 125 − 100 = 25. Markup is 25 ÷ 100 × 100 = 25%. Margin is 25 ÷ 125 × 100 = 20%. A 25% markup therefore produces a 20% margin in this example. To target a 25% margin on a cost of 100, the unrounded selling price is 100 ÷ (1 − 0.25) = 133.333… .
| Measure | Formula | Example result |
|---|---|---|
| Profit | Price − cost | 25 |
| Markup | Profit ÷ cost × 100 | 25% |
| Margin | Profit ÷ price × 100 | 20% |
What to check before you export
- These are unit-level gross profit calculations. Add relevant costs yourself; overheads, returns, fees and taxes are not automatically included.
- A positive cost cannot produce a finite selling price at a target margin of 100%. Use a target below 100%.
- Currency selection changes display formatting, not exchange rates. Rounding can slightly change the percentage achieved by a final selling price.
Frequently asked questions
Is 30% markup the same as 30% margin?
No. Markup divides profit by cost; margin divides profit by selling price. With positive cost and price, the markup percentage is larger than the margin percentage for the same profit.
How do I calculate price from target margin?
Divide cost by one minus the margin as a decimal. For a 20% target margin, divide cost by 0.80.
Does this calculate net profit?
No. It calculates the difference between the cost and price you enter. Include all relevant costs if you want the result to reflect them.
