iCalculator.
Business & everyday

Profit margin calculator

Express profit as a share of sales revenue.

Reviewed December 1, 2026

Your numbers

Calculations run in your browser. Your inputs stay on your device.

Your results

Enter your numbers and select Calculate.

The formula

Profit = revenue − cost. Profit margin (%) = profit ÷ revenue × 100.

Worked example

Revenue of 100 and cost of 75 yields profit of 25 and a 25% margin.

What to keep in mind

Use cost and revenue from the same transaction or period. The included expenses determine whether the margin represents gross or net profit.

Formula sources