Work & numbers
Profit margin calculator
See how much of a selling price remains after the product cost.
Your result
For the example values
- Gross margin
- %
- Gross profit
- USD
- Markup on cost
- %
Copy your content
Select the text and copy it.
The formula
Gross profit = selling price − product cost
Margin = profit ÷ selling price × 100
Markup = profit ÷ product cost × 100
Assumptions & sources
Positive cost and selling price only. Use comparable amounts before sales tax.
This is gross profit before overhead and income tax. Margin divides by selling price; markup divides by cost. Results round to 2 decimals.
Formula references: Omni.
Checked October 30, 2026. Examples are illustrative.
Use this again in CalcKeep for iPhone
Copy this calculator with your current inputs, then import it in CalcKeep.
My Calculators → + → Create with AI → Import AI reply → Review calculator.
Draft preview is free. Saving and reusing personal calculators requires Pro.