Profit Margin Calculator
Calculate profit margin, markup, cost, revenue and profit. Enter any two values and get the rest instantly โ for pricing, quotes, or financial analysis.
Choose a mode below โ calculate margin from cost and revenue, find what price to set for a target margin, or convert between margin and markup.
What is a Profit Margin Calculator?
A profit margin calculator tells you what percentage of your selling price is profit after covering costs. It's one of the most fundamental business metrics โ a quick way to see how efficiently you're turning revenue into profit. This tool goes further: enter cost and revenue to get margin, enter cost and a target margin to find the right selling price, or convert between margin and markup percentages. It covers everything you need for pricing, quoting, and financial analysis in one place.
Whether you're setting prices for a product, reviewing a supplier quote, doing a business case, or just making sense of financial statements, the profit margin is the number that tells you what's actually left over.
How is Profit Margin Calculated?
Profit margin is the profit divided by the revenue, expressed as a percentage. Revenue is the selling price; cost is what you paid. The difference is your profit, and the margin tells you what fraction of each dollar of revenue you keep.
Margin = (Profit รท Revenue) ร 100
Example: Cost $40, Revenue $100
Profit = $100 โ $40 = $60
Margin = ($60 รท $100) ร 100 = 60%
Markup = (Profit รท Cost) ร 100
Markup = ($60 รท $40) ร 100 = 150%
How to Use This Calculator
Choose the mode that fits your question. In Cost & Revenue mode, enter what you paid and what you sell for โ the calculator gives you margin, markup, and profit. In Cost & Margin mode, enter your cost and the margin you want, and it tells you the selling price to charge. In Margin โ Markup mode, type either percentage and it converts to the other instantly โ because the two are related but not the same, and confusing them is one of the most common pricing mistakes.
Margin vs Markup: What's the Difference?
Margin is profit as a percentage of the selling price (revenue). Markup is profit as a percentage of the cost. They describe the same profit in different terms, and they're always different numbers. A 50% margin is not a 50% markup โ a 50% margin corresponds to a 100% markup. Confusing them leads to underpricing (if you set a 50% "margin" but actually applied a 50% markup, your real margin is only 33%).
What is a Good Profit Margin?
It depends heavily on the industry. Software and services often run 60โ90% gross margins. Retail and e-commerce typically sit at 25โ50%. Grocery and food are often 1โ5%. Manufacturing lands around 10โ30%. There's no universal "good" number โ what matters is whether your margin covers your operating expenses and leaves room for growth. Compare within your industry, not across all businesses.
Gross Margin vs Net Margin
This calculator computes gross margin โ revenue minus the direct cost of the product or service. Net margin goes further and subtracts all operating expenses (rent, salaries, marketing, taxes). Gross margin tells you how profitable each unit is; net margin tells you how profitable the whole business is. Both matter, but gross margin is the starting point for pricing decisions.
How to Improve Profit Margins
- Raise prices: even a small price increase flows straight to profit if volume holds.
- Reduce cost of goods: negotiate with suppliers, buy in bulk, optimise production.
- Cut waste: fewer returns, less spoilage, tighter inventory management.
- Upsell and bundle: higher-margin add-ons improve the blended margin per sale.
- Focus on high-margin products: promote the items that make you the most per dollar.
Frequently Asked Questions
Explore All NerdyTools By Categories
Find the right tool for any task โ free, fast, and no sign-up required
