Profit Margin Calculator

Calculate gross profit margin, net profit, and markup percentage from your cost and revenue. Understand the profitability of any product, service, or business.

$
$
$
Gross Profit
$40.00
Revenue − Cost
Gross Margin
40%
Profit ÷ Revenue
Markup
66.67%
Profit ÷ Cost
Revenue Breakdown
Cost 60%
Profit 40%
Industry Benchmark Margins
Grocery / Retail1–5%
Restaurants3–9%
Manufacturing5–15%
Professional Services15–40%
SaaS / Software60–80%
Planning notes, formulas, and examples

About the Profit Margin Calculator

Profit margin is the percentage of revenue that remains as profit after subtracting costs. It is the single most important metric for understanding whether a business, product, or service is financially viable. A 30% margin means you keep $0.30 of every dollar earned — the rest covers costs.

This calculator computes three key metrics: gross profit (revenue minus cost), profit margin (profit as a percentage of revenue), and markup (profit as a percentage of cost). These two percentages — margin and markup — are frequently confused but represent fundamentally different ratios. A 50% markup equals only a 33% margin.

Whether you are pricing a new product, evaluating a business opportunity, comparing vendors, or preparing financial reports, understanding profit margin is essential. Industry benchmarks range from 3-5% (grocery stores) to 60-80% (software), and knowing where your business falls reveals your competitive position and pricing power.

Use the result to compare scenarios, test assumptions, and revisit the model when pricing, volume, or financing inputs change.

When This Page Helps

You need profit margin to set prices that actually make money. Many entrepreneurs focus on revenue while ignoring margin, leading to businesses that generate sales but not profit. This calculator shows you both the dollar amount and the percentage, so you can evaluate whether your pricing strategy is sustainable.

It also helps you compare products, services, or business lines on an equal footing. A product with $100,000 in revenue but 5% margin is less profitable than one with $50,000 in revenue at 40% margin.

How to Use the Inputs

  1. Enter the cost (what you paid to produce or acquire the item/service).
  2. Enter the revenue (the selling price or amount received).
  3. Optionally enter overhead/additional costs to see net margin.
  4. Review the gross profit, profit margin percentage, and markup percentage.
  5. Compare against industry benchmarks shown below the results.
Formula used
Gross Profit = Revenue − Cost Profit Margin = (Gross Profit / Revenue) × 100 Markup = (Gross Profit / Cost) × 100 Net Profit = Revenue − Cost − Overhead Net Margin = (Net Profit / Revenue) × 100

Example Calculation

Result: Profit: $40 | Margin: 40% | Markup: 66.7%

A product costing $60 and selling for $100 yields $40 gross profit. The margin is $40/$100 = 40%. The markup is $40/$60 = 66.7%. Notice: the same $40 profit produces a very different percentage depending on whether you compare to revenue (margin) or cost (markup).

Tips & Best Practices

  • Margin will ALWAYS be less than markup for the same transaction. A 50% margin = 100% markup. A 33% margin = 50% markup.
  • For pricing, start with your desired margin and work backward: Selling Price = Cost / (1 − Desired Margin%).
  • Watch for "margin erosion" — when discounts, returns, or unexpected costs gradually reduce your margin over time.
  • Compare margin across product lines to identify which products actually drive profitability, not just revenue.
  • The highest-margin products are not always the best to promote — consider volume, customer acquisition cost, and lifetime value.
  • Aim for at least 10% net margin after all expenses for a sustainable small business.

Margin vs Markup: The Complete Guide

This is the most common source of confusion in business pricing. Margin and markup both describe profit, but from different perspectives. Margin answers "What portion of my selling price is profit?" Markup answers "How much more than cost am I charging?" A 30% margin on a $100 sale means $30 profit. A 30% markup on a $70 cost means $21 profit (selling at $91). The conversion formula: Margin = Markup / (1 + Markup).

Industry Benchmark Margins

Grocery stores operate on razor-thin 1-3% net margins but make up for it with enormous volume. Restaurants aim for 3-9% net but often fail because of high labor and food waste costs. Technology companies, especially SaaS businesses, enjoy 60-80% gross margins due to near-zero marginal cost of serving additional customers. Professional services (consulting, law, accounting) hit 15-40% depending on utilization rates and billing structure.

The Path to Profitability

Startup businesses often operate at negative margins initially while building scale. The key question is: at what volume does the business become profitable? This is called the breakeven point (Revenue = Total Costs). After breakeven, each additional sale contributes directly to profit at the gross margin rate. Understanding your margin helps you calculate how many units or clients you need to reach profitability.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It varies enormously by industry. Retail: 2-5%. Restaurants: 3-9%. Professional services: 15-40%. Software/SaaS: 60-80%. Manufacturing: 5-15%. A "good" margin is one that covers all expenses, provides a return on investment, and is competitive within your industry.