DoesWhatAnswersSlangEmojisCalculatorsTriviaPlayBlog

Trivia Questions and Weird Facts

Money and Finance

Margin Calculator

A 40% margin does not mean adding 40% to your cost. Choose the figures you know and find the selling price, allowable cost or actual margin, with markup shown alongside it.

Loading the calculator. It runs in your browser, so JavaScript needs to be on.

How to use the Margin Calculator

  1. Choose Price from cost and margin to enter Cost and the Gross margin you want to keep from sales.
  2. Choose Cost from revenue and margin to enter a Selling price or revenue and the Gross margin. This finds the cost that leaves that margin.
  3. Choose Margin from cost and price when you already know Cost and Selling price or revenue. A selling price below cost returns a negative margin.
  4. Read Gross profit, Gross margin and Markup on cost together. Use a cost and selling price for the same quantity, such as one item or one month's sales.

The formula

Gross profit = selling price minus cost. Gross margin % = gross profit / selling price × 100. Selling price = cost / (1 - margin / 100). Cost = selling price × (1 - margin / 100). Markup % = gross profit / cost × 100.

Worked example

With a $60 cost and a 40% target margin, the required selling price is $60 / 0.60 = $100.00. Gross profit is $40.00 and markup on cost is 66.67%. In the reverse mode, $200.00 revenue at a 25% margin permits $150.00 cost and leaves $50.00 gross profit.

Margin and markup use different denominators

Margin divides profit by sales; markup divides profit by cost. A $100 cost with 50% markup gives a $150 selling price and a 33.33% margin. To get a 50% margin on that same $100 cost, the selling price must be $200. This distinction matters whenever a supplier quote and a retail pricing target use different terms.

Choose what belongs in your cost

For a product margin, cost might include the item and inbound freight. For a job, include the direct labor and materials you want the price to cover. The calculator does not add rent, advertising, card fees or tax automatically. Gross profit is therefore not the same as the cash left after every business expense.

Why 100% margin cannot price a positive cost

A 100% margin means all revenue is profit, leaving no cost. With a positive cost, the price formula divides by zero at 100%, so that target is rejected. The revenue mode can show a 100% margin with zero allowable cost. Markup has no defined percentage when cost is zero.

Margin Calculator questions

How do I calculate a 30% profit margin?

Divide cost by 0.70 to find the selling price. A $70 cost needs a $100 selling price to leave a $30 gross profit and 30% margin.

Is 50% markup the same as 50% margin?

No, 50% markup gives a 33.33% margin. A 50% margin requires a 100% markup on a positive cost.

Can a profit margin be negative?

Yes, when the selling price is below cost the margin is negative. A $100 cost and $80 selling price produce a $20 loss and a -25% margin.

Related calculators