CalcCards

Profit Margin Calculator: Analyze Product and Service Profitability

Updated Apr 10, 2026

Profit Margin Calculator

$
$

Results

Profit Margin36.0%
Gross Profit$18,000.00
Markup56.3%
View saved β†’

Embed

Add this to your site

<iframe
  src="https://calc.cards/embed/finance/profit-margin-calculator"
  width="600"
  height="700"
  frameborder="0"
  loading="lazy"
  title="Calc.Cards calculator"
  style="border:1px solid #e0e0e0;border-radius:8px;max-width:100%;"
></iframe>

Free with attribution. The Profit Margin Calculator runs entirely inside the iframe.

Branded

Customize & brand for your site

Get the Profit Margin Calculator as a self-contained widget styled with your colors and logo. No iframe, no Calc.Cards branding.

  • Brand color palette (auto-extract from your URL)
  • Your logo, your typography
  • Clean HTML/CSS/JS you can drop on any page
  • Lifetime updates if the formula changes
Brand this calculator β€” $199

Need something different? Build a fully custom calc

You're Selling a Product for $100, But You Don't Actually Know if You're Making Money

You know the cost and you know the price. But after accounting for all expenses-not just materials but overhead, labor, shipping, returns, and taxes-are you actually profitable? Most small business owners guess. This calculator shows your exact profit margin so you know whether a product is worth selling or if you're spinning your wheels.

What This Calculator Does

The profit margin calculator computes two essential metrics: gross profit margin and net profit margin. Gross margin shows the percentage of revenue left after direct product costs (manufacturing, materials, packaging), ignoring indirect expenses. Net margin shows the percentage left after all costs (operating expenses, overhead, taxes, interest). You enter revenue and costs, and the calculator reveals what percentage you're actually keeping as profit-essential for pricing decisions, product evaluation, and business health.

How to Use This Calculator

You need four inputs:

Revenue: The total income from selling the product or service. If you sold 50 units at $100 each, revenue is $5,000.

Cost of Goods Sold (COGS): The direct costs to produce the product. Materials, labor to make it, packaging, shipping to the customer-anything directly tied to creating the specific product. Don't include rent, salaries to managers, or utilities (those go in operating expenses).

Operating Expenses: Indirect costs that aren't tied to a single product but are necessary to run the business. Rent, utilities, administrative salaries, marketing, software subscriptions, insurance.

Additional Costs (optional): Taxes, interest on loans, or other non-operating expenses.

The calculator shows:

Gross Profit: Revenue βˆ’ COGS
Gross Profit Margin %: (Gross Profit Γ· Revenue) Γ— 100
Net Profit: Revenue βˆ’ All Costs
Net Profit Margin %: (Net Profit Γ· Revenue) Γ— 100

A 40% gross margin means you keep $0.40 of every revenue dollar after direct product costs. A 15% net margin means you keep $0.15 after everything.

The Formula Behind the Math

Profit margin has two standard calculations: gross and net.

Gross Profit Margin:

Gross profit = Revenue βˆ’ COGS

Gross profit margin % = (Gross profit Γ· Revenue) Γ— 100

Example: You make and sell handmade candles.

Revenue from selling 100 candles at $30 each: $3,000
COGS (wax, fragrance, wicks, jars, labels): $800

Gross profit = $3,000 βˆ’ $800 = $2,200

Gross profit margin = ($2,200 Γ· $3,000) Γ— 100 = 73.3%

That's excellent-you keep $0.733 of each revenue dollar after material costs.

Net Profit Margin:

Net profit = Revenue βˆ’ COGS βˆ’ Operating expenses βˆ’ Other costs

Net profit margin % = (Net profit Γ· Revenue) Γ— 100

Now add operating expenses:

Rent for your studio: $500/month = $6,000/year
Website and e-commerce platform: $50/month = $600/year
Marketing and shipping supplies: $100/month = $1,200/year
Total operating expenses: $7,800/year (if selling $3,000 candles monthly, this is $7,800 Γ· 12 = $650/month)

Let's say monthly revenue is $3,000 and monthly operating expenses are $650:

Net profit = $3,000 βˆ’ $800 βˆ’ $650 = $1,550

Net profit margin = ($1,550 Γ· $3,000) Γ— 100 = 51.7%

Still strong. You keep $0.517 of each revenue dollar as actual profit after all expenses.

Why the Two Numbers Matter:

Gross margin shows operational efficiency-are you producing at reasonable cost? Net margin shows overall business viability-after running the business, is there actually profit? You can have a 70% gross margin but negative net margin if operating costs are too high.

Our calculator does all of this instantly-but now you understand exactly what it's computing.

E-Commerce Seller Evaluating a Product Line

You sell electronics resold from wholesalers. Purchase cost per unit: $35. Selling price: $89. Revenue from 100 units: $8,900. COGS: $3,500.

Gross profit margin = ($8,900 βˆ’ $3,500) Γ· $8,900 = 63.2%

But you also have platform fees (15% of sales: $1,335), payment processing (3%: $267), returns and refunds (5%: $445), shipping to customer (averaged: $700), customer service time. Operating costs monthly might be $1,500.

Net profit margin = ($8,900 βˆ’ $3,500 βˆ’ $1,335 βˆ’ $267 βˆ’ $445 βˆ’ $700 βˆ’ $1,500) Γ· $8,900 = 2.3%

The calculator reveals that despite a healthy-looking gross margin, your net margin is razor-thin. You're barely profitable, and a slight increase in returns or platform fees kills profitability. This prompts questions: Can you raise prices? Reduce shipping costs? Or is the product worth selling at all?

