UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingToolsSportsMarineEducationTravel
Blog
  1. Home
  2. Finance

Profit Margin Calculator

Calculate profit margin and markup

Gross Profit

$400.00

Gross Margin

40.00%

Markup

66.67%

Rev/$1 Cost

$1.67

$
$

Profit: $400.00

Closest to E-Commerce industry

Revenue

$1,000.00

Total Cost

$600.00

Gross Margin

40.00%

Markup

66.67%

Key Formulas

Gross Margin(Rev - COGS) / Rev x 100
Markup(Rev - COGS) / COGS x 100
Rev per $1 CostRevenue / COGS

Frequently Asked Questions

Q

How do you calculate profit margin?

Profit Margin = (Revenue - Cost) ÷ Revenue × 100. Example: Sell product for $100, cost is $60. Margin = ($100 - $60) ÷ $100 × 100 = 40% profit margin. This means 40 cents of every dollar is profit.

  • Gross Margin = (Revenue - COGS) ÷ Revenue
  • Net Margin = (Revenue - All Costs) ÷ Revenue
  • Higher margin = more profitable per dollar of sales
  • Example: 40% margin means $40 profit on $100 sale
Selling PriceCostProfitProfit Margin
$50$30$2040%
$100$60$4040%
$100$75$2525%
$200$120$8040%
Q

What is the difference between margin and markup?

Margin = profit as % of selling price. Markup = profit as % of cost. Same profit, different base. 50% markup = 33.3% margin. 100% markup = 50% margin. Margin is always lower than markup for same profit.

  • Markup: Based on COST (what you paid)
  • Margin: Based on SELLING PRICE (what customer pays)
  • Markup is always higher than margin for same profit
  • Retail often uses markup; finance uses margin
CostMarkup %Selling PriceMargin %
$6050%$9033.3%
$60100%$12050%
$60150%$15060%
$60200%$18066.7%
Q

What is a good profit margin by industry?

Profit margins vary dramatically by industry. Software/SaaS: 70-80% gross, 20-30% net. Retail grocery: 25-35% gross, 1-3% net. Professional services: 50-70% gross, 15-25% net. Manufacturing: 25-40% gross, 5-15% net.

  • Gross margin: Before operating expenses
  • Net margin: After ALL expenses including taxes
  • Compare to industry peers, not other industries
  • High volume businesses survive on low margins
IndustryGross MarginNet MarginNotes
Software/SaaS70-85%20-30%High margin, scalable
Professional Services50-70%15-25%Labor is main cost
E-commerce40-60%5-15%Depends on product type
Restaurants60-70%3-9%Thin net margins
Grocery Retail25-35%1-3%Volume-based business
Manufacturing25-40%5-15%Capital intensive
Q

How do I convert markup to margin (and vice versa)?

Markup to Margin: Margin = Markup ÷ (1 + Markup). Margin to Markup: Markup = Margin ÷ (1 - Margin). Example: 50% markup = 50 ÷ 150 = 33.3% margin. 40% margin = 40 ÷ 60 = 66.7% markup.

  • Markup → Margin: Divide markup by (1 + markup)
  • Margin → Markup: Divide margin by (1 - margin)
  • 50% markup = 33.3% margin
  • 100% markup = 50% margin
  • 40% margin = 66.7% markup
Markup %Margin %Conversion
25%20%0.25 ÷ 1.25 = 0.20
50%33.3%0.50 ÷ 1.50 = 0.333
100%50%1.00 ÷ 2.00 = 0.50
200%66.7%2.00 ÷ 3.00 = 0.667
Q

How do I set prices to achieve a target margin?

Selling Price = Cost ÷ (1 - Target Margin). For 40% margin on $60 cost: Price = $60 ÷ (1 - 0.40) = $60 ÷ 0.60 = $100. This gives you $40 profit, which is 40% of the $100 selling price.

  • Formula: Price = Cost ÷ (1 - Desired Margin)
  • For 50% margin: Divide cost by 0.50 (double the cost)
  • For 40% margin: Divide cost by 0.60
  • For 30% margin: Divide cost by 0.70
  • For 25% margin: Divide cost by 0.75
CostTarget MarginCalculationSelling Price
$5050%$50 ÷ 0.50$100
$6040%$60 ÷ 0.60$100
$7030%$70 ÷ 0.70$100
$10025%$100 ÷ 0.75$133.33
Q

What is the difference between gross and net profit margin?

Gross margin = (Revenue - COGS) ÷ Revenue - only direct costs. Net margin = (Revenue - ALL costs) ÷ Revenue - including operating expenses, taxes, interest. A business can have high gross margin but low net margin due to overhead.

  • Gross margin: How efficient is production/sourcing?
  • Operating margin: How efficient are operations?
  • Net margin: Bottom line - actual profit after everything
  • All three matter for business health assessment
