Home

Markup & Margin Calculator

Find a selling price from cost and markup or target margin. Or check the markup, margin and gross profit of your existing price.

Enter your numbers

Live calculation
Try an example:

Choose the option that matches your calculation.

Actual cost for one item or job. Include the expenses you want this calculation to cover. Example: $80.

%

Percentage added to COST. This differs from margin. Example: 25 %.

Results update as you type. Example values are editable.

Selling price

$100.00
Gross profit$20.00
Markup on cost25%
Gross margin20%

Gross profit is before any expenses not included in your cost. This is not net business income.

Cost and selling price

Two separate amounts on the same USD scale. The difference is gross profit or loss.

Selling price
Amount$100.00
Cost and selling priceTwo separate amounts on the same USD scale. The difference is gross profit or loss. Vertical axis: USD. Use the point selector below for exact amounts. Amount.USD$0$27$54$81$108CostSelling pr…
Tap the chart or move the selector for exact values.

Inputs stay on this page. Reloading clears unsaved changes.

More results, charts and tables

Detailed table

Per-item or per-job pricing
Cost$80.00
Selling price$100.00
Gross profit / loss$20.00
How it is calculated
Profit = selling price − cost. Markup = profit ÷ cost × 100. Gross margin = profit ÷ selling price × 100. Price from markup = cost × (1 + markup / 100). Price from margin = cost ÷ (1 − margin / 100). Zero denominators are undefined. Full precision is used internally; displayed USD amounts are rounded to cents. Round your actual selling price and recheck it if a minimum margin must be met.

Markup & Margin — price calculation

CalcsDecoded.com

Selling price

$100.00

Per item or job, before sales tax.

Gross profit / loss
$20.00
Markup on cost
25%
Gross margin
20%
Cost and selling price — USD
Cost
$80.00
Selling price
$100.00

Bars start at zero. Values use the same USD scale.

Inputs and price breakdown
MeasureValue
TaskPrice from markup
Entered cost$80.00
Entered markup25%

Calculation

Price = $80.00 × (1 + 25 / 100) = $100.00.

Markup = profit ÷ cost × 100. Margin = profit ÷ selling price × 100.

Gross profit is before expenses not included in entered cost. USD amounts are rounded to cents; recheck an actual rounded selling price if a minimum margin matters. Zero-cost markup and zero-price margin are undefined.

Examples and assumptions

Markup uses cost as its base; margin uses selling price. Choose which percentage you know, or check an existing price. Gross profit is before costs you have not included.

25% markup is 20% margin

Price $100.00; gross profit $20.00; margin 20%.

80 × 1.25 = 100. Profit 20 ÷ price 100 = 20% margin.

Target 25% margin

Price $100.00; gross profit $25.00; markup approximately 33.333333%.

75 ÷ (1 − 0.25) = 100. Markup = 25 ÷ 75 × 100.

Check a below-cost price

Gross loss $20.00; markup −20%; margin −25%.

80 − 100 = −20. The denominators are cost 100 and price 80 respectively.

Before you use the result

  • Use a consistent per-item or per-job cost basis. Unentered operating expenses, sales tax, discounts and payment fees are excluded.
  • This tool does not set a market price or guarantee profitability. Gross profit is not net business income.
  • Zero cost makes markup undefined; zero selling price makes margin undefined. Target margin must be below 100%.
  • USD display is rounded to cents. If you need a minimum margin after rounding, check the actual rounded selling price in the third mode.
Calculation checks and references

Independent cases cover markup/margin inversion, losses, zero denominators, invalid rates and input-mode isolation.

Reference cases checked: . Checks are automated reference calculations; an independent professional review is not claimed.

References explain definitions, rules or context; they do not endorse CalcsDecoded.com. See our calculation methodology for the testing and updating standard.

Frequently asked questions

Is markup the same as margin?

No. Markup divides gross profit by cost. Margin divides gross profit by selling price.

Why is 100% target margin not accepted?

A positive cost cannot have a 100% margin at a finite selling price.

Is gross profit my net income?

No. Any costs not included in your input still need to be deducted.