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

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.

THE FORMULA
Gross Profit Margin % = (Revenue − Cost) ÷ Revenue × 100
$28 sale, $16 cost → ($28 − $16) ÷ $28 = 42.9%

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.

REVERSE CALCULATION
Selling Price = Cost ÷ (1 − Target Margin)
$16 ÷ (1 − 0.50) = $32 for a 50% margin

Real-World Example

A typical Etsy seller's numbers — look how fast costs add up:

Product cost$12.00
Selling price$29.99
Shipping−$4.50
Etsy fees (15%)−$4.50
Stripe processing (2.9%)−$0.87
Net profit$8.12 (27.1%)

Gross margin looked like 60%. Net margin? Just 27%. That's a $14 per-unit difference a lot of sellers never calculate.

Business analytics dashboard showing profit margin metrics

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:

OPERATING MARGIN FORMULA
Operating Margin % = Operating Income ÷ Revenue × 100
Operating income = Revenue − COGS − Operating Expenses

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.

G

Gross Margin

Measures production efficiency
(Revenue − COGS) ÷ Revenue
O

Operating Margin

Measures core business profitability
Operating Income ÷ Revenue
N

Net Margin

Measures bottom-line profit
Net Profit ÷ Revenue

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:

Excel Formula
=(B2-C2)/B2
Format column D as percentage. Drag down for every row.

Want to highlight products below your target margin? Use conditional formatting:

1

Select column D

2

Home → Conditional Formatting → Highlight Cells Rules → Less Than

3

Enter your target (e.g., 0.40 for 40%) → Set fill to red

With Operating Costs

Add column E for operating expenses per unit
=(B2-C2-E2)/B2
Gives you operating margin by product.

Example Spreadsheet Setup

A: ProductB: RevenueC: COGSD: Margin %
Candle$28$1642.9%
Mug$22$959.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.

Restaurant kitchen preparing food - restaurant profit margin analysis

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%.

Food costs28–35% of revenue
Labor30–35% of revenue
Rent5–10% of revenue
Typical net margin3–9%

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:

Shopify fees~2.6% of revenue
Payment processing~2.9% + $0.30
Shipping$5–8 per order
Returns (apparel)15–20% of orders
Paid ads20–35% of revenue
Real operating margin15–25%

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.

70–90%
Gross Margin
20–40%
Net Margin (stable)

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

1
Lower your COGS

Negotiate with suppliers. Buy in bulk. Source alternatives. Even 5% off your cost price compounds across every unit you sell.

2
Raise prices

Most small businesses underprice. Test a 10% increase — if you only lose 5% of volume, you're still ahead on total profit.

3
Cut operational waste

Compare payment processors. Optimize shipping. Switch fulfillment partners. These are the hidden margin killers.

E-commerce shipping and fulfillment - online store profit margins

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

Bundle high-margin with low-margin items

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.

Audit your product catalog quarterly

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.

Calculate before you commit

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 — Free

Frequently Asked Questions

Common questions about the profit margin calculator, formulas, and benchmarks.