Gross Margin Markup Calculator: How to Convert
- Markup
- %
- Result
- Profit
- $
- Result
- Cost
- 100 $
- You entered
This calculator converts between gross margin percentage and markup percentage, and also computes selling price, cost, or profit when you enter the other two values. You enter any two of cost, selling price, gross margin, or markup, and it returns the remaining values, with the first output being the gross margin percentage for the given cost and selling price. The tool uses the standard retail formulas, so you can quickly see how a 50% markup translates to a 33.3% gross margin, or what price to set to achieve a target margin.
Formula
Gross margin and markup are two different ways to express the same profit relationship, and the formulas are closely related.
- Gross Margin (%) = (Selling Price − Cost) ÷ Selling Price × 100
- Markup (%) = (Selling Price − Cost) ÷ Cost × 100
- Selling Price = Cost × (1 + Markup ÷ 100) OR Cost ÷ (1 − Margin ÷ 100)
- Cost = Selling Price × (1 − Margin ÷ 100) OR Selling Price ÷ (1 + Markup ÷ 100)
Where:
- Cost = what you pay for the item (in dollars, euros, etc.)
- Selling Price = what the customer pays (same currency)
- Gross Margin = the percentage of the selling price that is profit
- Markup = the percentage of the cost that is added to get the selling price
The key difference: margin is based on the selling price, markup is based on the cost. That is why the same profit gives different percentages.
Worked Example
Using the default values from the calculator: Cost = $100, Selling Price = $150.
- Profit = $150 − $100 = $50
- Gross Margin = ($50 ÷ $150) × 100 = 33.33%
- Markup = ($50 ÷ $100) × 100 = 50%
So a 50% markup produces a 33.33% gross margin. The calculator shows exactly that: margin 33.33%, markup 50%, profit $50.
Why the Confusion? Margin vs. Markup
Many business owners and shoppers mix up margin and markup because both are expressed as percentages and both relate to profit. The critical difference is the base:
- Markup is a percentage of the cost (what you paid).
- Margin is a percentage of the selling price (what the customer pays).
For example, if you buy a product for $80 and sell it for $100, your profit is $20. Your markup is 25% ($20 ÷ $80), but your gross margin is 20% ($20 ÷ $100). The numbers differ because the denominators differ. This is not just a math quirk—it affects pricing decisions, discounting, and financial reporting. If you think a 50% markup means a 50% margin, you will underprice your goods.
How to Use the Calculator for Pricing
You can use this tool in three common ways:
- Find your margin from cost and selling price: Enter the cost and the price you charge. The calculator shows your actual gross margin and markup. This is useful for reviewing existing products.
- Set a selling price to hit a target margin: Enter the cost and the desired margin (as a percentage) in the margin field. The calculator will compute the required selling price. For example, if an item costs $50 and you want a 40% margin, the price should be $50 ÷ (1 − 0.40) = $83.33.
- Set a selling price to hit a target markup: Enter the cost and the desired markup. The calculator adds that percentage to the cost. For example, a 60% markup on a $30 cost gives a price of $30 × 1.60 = $48.
Remember that the calculator uses the formulas above, so you can also use it to check whether a discount still leaves you with a positive margin. For instance, if your normal margin is 50% and you offer a 20% discount, the new margin is not simply 30%—you need to recalculate with the discounted price.
Common Mistakes and Pitfalls
- Using the wrong base: The most frequent error is treating markup as margin. A 100% markup (cost doubled) gives only a 50% margin, not a 100% margin.
- Forgetting to convert percentages: In formulas, 40% must be entered as 0.40, not 40. The calculator handles this, but if you do it by hand, always divide by 100.
- Mixing up cost and selling price: If you enter the selling price in the cost field, your margin will be negative or nonsensical. Double-check which number goes where.
- Ignoring other costs: Gross margin only considers the direct cost of the product. It does not include overhead like rent, shipping, or marketing. Your net margin will be lower.
When to Use Margin vs. Markup
In retail and wholesale, markup is often used for initial pricing because it is easy to add a percentage to the cost. For example, a store might apply a 50% markup to all products. However, financial statements and profitability analysis use gross margin because it shows what portion of each sales dollar is profit. When comparing your performance to industry benchmarks, always use margin. When setting prices from cost, markup is more intuitive. This calculator gives you both, so you can switch between them without doing extra math.
Limits of the Formula
The formulas assume a simple single-product scenario. They do not account for volume discounts, tiered pricing, taxes, or variable costs that change with quantity. Also, the calculator works with any currency, but you must use the same currency for cost and price. The result is a percentage, so it is unit-agnostic. For a business with multiple products, you would calculate the margin for each product separately, or use weighted averages for the whole store.
Frequently Asked Questions
What is the difference between gross margin and markup?
Gross margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost. For example, if you buy for $80 and sell for $100, the profit is $20. The margin is 20% ($20/$100), and the markup is 25% ($20/$80). They are different numbers because they use different bases.
How do I convert a markup to a margin?
To convert markup to margin, use the formula: Margin = Markup ÷ (1 + Markup). For example, a 50% markup (0.50) gives a margin of 0.50 ÷ 1.50 = 0.3333, or 33.33%. Conversely, to convert margin to markup, use: Markup = Margin ÷ (1 − Margin). A 40% margin gives a markup of 0.40 ÷ 0.60 = 0.6667, or 66.67%.
What does a 100% markup mean in terms of margin?
A 100% markup means you double the cost to get the selling price. For example, cost $50, selling price $100. The profit is $50, so the margin is $50/$100 = 50%. So a 100% markup equals a 50% margin.
Can I use this calculator for services as well as products?
Yes, the same formulas apply to any situation where you have a cost and a selling price. For a service, the “cost� would be the direct labor and materials, and the “selling price� is what you charge the client. The margin and markup percentages work the same way.
Why is my margin percentage lower than my markup percentage?
Because margin is based on the selling price (which is larger than the cost), the same profit yields a smaller percentage when compared to the selling price. For any positive profit, the margin will always be less than the markup, unless the profit is zero.