Free Profit Margin Calculator
Free profit margin calculator for products, restaurants, and Shopify stores. Calculate gross, net, and operating profit margin instantly — plus Excel formulas included.
Profit Margin Calculator
Calculate profit margins from revenue and costs
Results Dashboard
Ready to Calculate
Enter your cost and selling price to see detailed margin analysis
Product Comparison
| Product | Cost | Price | Margin % | Profit | Actions |
|---|
Gross Margin
Net Margin
Markup %
Total Profit
ROI
Per-Unit Breakdown
Margin Gauge
Cost Breakdown
How to Use This Profit Margin Calculator
The profit margin calculator handles the math instantly. Understanding what the number means takes a little more thought.
The Formula
Punch in your cost and revenue above — this profit margin calculator handles the math in under a second. No spreadsheet needed, no formulas to memorize.
But knowing how to calculate profit margin for a product (and what the number actually means) is just as important as getting the answer. Use the profit margin calculator to check any product before you commit to a price. A 40% margin in retail is amazing. In SaaS, it's a warning sign. Context matters.
Say you sell a candle on Etsy for $28. Your materials, packaging, and Etsy fees cost $16. That's $12 in gross profit — a solid 42.9% margin for a physical product.
Now flip it: how to calculate profit margin when you want to hit a target? Work backwards. Use our reverse margin calculator to find the selling price you need for any target margin.
Real-World Example
A typical Etsy seller's numbers — look how fast costs add up:
Gross margin looked like 60%. Net margin? Just 27%. That's a $14 per-unit difference a lot of sellers never calculate.

Gross vs. Net vs. Operating Profit Margin
Three different margins. Use the profit margin calculator for any of them — just enter the right cost figures for each type.
Gross profit margin tells you how efficiently you're producing or sourcing your product. It's Revenue minus COGS only — no rent, no payroll, no marketing. Note that markup and margin are related but different — use our markup calculator to see both numbers side by side.
Operating profit margin adds those overhead costs in. This is where the formula for operating profit margin comes in:
A business with 60% gross margin but 5% operating margin is burning through overhead. Somewhere between sourcing and selling, money is disappearing.
Net profit margin goes even further — after interest, taxes, and one-off items. It's the "what you actually kept" number.
Gross Margin
Operating Margin
Net Margin
Most small business owners track gross margin daily and check net margin monthly.
How to Calculate Profit Margin in Excel
If you're managing a product catalog or tracking margins across dozens of SKUs, Excel is still the fastest tool. For quick one-off checks, the profit margin calculator above is faster.
Basic Gross Profit Margin Formula
Assume Column A = Product Name, Column B = Revenue (selling price), Column C = COGS. In column D, your Excel profit margin formula is:
Want to highlight products below your target margin? Use conditional formatting:
Select column D
Home → Conditional Formatting → Highlight Cells Rules → Less Than
Enter your target (e.g., 0.40 for 40%) → Set fill to red
With Operating Costs
Example Spreadsheet Setup
| A: Product | B: Revenue | C: COGS | D: Margin % |
|---|---|---|---|
| Candle | $28 | $16 | 42.9% |
| Mug | $22 | $9 | 59.1% |
| Your product | ... | ... | =(B4-C4)/B4 |
💡 Pro Tip
Use the profit margin calculator above when you need fast answers. Switch to Excel when you're managing 20+ SKUs and want a reusable template with conditional formatting. Both serve different purposes — the profit margin calculator for decisions, Excel for tracking.

Industry-Specific Margins: What's Normal
Benchmark numbers matter because "good" is relative. Run the profit margin calculator with these benchmarks in mind — context determines whether your number is healthy.
Restaurant Profit Margin
Restaurants are notoriously thin. If you're running a restaurant profit margin calculator and getting 5–8% net margin, that's actually healthy. Many full-service restaurants run 3–5%.
Gross margin in restaurants (food cost only) looks much better — 65–75% is typical. That's why restaurant owners track food cost percentage separately from net margin.
Shopify / E-Commerce Margin
Running a Shopify store? A $50 product with $18 in COGS looks like 64% gross margin. But factor in real costs:
Run your Shopify profit margin calculator with all variable costs. Most sellers are shocked the first time they see the real number.
SaaS & Software Profit Margin Calculator
SaaS margins look incredible on paper — 60–80% gross margin is common because the cost of serving one more user is near zero. Use the profit margin calculator to track gross vs. net margin separately as your team grows.
Net margins after R&D, sales, and marketing can be slim in growth-stage companies. Once growth spend stops, SaaS net margins can hit 30–40%.
Three Things That Move the Needle on Your Profit Margin Calculator Results
Negotiate with suppliers. Buy in bulk. Source alternatives. Even 5% off your cost price compounds across every unit you sell.
Most small businesses underprice. Test a 10% increase — if you only lose 5% of volume, you're still ahead on total profit.
Compare payment processors. Optimize shipping. Switch fulfillment partners. These are the hidden margin killers.

Margin by Channel: Don't Confuse Them
A product with 45% margin sold direct might have 30% margin sold through Amazon (after FBA fees). Track them separately — blending channel margins into one number hides your real winners.
A Shopify store doing $50K/month at 60% gross margin has $30K to cover ads, staff, and software. The same store at 35% has $17,500. That's $12,500/month difference from one number.
Know Your Floor Before You Discount
Every product has a price floor — the minimum you can charge and still make money. Run the profit margin calculator at different discount levels to find your floor. If your margin is 40%, you can discount up to 20% and still clear 20% margin. Know your floor before you run a sale. Run the break-even calculator to see exactly how many units you need to cover all costs.
Watch COGS Creep
Supplier prices go up slowly. Many business owners set a price once and forget to revisit COGS every quarter. Set a calendar reminder — quarterly is the minimum. Monthly if your inputs are volatile (commodities, seasonal goods, food).
Practical Tips From Real Sellers
Your best-selling product might be a loss leader. Pair it with a high-margin accessory and your average order margin goes up 15–20%. Amazon sellers do this constantly — the phone case makes more profit than the screen protector that brought the customer in.
Use Comparison mode above to rank every SKU by net margin. Kill the bottom 10%. Double down on the top 20%. A DTC brand doing this consistently will outperform one that treats all products equally.
Before signing with a new supplier or launching on a new platform, run the numbers in Reverse mode. Enter your target margin, see what price you'd need, and ask: will customers pay that? If not, the deal isn't worth it — no matter how good the wholesale price looks.
Ready to Maximize Your
Profit Margins?
Join thousands of business owners using our free profit margin calculator to make smarter pricing decisions — no signup required.
Use the Profit Margin Calculator — FreeFrequently Asked Questions
Common questions about the profit margin calculator, formulas, and benchmarks.