Margin Calculator

Margin Calculator

Calculate profit margins & markup

CalculatorsFreeNo Signup
4.9(346 reviews)
All Tools

Loading tool...

About Margin Calculator

A business margin calculator that computes gross profit margin, net profit margin, markup percentage, revenue, cost, and profit. Enter any two values to calculate the rest. Convert between margin and markup percentages — they're not the same thing. Includes a comparison table showing how margin and markup relate at common percentages. Essential for pricing decisions, cost analysis, and business planning. 100% client-side.

Margin Calculator Features

  • Profit margin
  • Markup calculator
  • Margin ↔ markup
  • Revenue & cost
  • Net margin
  • Comparison table
  • Business formulas
Profit margin is the lifeblood metric of every business — it tells you how much of each dollar in revenue you actually keep as profit. According to NYU Stern School of Business data, the average net profit margin across all U.S. industries is approximately 7.9%, ranging from 1.5% in grocery retail to over 60% in software services. Yet many business owners confuse margin with markup — two related but fundamentally different calculations that can lead to costly pricing errors.

Margin vs. Markup: The Critical Difference

Definitions

Profit Margin = (Profit ÷ Revenue) × 100. It answers: "What percentage of my selling price is profit?" Markup = (Profit ÷ Cost) × 100. It answers: "What percentage above my cost am I charging?" These are NOT the same number. A 50% markup results in only a 33.3% margin.

Markup %Margin %
15%13.0%
25%20.0%
50%33.3%
75%42.9%
100%50.0%
200%66.7%

Conversion Formulas

Margin to Markup: Markup = Margin ÷ (1 − Margin). Markup to Margin: Margin = Markup ÷ (1 + Markup). Example: 40% margin = 40 ÷ (100 − 40) = 66.7% markup.

Margin vs markup comparison chart showing the relationship between profit margin and markup percentages

Gross Margin vs. Net Margin

Gross Profit Margin

Gross margin = (Revenue − COGS) ÷ Revenue × 100. COGS (Cost of Goods Sold) includes only direct costs: materials, direct labor, and manufacturing overhead. Apple Inc.'s gross margin was 46.2% in fiscal 2023, meaning for every dollar of revenue, 46.2 cents covered gross profit before operating expenses.

Net Profit Margin

Net margin = (Revenue − All Expenses) ÷ Revenue × 100. This includes COGS plus operating expenses, taxes, interest, depreciation, and amortization. Net margin is always lower than gross margin. Amazon's net margin is only about 3.6% despite enormous revenue — thin margins compensated by massive volume.

Gross vs net margin breakdown showing how expenses reduce profit from revenue to net income

Step-by-Step Instructions

  1. 1Enter your cost (what you pay) and selling price (revenue).
  2. 2View the calculated profit margin, markup, and profit amount.
  3. 3Or enter margin percentage and cost to find the required selling price.
  4. 4Use the margin-to-markup converter for quick reference.
  5. 5Review the comparison table to understand margin-markup relationships.

Margin Calculator — Frequently Asked Questions

What is a good profit margin?+

It varies hugely by industry. Software: 60–80% gross margin. Retail: 25–50% gross. Grocery: 1–3% net. Manufacturing: 15–25% gross. A 'good' margin means you're at or above your industry average. NYU Stern publishes annual industry margins as a benchmark.

What is the difference between margin and markup?+

Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. A $10 item sold for $15 has a 33.3% margin ($5/$15) but a 50% markup ($5/$10). Margin is always lower than markup for the same transaction.

How do I calculate selling price from margin?+

Selling Price = Cost ÷ (1 − Margin%). For example, if your cost is $50 and you want a 40% margin: $50 ÷ (1 − 0.40) = $50 ÷ 0.60 = $83.33 selling price.

Why is margin more useful than markup?+

Margin relates profit to revenue, making it easier to compare across businesses and calculate how much of your revenue is profit. Markup is useful for pricing individual products, but margin gives a better picture of overall business health because revenue is the top line of your income statement.

Share this tool: