Updated March 16, 2026

Profit Margin Calculator

Profit margin is the percentage of revenue that remains as profit after expenses. The formula is (Revenue - Costs) / Revenue x 100. Enter your numbers below to calculate your margin, markup, and profit in dollars.

Enter cost and revenue to calculate profit margin and markup.

$
$

Key Takeaways

  • Profit margin measures how many cents of profit you keep from each dollar of revenue.
  • The formula is (Revenue - Costs) / Revenue x 100. A business earning $800K with $600K in total costs has a 25% net profit margin.
  • Three types exist: gross margin (after COGS), operating margin (after operating expenses), and net margin (after all expenses including taxes).
  • Average net profit margins range from 2-5% in grocery to 25-35% in software. Always benchmark against your own industry.
  • Revenue growth does not guarantee margin improvement. A company can double revenue while margins shrink if costs grow faster.
  • Track all three margin types monthly to pinpoint exactly where profitability is leaking.

What Is Profit Margin?

Profit margin is the percentage of revenue that a business keeps as profit after subtracting costs. It answers a simple question: for every dollar you earn, how many cents do you actually keep?

The formula is: Profit Margin (%) = (Net Profit / Revenue) x 100

A consulting firm that bills $1.2M in annual revenue and has $900K in total costs (salaries, rent, software, taxes) has a net profit margin of 25%. That means the firm keeps $0.25 of every dollar billed.

Profit margin is one of the most widely used financial metrics because it normalizes profitability across company sizes. A $10M company with a 15% margin is more efficient per dollar than a $50M company with a 6% margin, even though the larger company earns more in absolute terms.

Types of Profit Margin

There are three standard profit margin levels, each subtracting a different set of costs. Together they show exactly where money is being spent (or lost) as it flows from the top line to the bottom line.

Margin Type Formula What It Measures
Gross Margin(Revenue - COGS) / Revenue x 100Production efficiency. How much you keep after direct costs of making your product or delivering your service.
Operating Margin(Revenue - COGS - Operating Expenses) / Revenue x 100Operational efficiency. Adds overhead like rent, salaries, and marketing to the cost picture.
Net Profit Margin(Revenue - All Costs) / Revenue x 100Bottom-line profitability. Includes interest, taxes, depreciation, and every other expense.

Example across all three levels: A manufacturer earns $2M in revenue. COGS is $1.2M, operating expenses are $500K, and taxes plus interest are $100K.

  • Gross Margin: ($2M - $1.2M) / $2M = 40%
  • Operating Margin: ($2M - $1.2M - $500K) / $2M = 15%
  • Net Profit Margin: ($2M - $1.2M - $500K - $100K) / $2M = 10%

The gap between gross margin and operating margin reveals overhead burden. The gap between operating margin and net margin reveals the cost of debt and taxes. If gross margin is healthy but net margin is thin, the problem is not pricing or production. It is overhead, debt, or tax structure.

Profit Margin Benchmarks by Industry

Profit margins vary dramatically by industry because of differences in cost structure, capital intensity, and competitive dynamics. The table below shows typical net profit margins based on public company data.

Industry Typical Net Margin Notes
Software / SaaS20-35%High gross margins and scalable delivery drive strong bottom-line results.
Financial Services15-30%Banks, insurance, and asset managers vary widely by sub-sector.
Healthcare / Pharma10-25%Patent-protected drugs lift margins. Generics and hospital systems run lower.
Professional Services10-20%Consulting and legal firms depend heavily on utilization rates.
Real Estate15-25%REITs and developers vary. Depreciation offsets reduce taxable income.
E-commerce5-15%Fulfillment, returns, and customer acquisition compress margins.
Manufacturing5-12%Capital-intensive with thin margins per unit. Volume is the driver.
Retail (General)3-8%High volume, thin margins. Grocery runs 1-3%, specialty retail 8-12%.
Restaurants3-9%Labor and food costs leave little room. Fast casual outperforms full service.
Construction2-7%Project-based with high material and labor costs. Change orders affect margin.
Transportation / Logistics3-8%Fuel costs, fleet maintenance, and driver wages are the main cost drivers.
Grocery1-3%Among the thinnest margins of any industry. Inventory turnover is the key metric.

Source: NYU Stern (Damodaran), compiled from public company filings. Private company margins may differ due to owner compensation and tax strategies.

How to Calculate Profit Margin

The profit margin formula requires two numbers: revenue and costs.

Profit Margin (%) = ((Revenue - Total Costs) / Revenue) x 100

Worked example: An online retailer generates $420,000 in quarterly revenue. Total costs break down as follows: COGS $210,000, operating expenses $130,000, taxes $24,000, interest on a business loan $6,000.

  • Total Costs = $210,000 + $130,000 + $24,000 + $6,000 = $370,000
  • Net Profit = $420,000 - $370,000 = $50,000
  • Net Profit Margin = ($50,000 / $420,000) x 100 = 11.9%
  • Markup on Total Costs = ($50,000 / $370,000) x 100 = 13.5%