Margin TypeWhat It IncludesExample ($100K Revenue)Typical Range
Gross MarginRevenue - Direct costs (COGS)$60K profit → 60%25-80%
Operating MarginGross - Operating expenses$30K profit → 30%10-30%
Net MarginOperating - Taxes, interest$15K profit → 15%2-20%

Example Calculations

1Product with 40% Profit Margin

Inputs

Revenue (Sales)$1,000.00
Cost (Expenses)$600.00

Result

Profit$400.00
Profit Margin40.00%
Markup66.67%

Profit = $1,000 - $600 = $400. Profit Margin = ($400 / $1,000) x 100 = 40.00%. Markup = ($400 / $600) x 100 = 66.67%. A 40% margin means 40 cents of every sales dollar is profit.

2Service Business with 30% Margin

Inputs

Revenue (Sales)$2,500.00
Cost (Expenses)$1,750.00

Result

Profit$750.00
Profit Margin30.00%
Markup42.86%

Profit = $2,500 - $1,750 = $750. Profit Margin = ($750 / $2,500) x 100 = 30.00%. Markup = ($750 / $1,750) x 100 = 42.86%. Note that 30% margin corresponds to a 42.86% markup -- they are not the same.

Formulas Used

Profit Margin

Profit Margin = ((Revenue - Cost) / Revenue) x 100

The percentage of revenue that becomes profit. Shows how much of each dollar of sales is profit.

Where:

Revenue= Total sales or selling price
Cost= Total cost or expenses

Markup Percentage

Markup = ((Revenue - Cost) / Cost) x 100

The percentage added to cost to arrive at the selling price.

Where:

Revenue= Total sales or selling price
Cost= Total cost or expenses

Profit

Profit = Revenue - Cost

The absolute dollar amount of profit (or loss if negative).

Where:

Revenue= Total sales income
Cost= Total expenses

Complete Guide to Profit Margins and Pricing Strategy

1

What Profit Margin Tells You About Business Health

40 cents of every dollar a software company earns is typically net profit, while a grocery store keeps just 1–3 cents — both can be perfectly healthy businesses. Profit margin is the universal yardstick that converts raw dollar profit into a percentage of revenue, making it possible to compare a $50,000-revenue freelancer against a $5 billion retailer on equal footing.

Gross margin measures profitability before overhead costs (rent, salaries, marketing), while net margin captures the true bottom line after all expenses, taxes, and interest. A restaurant might show a healthy 65% gross margin on food cost, but after labor, rent, and utilities, net margin often shrinks to 3–9%. Understanding both layers reveals where profits leak.

Tracking margin over time is equally important. A declining gross margin suggests rising input costs or pricing pressure, while a falling net margin with stable gross margin points to overhead bloat. The break-even calculator helps identify the sales volume needed to cover all fixed costs before any margin becomes profit.

*Ranges reflect US industry averages as of 2024–2025
IndustryGross MarginNet MarginKey Driver
Software / SaaS70–85%20–30%Scalable, low COGS
Professional Services50–70%15–25%Labor utilization
E-commerce40–60%5–15%Shipping & returns
Restaurants60–70%3–9%Labor & rent overhead
Grocery Retail25–35%1–3%High volume, thin margin
2

Margin vs. Markup: The Critical Distinction

A 50% markup on a $60 product sets the price at $90 and generates $30 profit, but the margin is only 33.3% — not 50%. This disconnect catches countless business owners off guard because markup uses cost as its base while margin uses revenue. The same dollar of profit produces a larger markup percentage and a smaller margin percentage, every time.

The conversion formulas are straightforward: Margin = Markup / (1 + Markup) and Markup = Margin / (1 – Margin). At 100% markup (doubling the cost), margin is exactly 50%. At 200% markup, margin reaches 66.7%. These relationships matter when suppliers quote markups but your financial statements report margins.

Retailers commonly think in markup (“we keystone at 2× cost”) while CFOs report margins to investors. Using the wrong metric when setting prices can undercut profitability by 10–20 percentage points. If your target net margin is 25%, you need to price at cost / 0.75 — a 33.3% markup, not a 25% markup.

Markup vs Margin on Same Profit100%50%0%50% / 33%100% / 50%200% / 67%50%33%100%50%200%67%MarkupMargin
3

Setting Prices to Hit a Target Profit Margin

The target-pricing formula — Selling Price = Cost ÷ (1 – Target Margin) — is the single most actionable equation for business owners. A product that costs $60 to manufacture needs to sell for $60 / 0.60 = $100 to achieve a 40% gross margin, generating $40 profit per unit.

For service businesses, cost includes the fully loaded hourly rate (salary + benefits + overhead). A consultant paid $50/hour with $20/hour in overhead costs $70/hour. To hit a 30% margin, the billing rate should be $70 / 0.70 = $100/hour. The freelance rate calculator automates this calculation with tax considerations built in.

