Money calculator

Markup Calculator

Compare markup and gross margin from a product's cost and selling price.

Cost and selling price must be greater than zero.

Markup amount

Markup percentage
Gross profit
Gross margin

How it works

Markup measures profit relative to cost. Margin measures the same profit relative to selling price, so the two percentages are not interchangeable.

Markup % = profit ÷ cost × 100; margin % = profit ÷ selling price × 100

Worked example

An $80 cost and $100 selling price gives $20 profit, 25% markup, and 20% margin.

How to use this tool

  • Enter the known values and choose units where available.
  • Check the primary result and supporting details.
  • Clear or replace an input to calculate another case.

Frequently asked questions

What happens with invalid or incomplete inputs?

The result remains blank until the required inputs form a finite, meaningful calculation. Zero denominators and physically impossible negative quantities are not calculated.

Can I use decimal values?

Yes. The tool accepts decimals and keeps full precision for the calculation while rounding the displayed result for readability.