Free Margin Calculator for Business
Use this free margin calculator to 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
Product Comparison
| Product | Cost | Price | Margin % | Profit | Actions |
|---|
Gross Margin
Net Margin
Markup %
Total Profit
ROI
Per-Unit Breakdown
Margin Gauge
Cost Breakdown
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.
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.

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
Markup
Quick Conversion Reference

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
Enter cost and price, get everything — margin, markup, ROI, profit. What 90% of people need.
Know your cost and target margin? This tells you exactly what to charge. Useful when you're setting prices for a new product line.
Same idea as Reverse, but starts from a markup percentage instead. Common in wholesale and retail where markup is the industry language.
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.
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
Low per-user cost
Consulting
Mostly labor
E-commerce
Sourcing dependent
Retail
Price pressure
Restaurants
3–9% net after labor
Grocery
1–3% net, volume game
Manufacturing
Capital heavy
Real Estate
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:
Lower your COGS. Negotiate with suppliers. Buy in bulk. Source alternatives. Even 5% off your cost price compounds across every unit you sell.
Raise prices. Most small businesses underprice. Test a 10% increase — if you only lose 5% of volume, you're still ahead on total profit.
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
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 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 calculators to make smarter pricing decisions.
Start Calculating — It's FreeFrequently Asked Questions
Common questions about margins, markup, and this calculator.