Volume changes the equation. Selling 10,000 units at 25% margin generates $62,500 profit; selling 5,000 units at 40% margin generates $33,333. Sometimes a lower margin on higher volume yields more total dollars. Use the profit margin calculator to model both scenarios side by side.

  1. 1

    Calculate Your True Cost

    Include all direct costs: materials, labor, shipping, packaging. For a $60 product, add $5 shipping and $3 packaging = $68 true cost.

  2. 2

    Choose Your Target Margin

    Reference industry benchmarks: 20–30% net for services, 40–60% gross for retail. A 40% margin on $68 cost means pricing at $68 / 0.60 = $113.33.

  3. 3

    Verify Against Market Prices

    If competitors sell similar products for $95, a $113 price may not work. Either reduce costs or accept a lower margin to stay competitive.

  4. 4

    Monitor and Adjust Quarterly

    Track actual margin monthly. If material costs rise 10% ($68 to $75), margin drops from 40% to 34% at the same $113 price — requiring a price increase or cost reduction.

4

Gross vs. Operating vs. Net Margin Explained

A $100,000-revenue business with $40,000 in direct costs (COGS) shows a 60% gross margin. After subtracting $30,000 in operating expenses (rent, payroll, marketing), the operating margin drops to 30%. Add taxes and interest of $15,000, and net margin lands at 15% — meaning only $15,000 of the original $100,000 reaches the owner.

Each margin layer tells a different story. Gross margin measures production efficiency: if it declines, raw materials or labor costs are rising faster than prices. Operating margin reflects management effectiveness: high overheads, excessive hiring, or runaway marketing spend erode it. Net margin is the true bottom line that determines business viability.

Investors scrutinize all three. A company with an expanding gross margin but shrinking net margin may be growing revenue while losing control of overhead — a red flag. The budget calculator helps project how expense changes ripple through each margin layer.

Margin LayerFormula$100K Revenue Example
Gross Margin(Revenue – COGS) / Revenue60% ($60,000)
Operating Margin(Revenue – COGS – OpEx) / Revenue30% ($30,000)
Net Margin(Revenue – All Costs) / Revenue15% ($15,000)
5

Common Margin Mistakes and How to Avoid Them

66% of small businesses surveyed by SCORE confuse markup with margin, leading to underpriced products. Setting a 40% markup when you need a 40% margin leaves you 6.7 percentage points short: the $60 product priced at $84 (40% markup) yields only a 28.6% margin instead of the intended 40%.

Forgetting indirect costs is another profit killer. A candle maker tracking only $3 in wax and wick per candle while ignoring $1.50 in shipping, $0.50 in labels, and $2 in marketplace fees actually spends $7 per unit. Pricing at $15 for an apparent 80% margin is really a 53% margin once all costs are counted.

Discount psychology also erodes margins faster than expected. A 20% discount on a product with 40% margin doesn’t reduce profit by 20% — it cuts profit in half. The $100 product at 40% margin earns $40 profit; after a 20% discount ($80 sale price), profit drops to $20. Use the discount calculator to see how promotions affect your bottom line.

  • Confusing markup with margin — 40% markup = only 28.6% margin, not 40%
  • Ignoring indirect costs — shipping, packaging, and fees can add 15–25% to true cost
  • Underestimating discount impact — a 20% sale on 40% margin cuts profit by 50%
  • Comparing across industries — a 5% net margin in grocery is healthy; in software, it signals trouble
  • Neglecting volume effects — lower margin at higher volume can produce more total profit dollars

Related Calculators

ROI Calculator

Calculate ROI

Discount Calculator

Calculate discounts

Markup Calculator

Enter your cost and markup percentage to find the selling price, profit, and equivalent margin. Includes markup-to-margin conversion and industry benchmarks.

Break-Even Calculator

Enter your fixed costs, price per unit, and variable cost to find how many units you need to sell to break even. Shows contribution margin and profit.

Sublimation Cost Calculator \u2014 Per-Unit Pricing & Profit Margins

Calculate sublimation printing costs per unit including blanks, ink, paper, labor, and overhead. Get suggested retail pricing and profit margin analysis.

Stock Return Calculator

Plug in your buy price, sell price, shares, and dividends to see total return, annualized return, and profit from any stock or ETF investment instantly.

Related Resources

50/30/20 Budget Rule Calculator: How to Budget Your Paycheck

Read our guide

How to Calculate Tips: Complete Guide for US Restaurants

Read our guide

Mortgage Calculator

Calculate monthly mortgage payments

Compound Interest Calculator

See the power of compound growth

Budget Calculator

Plan your monthly budget

More Finance Calculators

Calculate your finances

View All

Last Updated: Mar 26, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro