About the Profit Margin Calculator
Profit Margin Calculator helps estimate the key numbers involved in conversion & profit decisions. It is designed for quick scenario comparison: enter a realistic set of values, calculate the result, then change one assumption at a time to see what has the greatest effect. Unlike a static table, the result responds to your inputs and keeps the calculation in your browser. Campaign metrics are meaningful only when spend, revenue, clicks, impressions, customers, and conversions use the same date range, attribution rules, channel scope, and currency.
How to use this calculator
Enter values that match your situation and select Calculate result. Review the main result and its supporting figures, then change one input at a time to compare scenarios. Results are rounded for readability while the calculation retains additional precision internally.
Information you will need
- Revenue
- COGS
- Expenses
How the calculation works
Net and gross profit margins. Read the primary result together with the supporting values rather than focusing on one number alone. A useful estimate should make its assumptions visible. If the answer looks surprising, verify the unit, rate, time period, and whether the entered value is gross or net. Run a conservative and an optimistic scenario to understand the range of possible outcomes.
Formula or method
Gross = (Revenue - COGS) / Revenue. Net = (Revenue - COGS - Expenses) / Revenue.
Worked example
$50K revenue, $25K COGS, $10K expenses.
The example is illustrative rather than a recommendation. Use your own verified values and keep all monetary or measurement units consistent. When comparing alternatives, save or note each result so the assumptions do not become mixed.
How to interpret the result
The primary output answers the main question posed by the profit margin calculator, while the additional cards provide context. A result with many decimal places is not necessarily more certain. The displayed precision makes comparison easier, but uncertainty in the inputs can be larger than the rounding difference.
Compare channels only after aligning attribution windows and conversion definitions. Review the metric beside gross margin, customer quality, repeat purchases, refunds, and incremental lift rather than optimizing one ratio in isolation.
Limitations and important notes
The profit margin calculator calculates a reporting metric, not a forecast or guarantee. Attribution platforms can assign the same conversion differently because of lookback windows, view-through credit, cross-device behavior, modeled conversions, refunds, and data delays. Revenue efficiency does not automatically equal profit. Reconcile source data, use contribution margin where relevant, and compare like-for-like campaign periods before changing budgets.
Frequently asked questions
How do I calculate profit margin?
Net profit margin = (revenue minus all expenses) divided by revenue, times 100. If you earn $100,000 and keep $12,000 after all costs, net margin is 12%. Gross margin = (revenue minus cost of goods sold) divided by revenue. Example: sell for $100, product costs $60, gross margin is 40%; after $20 of overhead the operating margin is 20%; after taxes and interest the net margin is lower still. Match the margin type to the decision you are making.
What is the difference between gross and net margin?
Gross margin = (revenue minus cost of goods sold) divided by revenue; it measures production efficiency and pricing. Net margin = (revenue minus all costs, including overhead, interest, and taxes) divided by revenue; it measures overall profitability. A restaurant can show about 65% gross margin yet only about 4% net because labor, rent, and utilities absorb the rest. Gross margin tells you if the product works; net margin tells you if the business truly makes money.
What is a good profit margin for a small business?
For most small businesses, a net profit margin of 10% or more is considered healthy; 5% is a warning zone and below is vulnerable. But industry context rules: 2–5% net is normal for grocery and general retail, 15–30% for software and SaaS, and 7–25% for professional services. Gross margins under 20% are hard to sustain because one price rise or discounting season can wipe out profit. Compare against your industry and your own trend rather than a universal number.
Is a 20% profit margin good?
For most industries, yes — analysts commonly treat 10% net margin as healthy and 20% as strong. In high-cost sectors like grocery (1–3% typical), restaurants (3–8%), or construction (3–7%), 20% is exceptional. In software or financial services, 20% is good but fairly common. Always specify gross versus net: a 20% gross margin is thin and risky for most product businesses, while a 20% net margin is excellent. Compare yourself to peers in your NAICS classification.
What is a good profit margin for a restaurant, retail, or SaaS?
Typical net margins: restaurants 3–8% (with gross around 60–70%), fast food 6–10%; retail 2–10% net with gross of 25–50%; grocery 1–3%; ecommerce 5–15% for own-brand products (gross 40–60%) and 2–7% for resale; SaaS 15–30% net with gross margins of 70–85%. These are ranges, not targets — margins depend on model, size, and market. Where your margin sits relative to peers tells you whether to fix pricing, COGS, or overhead.
What is the difference between profit margin and markup?
Margin is profit as a percentage of selling price; markup is profit as a percentage of cost. Sell a $60 item for $100: margin is 40/100 = 40%, while markup is 40/60 = 66.7%. The same deal looks very different on the two scales. To achieve a 40% margin you must apply about a 66.7% markup, which is why confusing the two leads to underpricing. Use margin for profitability analysis and markup for pricing decisions.
Why is my profit margin low even though I have high sales?
High volume doesn't equal profit. Typical culprits: pricing too low (a 5% price increase drops roughly 80% to the bottom line), COGS creep from supplier costs or constant discounts, overhead like labor and rent absorbing gross profit, and payment or shipping fees left out of the margin calculation. If gross margin is fine but net is thin, overhead is the problem; if gross itself is thin, pricing or COGS is. Diagnose the single biggest gap and fix that first.