Everyday Calculators
Margin and markup calculator
Calculate profit, margin on selling price and markup on cost separately.
JavaScript is required to run the interactive tool. Open the tool separately if it does not load in the frame.
How to use it
Enter a cost and selling price greater than zero to see gross profit and both percentages.
Example
Cost 80 and price 100 give profit 20, margin 20% and markup 25%.
Frequently asked question
Are margin and markup the same?
No. Margin divides profit by selling price; markup divides it by cost.
Limits and privacy
Cost and selling price must both be greater than zero. Negative profit is allowed; magnitudes are limited to 1e15.
Tool input is processed in a separate browser environment without advertising or analytics scripts. This page does not upload it to the service.