Margin and Markup Calculator
Calculate profit margin, markup and selling price from any two values, convert margin to markup and see a margin table. Clear formulas and examples.
Results are estimates for information only, not financial advice. Check with a professional before making decisions.
- Cost
- –
- Selling price
- –
- Profit
- –
- Gross margin
- –
- Markup
- –
- Multiplier
- –
How it was calculated
Margin ↔ markup conversion
Margin and markup table
| Margin | Markup | Multiplier | Selling price | Profit |
|---|
How to use the margin and markup calculator
- In What do you know?, choose the two values you have: Cost and price, Cost and margin, Cost and markup, Price and margin or Price and markup.
- Fill in the fields that appear: Cost, Selling price, Margin (%) or Markup (%), and choose the Currency.
- Read the results: the Cost, the Selling price, the Profit, the Gross margin, the Markup and the Multiplier (price ÷ cost). How it was calculated shows the formulas, and Copy copies the results.
- To translate a percentage quickly, use Margin ↔ markup conversion: choose Margin → markup or Markup → margin and type the percentage.
- The Margin and markup table lists the markup, multiplier, selling price and profit for common margins from 5% to 90%, for your cost.
Margin vs. markup: the difference
Both describe the same profit, but they divide it by different amounts:
- Margin (gross margin, profit margin) = profit ÷ selling price
- Markup = profit ÷ cost
An item that costs $60 and sells for $100 makes $40 of profit. Its margin is 40 / 100 = 40%, and its markup is 40 / 60 = 66.67%. The markup is always larger than the margin (for a profitable item), and a margin can never reach 100%, while a markup can be 200% or more.
Mixing them up is expensive. If you want a 40% margin but add a 40% markup to a $60 cost, you sell at $84 and your real margin is only 28.6%.
Formulas
With a cost C, a price P, a margin g and a markup m (as decimals):
- profit = P − C
- g = (P − C) / P and m = (P − C) / C
- price from a margin: P = C / (1 − g)
- price from a markup: P = C × (1 + m)
- cost from a price: C = P × (1 − g) = P / (1 + m)
- markup from a margin: m = g / (1 − g)
- margin from a markup: g = m / (1 + m)
Examples: a 50% margin equals a 100% markup (the price is double the cost); a 25% markup equals a 20% margin; a 20% margin equals a 25% markup. Prices are rounded to the cent. A negative margin means the item is sold at a loss.
Frequently asked questions
What is a good profit margin?
It depends entirely on the industry. Grocery stores often work with gross margins of 20–30%, clothing retail with 50% or more, and software even higher. Compare your margin with businesses like yours, and remember that gross margin does not include rent, salaries or other overhead.
How do I price a product for a 30% margin?
Choose Cost and margin, enter the cost and 30. The tool divides the cost by 1 − 0.30: a $70 cost gives a $100 price.
Why can't the margin be 100%?
A 100% margin would mean the item costs nothing. As the cost approaches zero, the margin approaches 100% but never reaches it, while the markup grows without limit.
Should I include taxes in the price?
No. Use prices excluding sales tax or VAT: the tax is collected for the government and is not part of your margin.
Does this tool give financial advice?
No. It performs the arithmetic on the numbers you enter. Pricing decisions should also consider demand, competitors and all of your costs.
Related tools
- Break-Even Calculator Find your break-even point in units and revenue from fixed costs, variable cost and price, plus the sales needed for a target profit and a cost chart.
- VAT Calculator Add VAT to a net price or remove it from a gross price at any rate, with 2026 EU and UK rates as examples, several items and totals by rate.
- Discount Calculator Find the sale price and how much you save with one or several stacked percentage discounts, a coupon amount and optional sales tax.
- Percentage Calculator Free percentage calculator that finds X% of a number, what percent one number is of another, percentage change, and increases or decreases by a percentage.