This retailer keeps about $0.12 of every dollar earned. For context, that is solid for e-commerce, where net margins of 5-15% are typical.

To find the selling price needed for a target margin, flip the formula: Required Revenue = Cost / (1 - Target Margin). If your costs are $75 per unit and you want a 30% margin, you need to price at $75 / (1 - 0.30) = $107.14.

Why Profit Margin Matters

Profit margin is the single best indicator of whether a business model is working. Revenue tells you the size of the business. Margin tells you whether it is actually making money.

Investor and lender confidence. Banks and investors use net margin to assess risk. A company with consistent 15%+ net margins has room to absorb downturns, service debt, and reinvest. A company at 2% has no margin of safety.

Pricing validation. If your profit margin is below industry benchmarks, either your prices are too low or your costs are too high. Margin analysis tells you which lever to pull.

Comparison across company sizes. Absolute profit is misleading without context. A $200K profit sounds good until you learn it came from $10M in revenue (2% margin). Margin percentages let you compare a 5-person startup against a 500-person competitor on equal terms.

Trend analysis. A company with steady 18% margins for five years is in a fundamentally different position than one whose margins dropped from 18% to 9% over the same period, even if current revenue is the same. Margin trends reveal the direction of the business before revenue changes do.

How to Improve Profit Margin

Improving profit margin comes down to earning more per dollar of revenue or spending less to generate that dollar. Here are the most effective strategies, ordered by typical impact.

1. Audit your cost structure line by line. Pull your P&L and categorize every expense. Many businesses discover 5-10% in costs that do not directly contribute to revenue: unused software subscriptions, redundant services, or vendor contracts that have not been renegotiated in years.

2. Raise prices where the market allows it. A 5% price increase on a product with 20% margins increases profit per unit by 25%. Test increases on a subset of customers or new prospects before rolling out broadly. Track retention closely to find the ceiling.

3. Improve your product or service mix. If you sell five products, calculate the margin on each one separately. Many businesses discover that 20% of their offerings generate 80% of their profit. Shift sales focus, marketing spend, and inventory toward the higher-margin items.

4. Reduce customer acquisition cost. Marketing and sales are often the largest operating expenses. Improving conversion rates, increasing referrals, or shifting ad spend to higher-performing channels reduces cost per customer without reducing revenue.

5. Increase average order value. Selling more to existing customers costs less than acquiring new ones. Bundles, upsells, and minimum order thresholds increase revenue without proportionally increasing costs. A 15% increase in average order value can add 3-5 points of margin.

6. Automate repetitive tasks. Manual processes in invoicing, inventory management, reporting, and customer support add labor costs that scale with volume. Automation keeps those costs flat as revenue grows, which widens margin over time.

This calculator provides estimates for informational purposes only. It does not constitute financial advice. Actual results depend on your specific business circumstances, industry, and market conditions. Consult a qualified financial advisor or accountant before making financial decisions.


Related Calculators

Frequently Asked Questions

What is a good profit margin?

A good profit margin depends on your industry and the type of margin. For net profit margin, 10% is generally considered average, 20% is strong, and 5% or below is thin. Software companies often exceed 25%, while grocery stores operate on 1-3%. Compare against your specific industry, not a single benchmark.

What is the difference between gross margin, operating margin, and net margin?

Gross margin subtracts only direct production costs (COGS) from revenue. Operating margin also subtracts operating expenses like rent, salaries, and marketing. Net margin subtracts everything: COGS, operating expenses, interest, taxes, and depreciation. Each level reveals where profitability changes.

How is profit margin different from markup?

Profit margin divides profit by revenue (selling price). Markup divides profit by cost. A product costing $60 that sells for $100 has a 40% profit margin but a 66.7% markup. Margin is always lower than markup for the same transaction because it uses the larger number as the denominator.

Can profit margin be over 100%?

No. Profit margin is profit divided by revenue, and profit can never exceed revenue. The theoretical maximum is just under 100% (if costs approach zero). Markup, however, can exceed 100% because it divides profit by cost, which is the smaller number.

Why is my revenue growing but my profit margin shrinking?

This happens when costs grow faster than revenue. Common causes include heavy discounting to drive volume, rising supplier prices, increasing headcount ahead of revenue, or a shift in product mix toward lower-margin items. Track margin alongside revenue to catch this pattern early.

How often should I calculate profit margin?

Monthly at minimum. Review gross margin to monitor production efficiency, operating margin to watch overhead spending, and net margin for bottom-line health. Quarterly comparisons against industry benchmarks and your own historical trend reveal whether the business is improving or deteriorating.

What is the profit margin formula?

The basic formula is: Profit Margin (%) = (Net Profit / Revenue) x 100. Net Profit is Revenue minus all costs. For gross margin, replace Net Profit with Gross Profit (Revenue minus COGS). For operating margin, use Operating Income (Revenue minus COGS minus operating expenses).