Skip to content
Business

Margin Calculator

Calculate the profit margin, markup, gross profit, and revenue of your products or business.

$
$
units

Gross Profit Margin

40.00%

Share of revenue remaining after covering cost of goods sold

Gross Profit

$40.00

Revenue minus cost

Selling Price

$100.00

Total revenue

Markup

66.67%

Percentage added over cost

Revenue Breakdown

Revenue$100.00
  • Cost of Goods$60.0060.0%
  • Gross Profit$40.0040.0%

How we calculated this

Open to see each step from your inputs to the result.

  1. 1. Calculate Gross Profit

    Gross Profit=RevenueCost\text{Gross Profit} = \text{Revenue} - \text{Cost}

    Gross Profit = $100.00 - $60.00 = $40.00

  2. 2. Calculate Profit Margin Percentage

    Profit Margin=(Gross ProfitRevenue)×100\text{Profit Margin} = \left(\frac{\text{Gross Profit}}{\text{Revenue}}\right) \times 100

    Profit Margin = ($40.00 / $100.00) * 100 = 40.00%

  3. 3. Calculate Markup Percentage

    Markup=(Gross ProfitCost)×100\text{Markup} = \left(\frac{\text{Gross Profit}}{\text{Cost}}\right) \times 100

    Markup = ($40.00 / $60.00) * 100 = 66.67%

Report tool

Understanding Profit Margin and Markup in Business Pricing

Setting profitable prices is one of the most critical operational responsibilities in any retail, wholesale, or service enterprise. Yet confusion between profit margin and markup remains one of the most frequent causes of accidental underpricing and commercial cash flow shortfalls. When your selling price must also include sales tax collected for the government, model the tax-inclusive gross price with our margin sales tax calculator. To solve for revenue, cost, profit, margin, and markup from any two known values, use the sales calculator, or compute discounted retail prices with the sale price calculator.

While both metrics describe the relationship between cost, revenue, and gross profit, they evaluate profitability from opposite financial angles. Profit margin measures how much of every sales dollar remains after covering the cost of goods sold (COGS). Markup, on the other hand, measures how much is tacked onto the wholesale cost to establish the retail sticker price. To solve directly for markup percentage, selling price, or cost from any two known values, use the markup calculator. To measure how much of total revenue becomes net profit after all expenses, use the net profit margin calculator.

When evaluating multi-product profitability or fixed overhead coverage, you may also want to analyze your variable production expenses using our contribution margin calculator, or determine minimum sales volume requirements with our break-even calculator. For transactions subject to value-added indirect taxation, use our specialized margin and VAT calculator. To see exactly how much profit margin a trade promotion or volume rebate will erase, and how many additional units you must sell to recover it, run the numbers through the margin discount calculator. For equity valuation that adjusts price-to-earnings multiples by expected EPS growth, use the PEG ratio calculator.

Core Mathematical Formulas

All margin calculations begin with gross profit, defined as total revenue minus the direct cost of goods sold:

Gross Profit=RevenueCost\text{Gross Profit} = \text{Revenue} - \text{Cost}

1. Profit Margin Percentage

Profit margin expresses gross profit as a percentage of top-line revenue:

Profit Margin=(RevenueCostRevenue)×100=(Gross ProfitRevenue)×100\text{Profit Margin} = \left(\frac{\text{Revenue} - \text{Cost}}{\text{Revenue}}\right) \times 100 = \left(\frac{\text{Gross Profit}}{\text{Revenue}}\right) \times 100

2. Markup Percentage

Markup expresses gross profit as a percentage of the purchase or production cost:

Markup=(RevenueCostCost)×100=(Gross ProfitCost)×100\text{Markup} = \left(\frac{\text{Revenue} - \text{Cost}}{\text{Cost}}\right) \times 100 = \left(\frac{\text{Gross Profit}}{\text{Cost}}\right) \times 100

3. Converting Between Margin and Markup

You can readily convert between margin ($m$) and markup ($k$), where both are expressed in decimal format:

m=k1+k,k=m1mm = \frac{k}{1 + k}, \quad k = \frac{m}{1 - m}

Because revenue is always equal to or greater than cost in a profitable sale, the numerical markup percentage is always higher than the corresponding profit margin percentage.

Step-by-Step Practical Worked Examples

Example 1: Retail Product Pricing

An e-commerce store procures a leather wallet from a supplier for $60.00 and prices it at $100.00 in its online catalog.

  • Cost price = $60.00
  • Selling price = $100.00
  • Gross profit = $100.00 - $60.00 = $40.00
  • Profit margin = ($40.00 / $100.00) * 100 = 40.00%
  • Markup = ($40.00 / $60.00) * 100 = 66.67%

For every $100 customer payment, $60 covers the physical product, while $40 is retained to pay for shipping, merchant processing, marketing, and net operating income.

Example 2: Target Margin Price Setting

A boutique furniture artisan builds a dining chair with $150.00 in raw timber, hardware, and direct labor. The artisan targets a strict 25.00% profit margin to maintain company solvency.

Target Price=Cost1Margin=$150.0010.25=$150.000.75=$200.00\text{Target Price} = \frac{\text{Cost}}{1 - \text{Margin}} = \frac{\$150.00}{1 - 0.25} = \frac{\$150.00}{0.75} = \$200.00

Notice that adding 25% to the cost ($150 * 1.25 = $187.50) would result in a selling price of only $187.50, which yields a profit margin of merely 20.00%. Calculating target prices via margin division guarantees your intended margin is genuinely realized.

Margin vs. Markup Reference Table

The following reference table outlines equivalent markup percentages required to achieve common gross profit margin benchmarks:

Desired MarginRequired MarkupCost MultiplierExample ($100 Cost)
10.0%11.11%1.111x$111.11
15.0%17.65%1.176x$117.65
20.0%25.00%1.250x$125.00
25.0%33.33%1.333x$133.33
33.33%50.00%1.500x$150.00
40.0%66.67%1.667x$166.67
50.0% (Keystone)100.00%2.000x$200.00

Frequently asked questions

What is the main difference between profit margin and markup?
Profit margin is the percentage of the final selling price that turns into profit, whereas markup is the percentage added to your cost of goods sold (COGS) to reach that selling price. For example, if you buy an item for $50 and sell it for $100, your gross profit is $50. Your markup is 100% ($50 profit divided by $50 cost), but your profit margin is 50% ($50 profit divided by $100 selling price).
Why can profit margin never exceed 100%?
Profit margin measures profit as a fraction of total revenue. Even if your cost of production is zero dollars, your entire revenue is profit, resulting in a maximum possible margin of 100%. In contrast, markup has no upper limit: a product that costs $10 and sells for $100 carries a 900% markup.
How do I calculate the selling price if I know my cost and desired margin?
Divide your cost by (1 minus your target margin in decimal form). For instance, if your cost is $80 and you require a 20% margin (0.20), your selling price is $80 / (1 - 0.20) = $80 / 0.80 = $100.
What is considered a healthy profit margin for small businesses?
Healthy margins vary significantly across industries. High-volume grocery and retail businesses frequently operate on gross margins of 15% to 25%, while manufacturing often ranges from 30% to 45%, and digital products or professional services routinely achieve 60% to 85% gross margins. Fixed overhead and sales velocity determine whether a given margin generates sufficient net income.
How does sales tax or VAT impact my profit margin?
Sales tax and Value Added Tax (VAT) are collected on behalf of government tax authorities and should not be counted as business revenue. If customer payments include tax, calculate your margins using net revenue (excluding tax) rather than gross customer receipts. You can evaluate tax-inclusive pricing with our margin and VAT calculator.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.