Profit Margin
Gross profit and margin from cost and selling price.
Enter values
$
$
—
—
Step by step
The formula
margin = (price − cost) / price × 100
Margin and markup describe the same profit against different baselines: margin divides by the selling price, markup by the cost. That is why a 50% markup is only a 33% margin — mixing them up is one of the most common pricing errors in small business.
All calculations run locally in your browser and update instantly as you type.
Example calculations
Common questions this calculator answers — select one to load its values.
Related calculators
Frequently asked questions
What is the difference between margin and markup?+
Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost.
All calculations run locally in your browser. Nothing you type is sent to a server.