Finance

Profit margin calculator

Calculate profit, profit margin and markup from cost and selling price.

Finance

Use the selected decimal separator and no thousands separators. Amounts: 0–1e12. Results round to two decimal places; calculations retain full floating-point precision.

Illustrative calculations, not personal financial advice. Constant user-entered rates; no taxes, fees, market data or guarantees.

Calculated on your device. Financial entries are not uploaded or saved.

Formula and worked example

Profit = selling price − cost. Margin = profit ÷ selling price × 100; markup = profit ÷ cost × 100. A cost of 60 and selling price of 100 gives profit 40, margin 40% and markup 66.67%.

Questions and assumptions

Why do margin and markup differ?

They use different denominators. Margin measures the share of revenue remaining after the entered cost; markup measures the increase over cost. Negative profit produces negative percentages. Margin is not defined at zero selling price, and markup is not defined at zero cost. Include relevant costs yourself; this is not a full business profit or tax statement.

Explore finance calculators ↗