Profit Margin Calculator
Calculate your profit margin, markup, and gross profit from cost and revenue.
About
Profit margin is the percentage of revenue that survives after all the costs of producing and delivering a product or service have been paid. It is the most-watched financial metric for any business because it reveals whether the operation is fundamentally profitable, not just whether revenue is growing. The single biggest source of confusion in small-business finance is the difference between margin and markup: margin is profit divided by selling price, while markup is profit divided by cost, so a 50% margin corresponds to a 100% markup on the same transaction. The two numbers describe the same deal from different angles โ markup is set by the seller when pricing, margin is observed after the sale โ but they diverge sharply in numerical terms. Restaurants, retailers, and consultants often target specific margin benchmarks (restaurants aim for 60โ70% gross margin on food, software companies aim for 70โ85%), which makes this calculator essential for sanity-checking whether a quoted price will actually leave room for overhead and profit. A high margin business can absorb cost shocks; a low margin business lives one bad quarter from insolvency.
How to Use
- Enter the total cost to produce or acquire the product (materials, direct labor, packaging).
- Enter the selling price (the revenue received per unit, or total revenue for a period).
- The calculator shows profit, margin %, markup %, and the break-even revenue.
- To hit a target margin, solve for selling price: cost รท (1 โ target margin).
Formula
Profit, margin, and markup all derive from the same two numbers:
Profit = Revenue โ Cost
Margin % = Profit / Revenue ร 100
Markup % = Profit / Cost ร 100
To convert one into the other:
Markup = Margin / (1 โ Margin)
Margin = Markup / (1 + Markup)
Both percentages should be expressed as decimals (e.g., 0.30) in these conversions.
Worked Example
You buy a product for $60 and sell it for $100.
- Profit = $100 โ $60 = $40
- Margin = $40 / $100 ร 100 = 40.00%
- Markup = $40 / $60 ร 100 = 66.67%
- So the same deal is described as a 40% margin or a 66.67% markup โ never both at the same number.
Tips
- Decide whether you price with margin or markup in mind โ retailers tend to use markup ("keystone" = 100% markup = 50% margin), service businesses tend to target margin.
- Track gross margin (revenue minus direct cost) and net margin (revenue minus all expenses) separately โ a healthy gross margin can hide an unprofitable business when overhead is too high.
- Benchmark against your industry: grocery stores run 1โ3% net margins, software companies 20โ40%, restaurants 3โ5%.
- Discounting destroys margin faster than it boosts revenue: a 10% discount on a 30% margin product requires a 50% volume increase just to break even on profit.
- Re-evaluate cost inputs quarterly โ small material price increases quietly compress margin if you forget to re-price.
Common Mistakes
- Using "margin" and "markup" interchangeably โ they differ by a factor of two or more for the same transaction.
- Forgetting to include all costs (labor, shipping, returns, payment-processing fees) โ "gross profit" on the invoice isn't the same as actual profit.
- Setting prices by copying competitors without checking your own cost structure โ your cost base may be very different.
- Discounting to win volume without modeling the impact on margin and required unit sales.
- Treating margin as a target rather than a result โ margin depends on what customers will pay, not what you want to earn.
Frequently Asked Questions
- What is a good profit margin?
- It varies dramatically by industry. Net margins of 5โ10% are typical for retail and restaurants, 10โ20% for manufacturing and most service businesses, and 20โ40% for software and asset-light tech companies. Compare your margin to publicly traded peers in your sector โ beating the industry median is a reasonable goal.
- Why is markup higher than margin for the same deal?
- Because the denominators differ. Margin divides profit by the larger number (selling price), while markup divides profit by the smaller number (cost). The same dollar of profit is a smaller percentage of a bigger base, so margin is always the lower of the two. At 100% markup, margin is exactly 50%; at 50% margin, markup is exactly 100%.
- What is the keystone pricing rule?
- Keystone is a retail convention where you double the cost to set the price โ equivalent to a 100% markup or a 50% margin. It is popular because the math is trivial and historically worked for general-merchandise retailers with high inventory turnover. It is rarely optimal today; modern retailers use category-specific margin targets based on price elasticity.
- Should I aim for higher margin or higher volume?
- Maximize total profit, not either one alone. A high-margin, low-volume niche business and a low-margin, high-volume mass-market business can both be very profitable. The right choice depends on your fixed-cost base, competitive landscape, and operational capacity. The most common mistake is chasing revenue growth at the expense of margin without enough volume to compensate.
Try our other free calculators
CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.