Enter revenue and cost once — instantly see gross, operating, and net profit margin side by side. Most calculators show one margin at a time. This one shows all three.
Profit margin shows what percentage of revenue becomes profit. Formula: (Selling Price - Cost) / Selling Price x 100. Example: A $100 product with $60 cost has 40% margin. Higher margins mean more profit per sale. Software typically targets 70%+, retail 25-50%.
Try an example:
Enter revenue and cost to calculate margin
Profit margin is the percentage of revenue that remains after subtracting costs. It's the most fundamental metric for understanding business profitability and pricing power. Per Investopedia, profit margin reveals how many cents of profit a business generates for each dollar of sales.
For business owners and managers, margin analysis answers critical questions: Are prices set correctly? How do costs compare to competitors? Is there room for discounts or marketing spend? According to Harvard Business Review, companies that regularly monitor and optimize margins outperform those focused solely on revenue growth.
Margin analysis works hand-in-hand with other financial metrics. Combine it with break-even analysis to understand volume requirements, or use ROI calculations to evaluate whether margin improvements justify the investment required. For product-level analysis, track gross profit margin separately from net profit margin to isolate where profitability is gained or lost.
Profit Margin = ((Revenue - Cost) / Revenue) x 100
For markup-based calculation:
Markup = ((Revenue - Cost) / Cost) x 100
Revenue minus cost of goods sold (COGS) divided by revenue. Measures production and procurement efficiency. A retailer buying at $60 and selling at $100 has 40% gross margin.
Revenue minus COGS and operating expenses (rent, salaries, utilities) divided by revenue. Shows core business profitability before taxes and interest.
Revenue minus ALL expenses (COGS, operating, taxes, interest, depreciation) divided by revenue. The "bottom line" showing actual profit retained by the business.
Revenue minus variable costs only, ignoring fixed costs. Useful for product-level decisions and break-even analysis. Shows how much each sale contributes to covering fixed costs.
These terms are often confused but express the same profit differently. Understanding both prevents costly pricing errors.
An online clothing retailer purchases t-shirts wholesale at $12 each and sells them for $35. They also pay $3 per item in shipping and handling.
The 57% margin provides room for marketing costs (typically 15-20% of revenue in e-commerce), returns, and still leaves healthy net profit.
A B2B software company charges $299/month per customer. Their infrastructure cost per customer is $25/month, and support costs average $15/month.
SaaS companies typically target 70-85% gross margins. This company's 86.6% is excellent, leaving substantial profit for R&D, sales, and growth investments.
A restaurant sells a steak dinner for $45. The food cost (steak, vegetables, sides) is $14. Labor for preparation and service allocates to $8 per dish.
Restaurant food cost ratios typically run 28-35%. This 31% is healthy. The contribution margin covers rent, utilities, and other fixed costs, with remaining as profit.
While margin is essential for business analysis, relying on it alone can lead to incomplete conclusions.
A 50% margin on 10 sales generates less profit than 30% margin on 100 sales. High margins with low volume may not sustain a business. Always consider total profit dollars.
Gross margin excludes fixed costs like rent and salaries. A product with 60% gross margin might still lose money if fixed costs are high relative to sales volume.
A 15% margin is excellent for grocery stores but poor for software companies. Always compare to industry benchmarks rather than absolute values.
Margin measures profitability, not cash flow. A business can have healthy margins but still face cash crunches if customers pay slowly or inventory ties up capital.
How costs are categorized affects margin calculations. Shifting expenses between COGS and operating costs changes gross margin without changing actual profitability.
For more guidance, see the Valuefy blog.
Pair this tool with the Markup Calculator and the Price Calculator to cross-check inputs. For strategic context, read our founder's LOI negotiation guide and explore the Pricing & Costs tools hub.
Profit margin measures profitability as a percentage of revenue, while markup measures profit as a percentage of cost. Same profit, different denominators.
Gross margin shows production efficiency, operating margin shows core business health, and net margin shows overall profitability after all expenses.
Industry benchmarks vary dramatically: SaaS targets 70-85% gross margin, retail aims for 25-50%, and grocery stores operate on 2-5% net margins.
Higher margins provide flexibility for discounts, marketing investment, and absorbing cost increases. Low margins leave little room for error.
Always analyze margin alongside volume, fixed costs, and cash flow for a complete picture of business health.