Margin Calculator

Compare margin, markup, and profit dollars without the confusion.

Enter a cost and either the selling price or a target margin percent. See the margin %, the equivalent markup, and the price needed to hit any target margin.

Part of: Saving & Spending Calculators

Enter the numbers you know below
Fields marked optional can be skipped; results update as you type
Margin
33.3%
Gross profit
$20.00
Price
$60.00
Price $60.00 on $40.00 cost = 33.3% margin (50.0% markup) — $20.00 profit.
Cost
$40.00
Price
$60.00
Profit
$20.00
Margin
33.3%
Markup (equivalent)
50.0%
Same profit ($20.00), two lenses: 33.3% margin when viewed against price, 50.0% markup when viewed against cost.
To reach a 40% margin at this cost, price needs to be $66.67.
Price at target margin
20% margin
  • Price: $50.00
  • Profit: $10.00
30% margin
  • Price: $57.14
  • Profit: $17.14
40% margin
  • Price: $66.67
  • Profit: $26.67
Current (33.3%)
  • Price: $60.00
  • Profit: $20.00

Before you trust the result

Check the inputs that matter most: dates, rates, units, costs, and any optional fields you skipped. A calculator can only work with the numbers entered here, so use the result as a decision check rather than a final answer when money, health, tax, legal, or safety consequences are involved.

If the result feels surprising, change one input at a time and watch which number moves. That usually shows the real lever behind the decision.

More about this tool

How to use this tool
  1. Enter the product cost.
  2. Pick Cost + Price to compute margin, or Cost + Target margin % to compute the required price.
  3. Markup is shown alongside so you can compare the two lenses.

Examples

Cost $40, price $60
Margin 33.3%, profit $20, markup 50%.
Cost $40, target margin 40%
Price must be $66.67 to hit 40% margin.

Next up

Frequently asked questions

Can margin reach 100%? Trust & accuracy

No — 100% margin would require zero cost. Margin asymptotes to 100% as cost approaches zero.

Why is my markup so much higher than my margin? Troubleshooting

Margin divides profit by price (a bigger number); markup divides profit by cost (a smaller number). Same profit, different denominator.

Related tools