GP Markup Calculator: Formula & How to Use It
- Gross profit
- $
- Result
- Gross margin
- %
- Result
- Cost price
- 50 $
- You entered
This GP (gross profit) markup calculator works out the selling price you need for a desired gross profit margin, or the margin you are actually making from a known cost and selling price. You enter the cost price and either a markup percentage or a selling price, and it returns the missing value along with the gross profit in dollars. The calculator below uses the standard retail formulas, and the sections after it explain exactly how the math works, where it is used, and the mistakes that cause the biggest errors.
Formula
The core markup formula is:
Selling Price = Cost × (1 + Markup% / 100)
Where:
- Cost – what you pay to acquire the product (purchase price, freight, and any other direct costs) in dollars.
- Markup% – the percentage added to the cost to set the selling price.
- Selling Price – the final price charged to the customer, in dollars.
The gross profit in dollars is simply Selling Price − Cost. The gross margin (the percentage of the selling price that is profit) is related to markup by:
Gross Margin % = Markup% / (100 + Markup%) × 100
For example, a 50% markup gives a 33.33% gross margin because the profit is 33.33% of the selling price, not 50% of it.
Worked Example
Using the default values from the calculator above (cost = $50, markup = 50%):
- Markup in decimal form: 50 / 100 = 0.5
- Add 1 to get the multiplier: 1 + 0.5 = 1.5
- Multiply by cost: $50 × 1.5 = $75.00 selling price
- Gross profit: $75.00 − $50.00 = $25.00
- Gross margin: $25.00 / $75.00 × 100 = 33.33%
The calculator shows exactly these results: selling price $75.00, gross profit $25.00, and margin 33.33%.
Markup vs. Margin: The Confusion That Causes Pricing Errors
Many people use “markup� and “margin� interchangeably, but they are not the same. Markup is the percentage added to the cost, while margin is the percentage of the selling price that is profit. A 50% markup yields only a 33% margin. If you mistakenly think a 50% markup gives a 50% margin, you will underprice your product and earn less than you planned.
To convert from margin to markup, use: Markup% = Margin% / (100 − Margin%) × 100. For example, a 40% margin equals a 66.67% markup. The calculator above includes the margin output so you can see the relationship immediately.
How to Choose the Right Markup for Your Business
There is no single “correct� markup. It depends on your industry, your costs, and your market position. Common approaches include:
- Cost-plus pricing – add a fixed percentage (e.g., 50% for many retail products) to cover overhead and profit.
- Keystone pricing – a 100% markup (double the cost), common in retail for items with moderate turnover.
- Competitor-based pricing – set your price near competitors, then calculate what margin that gives you.
- Value-based pricing – charge what the customer is willing to pay, regardless of cost, then check the margin is acceptable.
Whatever method you use, the markup must cover not only the product cost but also operating expenses (rent, wages, marketing) and still leave a profit. A common mistake is using a low markup that looks competitive but leaves no room for overhead.
Common Mistakes and How to Avoid Them
- Using markup as margin – as shown above, this understates the required selling price.
- Forgetting to include all direct costs – shipping, import duties, packaging, and payment processing fees should be part of the “cost� in the formula.
- Rounding too early – rounding the selling price to a whole dollar is fine, but rounding the markup percentage before calculating can shift the margin by a point or two.
- Not recalculating when costs change – if your supplier raises the cost by 10%, a fixed markup percentage will automatically raise the price, but a fixed dollar markup will not.
- Ignoring the market – a high markup on a price-sensitive item can kill sales; a low markup on a luxury item may leave money on the table.
When to Use This Calculator (and When Not To)
Use this calculator when you are setting prices for products you buy and resell, or when you need to check the margin on an existing price. It is ideal for retail, wholesale, and small e-commerce operations.
Do not use it for services that have significant labor costs, because labor is not a simple “cost per unit� – you need to factor in time, overhead, and utilization. It also does not account for variable costs like discounts, returns, or volume incentives. For those, you need a more detailed profit model.
Limits of the Formula
The formula assumes a single cost and a single selling price, with no volume discounts, no taxes, and no breakage. In real business, you may have tiered pricing, seasonal discounts, or currency fluctuations. The formula gives a static snapshot, not a dynamic forecast. Also, it ignores the price elasticity of demand – a higher markup may reduce sales volume, so the total profit might be lower than a smaller markup on a higher volume. Use the calculator as a starting point, not a final decision.
Frequently Asked Questions
What is the difference between markup and margin?
Markup is the percentage added to the cost to get the selling price. Margin is the percentage of the selling price that is profit. For example, a 50% markup on a $100 item gives a $150 selling price and a $50 profit, which is a 33.33% margin. They are related but not equal.
How do I calculate markup from margin?
Use the formula: Markup% = (Margin% / (100 − Margin%)) × 100. For a 30% margin, the markup is (30 / 70) × 100 = 42.86%. This tells you how much to add to the cost to achieve the desired margin.
What is a good markup percentage?
It varies by industry. Retail often uses 50–100% markup (keystone), while grocery stores may use only 10–20% because of high volume. Restaurants often aim for 300% markup on food ingredients. The right number depends on your overhead, competition, and sales volume.
Does the calculator include tax?
No. Sales tax is added on top of the selling price and does not affect your gross profit, so it is not part of the markup calculation. The cost should include any taxes you pay to acquire the product, but not the tax you charge the customer.
Can I use this for services?
You can use the same math, but for services the “cost� must include your time, materials, and a share of overhead. Many service businesses use an hourly rate that already includes profit, so a simple markup may not be appropriate.
Why does the calculator show a margin lower than the markup?
Because margin is calculated as a percentage of the selling price, which is larger than the cost. Since the profit is the same dollar amount, it represents a smaller percentage of the larger price. This is normal and expected.
Related
Formula used
in c | Cost price | $ | 50 | 0 in m | Markup % | % | 50 | 0 out price | Selling price | $ | c * (1 + m/100) | 2 out profit | Gross profit | $ | c * m/100 | 2 out margin | Gross margin | % | (m / (100 + m)) * 100 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.