Skip to content
Finance

Margin Calculator

A profit-margin estimator for a single product or service. Enter cost and selling price to see margin percent, markup percent, and dollar profit. Optional reverse mode finds the price needed for a target margin. Arithmetic only — not accounting or tax advice.

What do you want to calculate?

Must be greater than zero. Use the same currency as the price.

Must be greater than zero. A price below cost shows a negative margin.

Margin result

Cost
$60.00
Selling price
$100.00
Profit
$40.00
Margin
40.00%
Markup
66.67%

Margin is profit divided by selling price. Markup is profit divided by cost. A 50% markup is a 33.3% margin. Taxes and fees are not included.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit divided by selling price. Markup is profit divided by cost. A 50% markup is a 33.3% margin.

How do you calculate profit margin?

Margin % = (selling price − cost) / selling price × 100. Use the same currency units for both inputs.

Can I solve for selling price from a target margin?

Yes. Selling price = cost / (1 − target margin). A 40% margin on a $60 cost needs a $100 price.

Is gross margin the same as markup?

No. Gross margin uses selling price in the denominator; markup uses cost.

Does this include taxes or fees?

No. Enter net cost and price, or add fees into cost yourself before calculating.