Profit Margin

Profit margin shows how much profit you keep from each unit of sales. If your margin is 32%, that means you earn about $0.32 in profit for every $1.00 of revenue after covering the costs you included. It’s one of the fastest ways to evaluate pricing strength, cost control, and overall business health—especially when you compare it over time or against competitors.

This calculator helps you compute Profit Margin (%), Markup (%), and the underlying values (Profit, Revenue/Sales, Cost) from the combination you know. For more tools, browse All Calculators or explore the Business Calculators hub to compare related financial metrics.

Use the mode toggle to pick what you have (for example, Revenue & Cost), and the calculator fills in the rest with a clear step-by-step breakdown you can copy and share.

Calculator Tool

Choose a calculation mode, enter the known values, then calculate margin, markup, and the missing amount with business-ready formatting.

Mode help: Enter Revenue and Cost. The calculator will compute Profit, Profit Margin (%), and Markup (%).
Example: 2500
$
Example: 1700
$
Example: 800 (negative allowed)
$
Advanced options Precision & currency symbol
Controls displayed rounding
Rounded to the selected decimals for display; internal calculations use full precision.
Formatting only
This does not convert currencies; it only changes the symbol shown with amounts.

Results

Enter values and calculate to reveal results.
Key Results Ready
—%
Profit Margin
Profit Margin (%)
Markup (%)
Profit (Currency)
Interpretation: Calculate to see what your margin and markup mean in plain language.
Breakdown Rounded: 2 decimals
Revenue / Sales
Cost
Profit
A profit margin of —% means about profit per 1 of sales.

Step-by-step Calculation

Profit = Revenue − Cost


Profit Margin (%) = (Profit ÷ Revenue) × 100
Markup (%) = (Profit ÷ Cost) × 100

Substitute your values:
Profit = (—) − (—) = —
Profit Margin = (— ÷ —) × 100 = —
Markup = (— ÷ —) × 100 = —
Tip: Margin compares profit to revenue, while markup compares profit to cost. Both are useful, but they answer different business questions.

How it works

This calculator follows standard business definitions and updates instantly in your browser. The core relationship is that Profit is what remains after costs are subtracted from sales. From there, margin and markup express that profit as a percentage—just with different denominators.

Core formulas

  • Profit = Revenue − Cost
  • Profit Margin (%) = (Profit ÷ Revenue) × 100
  • Markup (%) = (Profit ÷ Cost) × 100

Variable definitions

  • Revenue/Sales: The money you bring in from sales during a period.
  • Cost: The costs included in your calculation (for example, product cost, labor, or service delivery cost).
  • Profit: Revenue minus Cost (can be negative for a loss).
  • Profit Margin: Profit as a share of Revenue; useful for measuring how much you keep from each sale.
  • Markup: Profit as a share of Cost; useful for pricing (how much you add on top of cost).

When to use margin vs markup

If you’re analyzing business performance, compare margin over time (monthly, quarterly) or against peers in the same industry. If you’re building pricing rules, markup is often easier because it relates directly to cost. These metrics can move differently if costs or prices change, so reviewing both gives a more complete story.

Explore more in: Business Calculators

Edge rules used here: Revenue must be greater than 0 to compute margin, and Cost must be greater than 0 to compute markup. Negative profit is supported and produces negative percentages when mathematically valid.

Use cases

  • Pricing a new product: Start from your cost, decide a target markup, and use the result to estimate the selling price and expected margin.
  • Monitoring promotions: Enter discounted revenue and the same cost to see how promotions compress your profit margin—and whether volume must increase to compensate.
  • Service business quoting: Combine revenue from a quote and expected delivery cost to verify the margin stays above your minimum threshold.
  • Comparing suppliers: Keep revenue constant and test different costs to see how supplier price changes impact margin and markup.
  • Loss diagnosis: If profit is negative, calculate the negative margin to quantify how far you are from break-even and prioritize fixes (price, cost, or mix).

If you want to explore other calculators from one place, visit All Calculators.

Examples

Example 1: Normal positive margin

Revenue = 2,500 and Cost = 1,700. Profit = 2,500 − 1,700 = 800. Profit Margin = (800 ÷ 2,500) × 100 = 32%. Markup = (800 ÷ 1,700) × 100 ≈ 47.06%. Interpretation: you keep about $0.32 profit per $1 of sales, and you add roughly 47% on top of cost.

Example 2: High margin scenario

Revenue = 10,000 and Cost = 3,000. Profit = 7,000. Profit Margin = (7,000 ÷ 10,000) × 100 = 70%. Markup = (7,000 ÷ 3,000) × 100 ≈ 233.33%. Interpretation: strong pricing power or very low costs relative to price; the markup is high because the profit is much larger than the cost base.

Example 3: Loss / negative margin

Revenue = 5,000 and Cost = 5,800. Profit = −800. Profit Margin = (−800 ÷ 5,000) × 100 = −16%. Markup = (−800 ÷ 5,800) × 100 ≈ −13.79%. Interpretation: each $1 of sales is losing about $0.16 in profit using these costs—either raise price, reduce costs, or change the offer.

Common Mistakes

  • Mixing up margin and markup: Margin uses revenue in the denominator, markup uses cost—so the percentages are not interchangeable.
  • Using revenue = 0: Profit margin requires revenue > 0; otherwise the percentage is undefined.
  • Using cost = 0 for markup: Markup requires cost > 0; a zero cost breaks the markup formula.
  • Confusing gross vs net: If you omit overhead or include taxes inconsistently, you’ll compare the wrong margin to benchmarks.
  • Misreading negative percentages: A negative margin means a loss per unit of sales—don’t interpret it as “small” just because the number is near zero.

Quick Tips

  • Track trend lines: A stable margin over time is often more informative than a single snapshot.
  • Control variable costs: Reducing cost per unit usually improves both margin and markup without changing price.
  • Test price sensitivity: Small price increases can produce outsized margin gains if demand holds.
  • Compare by category: Different products/services may have different margin targets—avoid one-size-fits-all expectations.
  • Benchmark carefully: “Good” margins vary widely by industry; compare like-for-like businesses and similar time periods.

Accuracy & Notes

  • Accuracy/Method: Calculated locally in your browser.
  • Rounding/precision policy: Display values are rounded to your selected decimals; internal calculations use full precision.
  • Privacy-first: No data is sent to a server.
  • Last Updated: January 19, 2026

Sources & References

  • Standard business finance definitions (revenue, cost, profit)
  • Managerial accounting margin/markup conventions
  • Basic percentage and ratio computation rules
  • Common pricing and profitability analysis practices

Note: This calculator supports negative profit (loss). Revenue must be greater than 0 to compute margin; cost must be greater than 0 to compute markup.

FAQ

Related Calculators

More Helpful Calculators

Copied!
🚧
Coming Soon

This calculator is being built.

×