Profit margin & markup
Profit margin & markup: use unit cost, selling price. Review the formula, worked example and calculation steps.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
Margin % = (revenue−cost)/revenue × 100
Variables & units
- Unit cost
- currency · minimum 0, maximum 1000000000000
- Selling price
- currency · minimum 0.01, maximum 1000000000000
Worked example
Cost 60 and selling price 100 gives 40% margin and 66.666667% markup.
Assumptions
Margin divides by revenue; markup divides by cost. Includes only the costs you entered.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.