Five exact pricing relationships

Know which percentage your profit is measured against.

MarginCalc connects direct cost, selling price, gross profit, margin, and markup. Exact rational arithmetic keeps both denominators visible, while every entered value remains in the browser.

Open the margin calculator

No account, upload, price feed, tax table, product catalog, or generated result URL.

Three visible checks

Define cost, choose a base, reverse-check

01

Define direct cost

Decide which user-supplied costs belong in this gross comparison before entering one total.

02

Name the denominator

Use selling price for margin and direct cost for markup; never let the word percentage hide the base.

03

Reverse the formula

Rebuild price, cost, or rate from the result so a display value is supported by the same exact relationship.

Five focused modes

Use the pricing relationship you actually know

  • Find margin and markup from cost and selling price.
  • Set selling price from cost and target margin.
  • Set selling price from cost and target markup.
  • Find allowable cost from price and target margin.
  • Convert margin and markup without a money amount.

Worked pricing arithmetic

Verify each denominator with real numbers

Two executable examples connect the calculator inputs, exact formulas, result, and reverse check.
View examples

Check the denominator

Price with the percentage you actually mean

Enter the values you know, keep margin and markup side by side, and verify which costs your decision still needs to include.

Open MarginCalc