Enter your revenue and costs to instantly calculate gross, operating, and net profit margins. Free, no sign-up required.
Total revenue or selling price for the period or product
Direct costs to produce or purchase the goods sold
Rent, salaries, marketing, and other overhead costs
Effective tax rate applied to operating profit
Other free calculators to help you benchmark and grow.
Calculate your cart abandonment rate, compare to benchmarks, and see your lost revenue.
Use Tool →Calculate how much each customer is worth over their entire relationship with your business.
Use Tool →Calculate your return on ad spend and see if your campaigns are profitable.
Use Tool →See how discounts affect your margins and how many extra sales you need to break even.
Use Tool →How It Works
No account needed, no sign-up required. Completely free. Enter your revenue and cost data to instantly see your gross, operating, and net profit margins with a full breakdown and industry comparison.
Input your total revenue and cost of goods sold (COGS) for a given period. These two numbers are all you need to calculate your gross profit margin instantly.
Include operating expenses like rent, payroll, and marketing to calculate operating margin. Add your tax rate to see your net margin after everything is accounted for.
See your gross, operating, and net profit margins side by side. Compare your numbers to industry benchmarks and find exactly where your profits are leaking. No sign-up required.
The Formula
This free profit margin calculator uses three standard formulas to give you a complete picture of your profitability. Here is the full breakdown.
Gross Profit Margin
Gross Margin = ((Revenue - COGS) / Revenue) x 100
Example: (($100 - $60) / $100) x 100 = 40% gross margin
Operating Profit Margin
Operating Margin = ((Revenue - COGS - Operating Expenses) / Revenue) x 100
Example: (($100 - $60 - $15) / $100) x 100 = 25% operating margin
Net Profit Margin
Net Margin = ((Revenue - COGS - OpEx - Taxes) / Revenue) x 100
Example: $100 revenue, $60 COGS, $15 OpEx, 21% tax on $25 operating profit = $5.25 tax. Net profit = $19.75. Net margin = 19.75%
Gross margin tells you how efficiently you produce or source your products. A 40% gross margin means you keep $0.40 of every dollar after covering the direct cost of what you sold. If your gross margin is low, no amount of cost-cutting elsewhere will make up for it. This is your first and most important margin to get right.
Operating margin reveals whether your business operations are sustainable. It accounts for rent, salaries, marketing, and other day-to-day expenses on top of COGS. In the example above, operating expenses of $15 bring the margin down from 40% to 25%. A healthy operating margin means your business model works. A shrinking one is an early warning sign.
Net margin is your true bottom line. After COGS, operating expenses, and a 21% tax rate, $100 in revenue leaves you with $19.75 in actual profit. This is the number investors, lenders, and potential buyers care about most. Tracking all three margins together shows you exactly where your money goes and where the biggest improvement opportunities are hiding.
Industry Benchmarks
Your margins only make sense in context. Compare your gross and net margins against these industry averages to see where you stand and set realistic improvement targets.
| Industry | Gross Margin | Net Margin |
|---|---|---|
| Software / SaaS | 60-80% | 20-40% |
| Retail / E-Commerce | 25-50% | 2-10% |
| Food / Restaurants | 25-40% | 3-9% |
| Manufacturing | 25-35% | 5-10% |
| Professional Services | 50-70% | 15-25% |
| Healthcare | 40-60% | 5-15% |
| Construction | 15-25% | 2-8% |
| Real Estate | 30-50% | 10-20% |
Sources: NYU Stern, IBISWorld, 2026/2027 averages.
Margins by Business Model
Your business model determines your margin ceiling. Subscription businesses and marketplaces naturally carry higher margins than wholesale or dropshipping operations. Understanding these differences helps you set the right expectations.
| Business Model | Typical Gross Margin | Typical Net Margin |
|---|---|---|
| Subscription (SaaS) | 70-85% | 15-30% |
| Marketplace | 60-75% | 10-25% |
| Direct-to-Consumer | 40-60% | 5-15% |
| Wholesale | 20-35% | 3-8% |
| Dropshipping | 15-30% | 2-7% |
| Freemium | 65-80% | 5-20% |
Sources: NYU Stern, IBISWorld, 2026/2027 averages.
What Kills Your Profit Margins
Most margin erosion happens gradually. These are the most common profit killers that businesses overlook until it is too late. Identify them early and protect your bottom line.
Setting prices too low to "win customers" is one of the fastest ways to destroy margins. Many businesses price based on competitor rates without understanding their own cost structure. If your price does not cover all costs and leave room for profit, volume alone will not save you. Price for value, not just volume.
#1 margin killer for small businessesSpending heavily on ads, influencers, and promotions without tracking cost per acquisition eats into margins fast. If it costs you $50 to acquire a customer who generates $60 in gross profit, your net margin is razor thin. Track CAC against customer lifetime value to ensure your acquisition spend is sustainable.
CAC has risen 60% over the past 5 yearsSuppliers raise prices gradually, and many businesses absorb those increases without adjusting their own pricing. Over a year, a 3-5% increase in COGS can wipe out your entire net margin if you are not watching. Review supplier contracts quarterly and renegotiate or find alternatives before costs erode your profits.
3-5% annual COGS creep is commonRunning constant sales and promotions trains customers to wait for discounts and never pay full price. A 20% discount on a product with a 40% gross margin cuts your gross profit in half. Use discounts strategically and sparingly, and track the margin impact of every promotion you run.
20% discount = 50% gross profit cut at 40% marginManual processes, redundant software subscriptions, overstaffing, and poor inventory management all inflate operating expenses. These costs are often invisible because they accumulate slowly. Audit your operations quarterly to identify waste and automate repetitive tasks wherever possible.
Businesses waste 20-30% on inefficient operationsMany businesses track overall revenue without understanding profit per product, per customer, or per channel. This means unprofitable products subsidized by profitable ones go unnoticed. Break down margins at the unit level to find and fix the products and channels that are quietly draining your bottom line.
Up to 30% of SKUs can be margin-negativeImprove Your Margins
These strategies are used by profitable businesses across every industry to grow margins without sacrificing growth. All CommonNinja widgets mentioned below are free to start.
Test small price increases (5-10%) on your best-selling products and measure the impact on conversion rates. Most businesses underestimate their pricing power. If you lose fewer than 5% of sales from a 10% price increase, your margins and total profit both improve. Use A/B pricing tests to find the sweet spot.
Try Pricing Tables widget →Renegotiate supplier contracts annually, consolidate orders for volume discounts, and source alternative suppliers for your top cost items. Even a 3% reduction in COGS flows directly to your gross margin. Build relationships with multiple suppliers so you always have leverage in negotiations.
Offer good, better, and best pricing tiers to capture different customer segments. Tiered pricing lets price-sensitive customers still buy while encouraging others to pay more for premium features. Most customers choose the middle tier, which you can position at your target margin level.
Try Pricing Tables widget →Premium tiers, extended warranties, and add-on services carry much higher margins than base products. A $10 add-on that costs you $1 to deliver has a 90% gross margin. Design your product lineup so customers can easily upgrade and add extras that boost your overall margin.
Replace manual workflows with automation tools for invoicing, inventory management, customer support, and marketing. Every hour of manual work you eliminate reduces your operating expenses without reducing output. Start by automating the most repetitive, time-consuming tasks in your business.
Analyze margins at the SKU level and eliminate or reprice products that consistently lose money. Businesses often carry unprofitable products out of habit or because they look good on the catalog. Cutting the bottom 10-20% of your product line can dramatically improve your overall margin.
Try Charts widget →Combine complementary products into bundles priced slightly below the sum of individual items. Bundles increase perceived value for the customer while improving your margin per order. The discount on the bundle is smaller than what you would lose from selling items separately with promotions.
Try Comparison Tables widget →Track margin trends weekly and adjust pricing based on demand, seasonality, and competitor activity. Static pricing leaves money on the table. Use dashboards and analytics to identify when margins are slipping and act before small changes become big problems.
Try Coupon Popup widget →Margin Metrics Glossary
Different margin metrics answer different questions about your business. Here is how they compare and when to use each one.
| Metric | Definition | Formula | When to Use |
|---|---|---|---|
| Gross Margin | The percentage of revenue remaining after subtracting cost of goods sold. Measures production or sourcing efficiency. | ((Revenue - COGS) / Revenue) x 100 | Evaluating pricing strategy and production costs |
| Operating Margin | The percentage of revenue left after subtracting COGS and operating expenses. Shows how efficiently the core business runs. | ((Revenue - COGS - OpEx) / Revenue) x 100 | Assessing overall business operational efficiency |
| Net Margin | The percentage of revenue that becomes actual profit after all expenses, interest, and taxes. The bottom line. | ((Revenue - All Costs - Taxes) / Revenue) x 100 | Measuring true profitability and investor reporting |
| Contribution Margin | Revenue minus variable costs per unit. Shows how much each sale contributes to covering fixed costs and generating profit. | (Price - Variable Cost per Unit) / Price x 100 | Deciding which products to promote or discontinue |
| EBITDA Margin | Earnings before interest, taxes, depreciation, and amortization as a percentage of revenue. Used to compare profitability across companies. | EBITDA / Revenue x 100 | Comparing profitability across industries or companies |
From the Blog
Dig deeper into the strategies behind improving profit margins and building a more profitable business.
In this article, we are going to explain how to create an E-Commerce website. ...
Read article →In this article, we will discuss the new template we’ve created for building WooCommerce apps with zero effort. ...
Read article →In this article, we are going to explain how to build an e-commerce store with React, Next.js and Builder. ...
Read article →In this article, we will discuss the new starter kit we’ve created, for building universal e-commerce apps with Node.js ...
Read article →Disco how to build an e-commerce application with Shopify and Next.js. ...
Read article →In this article, we will cover the latest updates, news and improvements that we’ve implemented to the Common Ninja deve...
Read article →