A Markup Calculator helps you calculate the selling price, markup percentage, gross profit, and related margin from your product or service cost. Enter your cost and desired markup to find the price you need to charge, or enter your cost and selling price to check the markup you are already using.
This is useful for retailers, wholesalers, service providers, and anyone setting prices from a known cost. In this guide, you’ll learn the markup formulas, how markup differs from margin, and how to check your pricing with simple examples.
Key Takeaways
- Markup is calculated from cost, not selling price.
- A markup percentage can be used to calculate the selling price and gross profit.
- Markup and profit margin use different bases, so the percentages are different.
- A 50% markup produces a 33.3% profit margin on the same sale.
- The right markup depends on your costs, target profit, market price, and business model.
What does a markup calculator calculate?
A markup calculator shows how much to charge after adding a chosen percentage to your cost. It can work in both directions, depending on the values you know. If you know the cost and desired markup, the calculator finds the selling price and gross profit. If you know the cost and selling price, it can find the markup percentage.
For example, a product that costs $50 with a 40% markup has a $20 markup amount and a $70 selling price.
The basic calculation follows the standard markup model used in mathematics and accounting education. OpenStax describes markup as an amount added to cost to determine the retail price. (OpenStax, 2023)
What is the markup formula?
The markup percentage measures profit as a percentage of cost.
Markup %
Here:
- Selling Price is the amount charged to the customer.
- Cost is the amount paid or spent to obtain or produce the item.
- Markup % is the profit amount expressed as a percentage of cost.
The gross profit amount is:
Gross Profit
Gross Profit = Selling Price − Cost
To find the selling price from a known cost and markup:
Selling Price
These formulas are consistent with the markup model described by OpenStax and the markup percentage formula published by the Corporate Finance Institute.
How do you calculate markup percentage?
To calculate markup percentage manually, subtract the cost from the selling price first. That gives you the gross profit. Divide the gross profit by the cost, then multiply by 100.
For example, suppose an item costs $80 and sells for $100.
Formula
Result
The markup is 25%.
The key point is the denominator. Markup uses cost as the base. CFI defines markup percentage as the difference between selling price and cost divided by cost.
How do you calculate selling price from markup?
If you know your cost and desired markup, you can calculate the selling price by increasing the cost by the markup percentage.
Suppose your cost is $50 and you want a 40% markup.
Formula
Result
The selling price is $70, and the gross profit is $20.
The same calculation can be written as a cost-plus pricing formula. OpenStax gives the equivalent retail-price model as cost multiplied by one plus the markup rate.
How do you use the Markup Calculator?
Use the calculator based on the information you already have.
To find selling price
Enter your cost and desired markup percentage. The calculator uses those values to determine the selling price and gross profit.
For example, a $75 cost with a 30% markup produces a $97.50 selling price.
To find markup percentage
Enter your cost and current selling price. The calculator determines how much profit you are adding relative to the cost.
For example, a $40 cost and $60 selling price produces a 50% markup.
To check your pricing
Enter your current cost and selling price. Compare the resulting markup with the percentage you intended to use.
This is useful when reviewing existing product prices, invoices, service quotes, or wholesale prices.
What is the difference between markup and margin?
Markup and margin measure the same gross profit from different bases.
Markup compares profit with cost. Profit margin compares profit with selling price.
| Measure | Calculation base | Example |
| Markup | Cost | $20 profit ÷ $50 cost = 40% |
| Profit margin | Selling price | $20 profit ÷ $70 selling price ≈ 28.6% |
Suppose an item costs $50 and sells for $70. The gross profit is $20.
Markup
Profit Margin
The percentages differ even though the dollar profit is the same. Xero explains the same distinction: markup is based on cost, whereas margin is based on selling price.
How do you convert markup to margin?
You can convert a markup percentage into its equivalent profit margin.
Markup to Margin
For a 50% markup:
Calculation
So, a 50% markup produces a 33.3% margin on the same sale.
You can reverse the calculation when you have a target margin.
Margin to Markup
For a 30% target margin:
Calculation
A 30% margin requires about a 42.9% markup on cost.
What is a good markup percentage?
There is no single markup percentage that works for every business. The appropriate figure depends on your cost structure, target profit, market price, product type, and operating expenses.
A markup should leave enough gross profit to support the costs that are not included in the basic unit cost. Xero notes that the right markup depends on the industry and business model, and that costs beyond the direct product cost can affect pricing decisions. (Xero, 2026)
A useful starting process is:
- Calculate the real cost of the product or service.
- Decide what profit or margin you need.
- Check the resulting selling price against the market.
- Review whether the price covers your operating costs.
- Adjust the markup when costs or market conditions change.
A higher markup does not automatically produce higher total profit. A price still has to work for the customers you are trying to reach.
What should be included in the cost?
The answer depends on how you define the cost used by your business. For a simple product calculation, cost may mean the amount paid to purchase the item. For a product you manufacture, the cost can include production expenses allocated to each unit.
Cost-plus pricing can include direct materials, direct labor, and allocated overhead. QuickBooks describes cost-plus pricing as a method that starts with the costs required to produce a unit and then applies the markup percentage. (Intuit QuickBooks, 2026)
For pricing decisions, use a cost figure that matches the purpose of the calculation. If important costs are left outside the cost figure, the resulting markup may look profitable without covering the full cost of running the business.
Worked markup examples
Example 1: Find selling price from cost and markup
A product costs $80. You want to apply a 25% markup.
Formula
Calculation
Result
The selling price is $100, and the gross profit is $20.
Example 2: Find markup from cost and selling price
A product costs $120 and sells for $150.
Formula
Calculation
Result
The markup is 25%.
The corresponding profit margin is:
Profit Margin
Example 3: Find price from a target margin
Suppose an item costs $100 and you want a 30% profit margin.
The margin is based on the selling price, so the selling price is found using:
Selling Price
Calculation
Result
You need a selling price of about $142.86 to achieve a 30% margin before other costs that are outside the calculation.
The equivalent markup is about 42.9%.
Common markup calculation mistakes
Confusing markup with margin
A 40% markup does not mean a 40% profit margin. The markup uses cost as its base, and the margin uses selling price.
Applying the percentage to the selling price
If you want a markup, calculate the percentage from the cost. Using selling price as the base produces a margin calculation instead.
Leaving important costs out of the cost figure
A low unit cost can make a markup look attractive. If labor, materials, fees, or other relevant costs are missing from the cost figure, the final price may be too low.
Assuming one markup works for every product
Different products can have different costs, demand, competition, and operating requirements. A single percentage may not fit every item.
Treating markup as net profit
Markup produces a gross profit figure from the cost and selling price. Net profit comes after other business expenses are accounted for.
Why use a Markup Calculator instead of calculating it manually?
Manual markup calculations are simple, but a calculator reduces repeated arithmetic when you are checking many prices.
A Markup Calculator is useful when you need to:
- Check several product prices quickly.
- Find the selling price for a planned markup.
- Audit the markup already applied to a product.
- Compare markup and margin.
- Test different pricing percentages before setting a price.
The main benefit is speed and consistency. You still need to choose a sensible cost figure and pricing percentage before relying on the result.
References
Frequently Asked Questions
Can a markup be more than 100%?
Yes. A markup above 100% means the profit is greater than the original cost. For example, a 150% markup means the profit equals 1.5 times the cost.
Does a 100% markup mean doubling the price?
Yes. A 100% markup adds an amount equal to the cost, so the selling price becomes twice the original cost. The equivalent profit margin is 50%.
Can I calculate markup from profit and cost?
Yes. Divide the gross profit by the cost and multiply by 100. This gives the markup percentage when the profit and cost are known.