Profit Margin Calculator
Calculate margin from revenue — or find the price from markup.
How to Use This Calculator
Margin tab
Enter your cost and revenue (selling price). The calculator instantly shows your profit, profit margin percentage, and markup percentage. This is the tab to use when you already know your selling price and want to understand your profitability.
Markup tab
Enter your cost and desired markup percentage. The calculator shows the selling price you need to charge. Use this when you know your cost and want to set a price based on a target markup.
These two tabs solve the most common confusion in business pricing — the difference between margin and markup. Use both to double-check your numbers.
Share your result
Every input is encoded in the URL. Click Share, send the link — they'll see your exact numbers. No re-entering, no screenshots.
The Formula
Profit margin (as a percentage of revenue):
Markup (as a percentage of cost):
Converting between them:
Where:
- Revenue / Price = what the customer pays
- Cost = what you paid for the product or service
- Margin = profit as a share of selling price
- Markup = profit as a share of cost
The critical difference: margin uses revenue as the denominator, markup uses cost. For the same product, markup is always higher than margin.
Example
Pricing a product for an online store
You source a product for $45 and sell it for $79. Let's see the margin and markup.
Now the reverse: on the Markup tab, enter $45 cost with 75.6% markup — and you get $79.00 selling price. Both tabs confirm the same numbers from different angles.