CalcKeep
English
CalcKeep for iPhone ↗
← All calculators

Work & numbers

Profit margin calculator

See how much of a selling price remains after the product cost.

For example
$60 cost$100 sale40% margin

Your numbers

Example values shown.

USD

Cost for the same item or batch; greater than zero.

USD

Use the same basis as cost, excluding sales tax.

Your result

For the example values

Gross margin
40.00%
Gross profit
40.00USD
Markup on cost
66.67%

Keep this calculator on iPhone ↓
Download CalcKeep on the U.S. App Store

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.