Free Margin Calculator for Business

Calculate profit margins, markup percentages, and ROI instantly. Enter your cost and selling price below to get started — no signup required.

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

More Financial Calculators

Specialized tools for every pricing and profitability scenario your business needs.

Understanding Profit Margin

The one number that tells you if your pricing actually works.

What Is Profit Margin?

Profit margin is the percentage of your revenue that's actually profit. Sell something for $100, and $40 of that is profit? That's a 40% margin.

Simple enough. But here's where most sellers get tripped up: they only look at gross margin — the gap between what they paid for a product and what they sold it for. They forget about shipping. Platform fees. Payment processing. Returns.

That's why we built the Additional Costs section into this calculator. Because the difference between your gross and net margin can be brutal — sometimes 20 percentage points or more.

THE FORMULA
Margin = (Revenue − Cost) ÷ Revenue × 100
$100 sale, $60 cost → ($100 − $60) ÷ $100 = 40%

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.

Margin vs. Markup

They sound similar. They're not. Mixing them up is one of the most expensive mistakes in pricing.

Both margin and markup measure the same profit. The difference is what they use as the denominator.

Margin divides profit by the selling price. Markup divides profit by the cost. Same $40 profit on a $100 sale — but margin says 40%, and markup says 66.7%.

Why does this matter? Say your supplier offers "50% markup" and you hear "50% margin." You'd think you're keeping half the revenue. You're not. A 50% markup only gives you a 33.3% margin. On a $10,000 order, that misunderstanding costs you $1,667 in expected profit that doesn't exist.

Retailers and wholesalers tend to think in markup. Finance people and investors think in margin. Our calculator shows both side by side so you're never confused.

Margin

Profit ÷ Selling Price
$40 ÷ $100 = 40%

Markup

Profit ÷ Cost Price
$40 ÷ $60 = 66.7%

Quick Conversion Reference

Margin
10%
= 11.1% markup
Margin
20%
= 25% markup
Margin
25%
= 33.3% markup
Margin
33.3%
= 50% markup
Margin
40%
= 66.7% markup
Margin
50%
= 100% markup
Margin
60%
= 150% markup
Margin
75%
= 300% markup

How to Use This Calculator

Five modes, one tool. Here's what each one does and when to use it.

Getting Started

Type your cost price. Type your selling price. Hit Calculate. That's the basic flow — you'll get margin percentage, markup, ROI, total profit, and a per-unit breakdown in about two seconds.

But most products don't just have a cost and a price. You've got shipping to pay, Stripe takes 2.9%, Amazon or eBay take their cut. Click "Additional Costs" to factor those in. You can even add custom line items for things like packaging, returns, or ad spend per unit.

The results update with both gross margin (before extra costs) and net margin (after everything). That net number is what actually hits your bank account.

The Five Modes

Basic Mode

Enter cost and price, get everything — margin, markup, ROI, profit. What 90% of people need.

Reverse Mode

Know your cost and target margin? This tells you exactly what to charge. Useful when you're setting prices for a new product line.

Markup Mode

Same idea as Reverse, but starts from a markup percentage instead. Common in wholesale and retail where markup is the industry language.

Comparison Mode

Add multiple products, see margins side by side. Find your winners and your losers. Helpful during quarterly product reviews or when deciding what to restock.

Break-even Mode

Enter fixed costs, per-unit cost, and selling price. Get the exact number of units you need to sell before you start making money. Includes safety margin and operating leverage metrics.

Profit Margin by Industry

"Is my margin good?" depends entirely on what you're selling. Here's a rough benchmark.

Software / SaaS

70–90%

Low per-user cost

Consulting

50–70%

Mostly labor

E-commerce

40–65%

Sourcing dependent

Retail

25–50%

Price pressure

Restaurants

60–70%

3–9% net after labor

Grocery

25–35%

1–3% net, volume game

Manufacturing

25–35%

Capital heavy

Real Estate

20–40%

Location dependent

What Do These Numbers Mean for You?

If you're running an e-commerce brand and your gross margin is 35%, you're on the lower end. Not necessarily bad — Walmart runs on razor-thin margins and does just fine — but it means every operational inefficiency hurts more.

A Shopify store doing $50K/month with 60% gross margin has $30K to cover ads, staff, software, and everything else. The same store at 35% has $17,500. That's $12,500/month difference from one number.

Three things move the needle:

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.

Use the Comparison mode above to audit every product in your catalog. You might be surprised which ones are actually losing money once all costs are factored in.

Gross Margin vs. Net Margin

Gross margin only looks at direct product costs. Net margin includes everything — shipping, transaction fees, taxes, packaging, ad spend, returns. It's the number that matters.

A product with 65% gross margin sounds great until you realize Amazon takes 15%, FBA fees eat another 10%, PPC ads cost $3 per unit, and your real net margin is 22%.

That's still profitable. But if you're making inventory decisions based on gross margin alone, you'll overstock the wrong products every time.

Our calculator shows both numbers for exactly this reason. Toggle on Additional Costs, enter your real fees, and see what you're actually keeping.

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 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 calculators to make smarter pricing decisions.

Start Calculating — It's Free

Frequently Asked Questions

Common questions about margins, markup, and this calculator.