Profit Margin Calculator
Work out profit, margin and markup in seconds. Switch modes to find the price for a margin you want, or the cost that still leaves it.
- Choose what you know
- Enter the two values
- Read profit, margin and markup
Your files never leave your device
What you can calculate
Pick the mode that matches what you know: cost and price, cost and margin, cost and markup, or price and margin. Enter the two values and the tool fills in the rest, showing profit, margin and markup. This makes it easy to check a quote or to set a selling price for a target.
- Margin is profit divided by the selling price. Markup is profit divided by the cost.
- A 50% markup gives only a 33.3% margin, so do not mix them up when pricing.
- Taxes, shipping and fees are not included. Enter the cost with everything you pay.
A worked example
An item costs 60 and sells for 100. The profit is 40, the margin is 40 divided by 100, which is 40%, and the markup is 40 divided by 60, about 66.7%. The same profit gives two different percentages because they use different bases.
To reach a 30% margin on a cost of 70, divide the cost by 0.70, which gives a price of 100 and a profit of 30. With a markup of 25% on a cost of 80, the price is 100, the profit 20 and the margin 20%. With a price of 200 and a margin of 35%, the profit is 70 and the cost is 130.
Limits and common mistakes
The most common mistake is to add the wanted margin to the cost as if it were a markup. Adding 30% to a cost of 70 gives 91, which has a margin of only 23.1%. Margin can never be 100% or more, because profit cannot exceed the price.
The calculator ignores tax, shipping, fees and discounts, so enter a cost that includes every expense, and treat the result as a gross figure. Use it for quick pricing decisions, and check your accounting for the full picture.
Frequently asked questions
Is my data stored or sent?
No. The calculation runs on your device.
What is the difference between margin and markup?
Margin is based on the selling price and markup on the cost, so the same profit gives a lower margin than markup.
How do I price for a 30% margin?
Use the cost and margin mode. The price equals the cost divided by 0.70, which is 1 minus 0.30.
Can I use any currency?
Yes. Numbers are currency-neutral.
Does it include tax?
No. Add tax separately or include it in your cost.
Why is margin never above 100%?
Because profit cannot exceed the selling price.