Profit Margin Calculator
Turn cost and price into margin and markup.
How to use
- 1 Enter the cost of the item or service.
- 2 Enter the revenue, or selling price.
- 3 Read the profit, margin and markup in the results card.
- 4 Copy the summary to paste into a quote or spreadsheet.
About Profit Margin Calculator
The Profit Margin Calculator turns two numbers you already know — what something costs you and what you sell it for — into the figures that actually matter for pricing decisions.
Enter a cost and a revenue (selling price) and it instantly reports the absolute profit, the gross profit margin, and the markup, so you can see at a glance how healthy a sale really is.
Margin and markup are easy to confuse, and pricing mistakes often come from mixing them up.
Margin expresses profit as a percentage of the selling price: a product that costs $40 and sells for $100 has a 60% margin.
Markup expresses the same profit as a percentage of the cost, which for that example is 150%.
The same sale, two very different-looking numbers — this tool shows both together so you never apply the wrong one.
It works for retail pricing, freelance quotes, ecommerce listings, wholesale deals and quick break-even checks.
Losses are handled gracefully too: if revenue is below cost the margin and profit simply come back negative.
Everything is computed locally in your browser, so your cost data and pricing strategy never leave your device, and the tool keeps working offline once loaded.
FAQ
What is the difference between margin and markup?
Margin is profit divided by the selling price; markup is profit divided by the cost. A 60% margin equals a 150% markup for the same sale.
Can I enter a price lower than the cost?
Yes. If revenue is below cost the calculator returns a negative profit and margin so you can see the size of the loss.
Is my pricing data uploaded anywhere?
No. All calculations run in your browser, so your figures stay private on your device.