Calculate markup and margin and understand the difference between them.
Runs in your browser
Markup vs Margin
Markup is calculated on cost how much you add on top.
Margin is calculated on revenue the share of revenue that is profit.
A 50% markup = 33.3% margin. They are not the same!
Selling Price
Based on your inputs
Cost Price
Profit Amount
Markup %
on cost
Margin %
on revenue
Cost vs Profit
The Markup Calculator helps businesses and freelancers determine the right selling price by applying a percentage markup to a base cost. It also works in reverse enter a selling price and cost to find the implied markup percentage or gross profit margin. Markup and margin are related but different metrics, and this tool makes both clear.
Common situations where this tool is useful include:
These use cases are examples rather than guarantees; the correct workflow depends on the source data and the decision you are making.
Example input: $60 cost and a $100 selling price.
Example result: Profit is $40, markup is 66.67%, and margin is 40%.
Markup is profit divided by cost. Margin is profit divided by selling price. Converting a target margin to price uses cost divided by one minus the margin rate.
The implementation reports the result produced from the visible inputs and does not infer missing facts. Where a public standard or vendor behavior defines the result, the page follows that published behavior rather than inventing a proprietary interpretation. Repeatable inputs should produce an explainable result under the same settings.
Primary references: Gross margin, Markup.
A technically valid output can still be wrong for the intended use. Check for these common problems and review the final result in its real context:
The calculation covers the values entered and does not determine a commercially appropriate or legally compliant price.
Reviewed by WorkShortcut Editorial against the current controls and output behavior. Report reproducible errors through the contact page with the input used, expected result, and result shown.
Reviewed by WorkShortcut Editorial on June 10, 2026