Service Business Owner Calculating Professional Rates

You're a consultant charging $150/hour for clients. You work 40 billable hours/week, 50 weeks/year = 2,000 billable hours. Revenue: $300,000.

Your direct costs: minimal-maybe software subscriptions ($3,000/year) and home office utilities ($1,500/year). COGS: $4,500.

Gross profit margin = ($300,000 βˆ’ $4,500) Γ· $300,000 = 98.5%

Operating expenses: your own salary isn't here (it's profit-you're the owner). But insurance ($2,000), accounting ($1,500), marketing ($2,000), professional development ($1,500) = $7,000.

Net profit margin = ($300,000 βˆ’ $4,500 βˆ’ $7,000) Γ· $300,000 = 96.2%

Service businesses typically have higher margins because they're not manufacturing physical products. Your net profit margin of 96.2% is exceptional. This tells you the business model is solid, though 40 billable hours/week while running a business is ambitious-you might account for time spent on admin, sales, and overhead not billable to clients.

Small Manufacturer Comparing Product Lines

You make two products: widgets and gadgets.

Widgets:

Revenue: $50,000
COGS: $20,000
Gross margin: 60%
Operating costs allocated: $12,000
Net margin: ($50,000 βˆ’ $20,000 βˆ’ $12,000) Γ· $50,000 = 36%

Gadgets:

Revenue: $80,000
COGS: $48,000
Gross margin: 40%
Operating costs allocated: $12,000
Net margin: ($80,000 βˆ’ $48,000 βˆ’ $12,000) Γ· $80,000 = 20%

Widgets are more profitable on a per-dollar-revenue basis (36% vs. 20%), even with lower revenue. If you could only produce one, widgets are the better choice. The profit margin calculator makes this comparison clear.

Tips and Things to Watch Out For

Don't Confuse Gross and Net Margin: Gross margin looks great (often 50–80% for healthy products), but net margin is what you actually keep. An owner who focuses on gross margin alone might miss that operating costs are eating all the profit. Know both numbers.

COGS Must Be Allocated Correctly: Only direct product costs go in COGS. Your salary as owner, rent for your office, and administrative time don't belong there. Misallocating inflates gross margin and hides problems.

Allocating Operating Costs Requires Judgment: If you make two products, how do you split overhead rent? Proportionally by revenue? By production volume? Different allocation methods change net margins. Be consistent and transparent.

Profit Margin Varies by Industry: Software companies often have 60–80% net margins. Restaurants typically 3–5%. Grocery stores 1–3%. Luxury goods 20–40%. Knowing your industry's benchmarks helps you evaluate whether your margins are healthy.

Price Increases Are Powerful: A 10% price increase on an 80% COGS product increases gross profit by 50%. Understanding your cost structure reveals where pricing power exists. If raising prices doesn't affect demand, margin expansion is quick.

Thin Margins Require Volume or Efficiency: If net margin is 5%, you need high volume or obsessive cost control to be profitable. If it's 40%, you have more flexibility. The profit margin calculator reveals your mode of operation-are you volume-based or premium?

Seasonal or Variable Costs Complicate Monthly Calculations: If your business is seasonal, monthly profit margins vary. Calculate margins for full year or quarters, not single months, to understand true profitability.

Frequently Asked Questions

What's a "good" profit margin?

It depends on industry. Software/SaaS: 40–70% net margin is typical. Retail: 2–5%. Restaurants: 3–9%. Consulting: 30–50%. Compare to your competitors and industry benchmarks. Improving margin is usually more impactful than increasing revenue.

Why does my gross margin look good but I'm barely profitable?

Operating expenses are eating the profit. Rent, salaries, utilities, and overhead add up. Many businesses focus on COGS but neglect to control operating expenses. Calculate net margin-it's the truth.

Should I lower prices to increase volume?

Only if volume gains are substantial enough to maintain or increase total profit. If net margin is 20% and you need 10% more revenue to break even, a 5% price cut likely hurts more than helps. Do the math with the profit margin calculator before deciding.

How do I increase profit margin?

Three levers: increase price, reduce COGS, reduce operating expenses. Raising prices is often easiest and highest-impact (if demand is inelastic). Negotiating lower material costs or shipping rates follows. Cutting overhead is slowest but sometimes necessary.

What about profit margin on my cash flow?

Profit margin (accounting) and cash flow are different. You can be profitable on paper but negative in cash if customers pay slowly. Track both. A profitable product with payment issues still needs cash to operate.

Should I discontinue a product with low margin?

Not necessarily. If a low-margin product brings customers who buy high-margin products, it's strategic. If it's a pure margin drag with no customer value, yes, discontinue. Use margin as a data point, not the only decision driver.

How do I handle returns or refunds in margin?

Include them in COGS as a percentage. If you expect 5% returns and COGS is $100, use $105 as effective COGS. This is conservative and realistic.

What if I'm not sure about all my costs?

Track everything for a month or quarter and build a comprehensive cost picture. Hidden costs (packaging, shipping overages, payment processing) add up. Complete the exercise once; you'll understand your true margins.

Related Calculators

Use our break-even calculator to determine how many units you need to sell before profit becomes positive. The markup calculator shows the relationship between cost and selling price. Our margin vs. markup calculator clarifies the difference between these often-confused metrics. The ROI calculator helps you evaluate whether a product investment is worthwhile based on profitability.

Related Calculators