Margin & Markup Calculator
Calculate your gross profit, profit margin percentage, markup rate, and required selling price for any product or business service.
Gross Profit
How to Use This Margin & Markup Calculator
Calculating your product profit margins is fundamental to establishing healthy pricing strategies for e-commerce, retail, and service businesses. This tool operates in three intuitive modes:
- Cost & Selling Price: Enter what you paid for an item and what you sell it for to see your exact gross dollar profit, margin percentage, and markup percentage.
- Cost & Target Margin %: Enter your item cost and desired gross margin to discover the exact selling price needed to hit your profitability goal.
- Cost & Target Markup %: Enter your cost and standard markup percentage to quickly determine your retail selling price and total dollar margin.
Margin vs. Markup: Understanding the Formulas
While profit margin and markup both measure profitability from the same dollar gain, they use different denominators and serve distinct accounting purposes.
Profit Margin Formula
Profit margin measures how much profit you keep from every dollar of revenue earned.
Margin % = (Revenue - Cost) / Revenue x 100
Example: If cost is $60 and selling price is $100, profit is $40. $40 / $100 = 40% margin.
Markup Formula
Markup measures how much you increase the original cost price to set the selling price.
Markup % = (Revenue - Cost) / Cost x 100
Example: If cost is $60 and profit is $40, $40 / $60 = 66.67% markup.
How to Convert Between Margin and Markup
To convert a known markup percentage into its equivalent profit margin percentage:
Margin % = Markup % / (1 + Markup %)
To convert a target profit margin percentage into the required markup percentage:
Markup % = Margin % / (1 - Margin %)
Retail & Business Price Reference Table
The table below compares cost, selling price, dollar profit, margin %, and markup % across common wholesale and retail pricing tiers.
| Item Cost | Selling Price | Gross Profit | Margin % | Markup % |
|---|---|---|---|---|
| $10.00 | $15.00 | $5.00 | 33.33% | 50.00% |
| $25.00 | $50.00 (Keystone) | $25.00 | 50.00% | 100.00% |
| $50.00 | $80.00 | $30.00 | 37.50% | 60.00% |
| $100.00 | $250.00 | $150.00 | 60.00% | 150.00% |
Frequently Asked Questions
What is the difference between margin and markup?
Profit margin is calculated as a percentage of your total sales price, whereas markup is calculated as a percentage of your cost. For example, if an item costs $50 and sells for $100, your profit is $50. The profit margin is 50% ($50 / $100), but the markup is 100% ($50 / $50).
Can profit margin ever exceed 100%?
No. Gross profit margin can never reach or exceed 100% unless your cost is zero or negative. Since revenue is the denominator, profit cannot exceed revenue. However, markup percentage can easily exceed 100%, 200%, or more when selling prices are set significantly higher than wholesale costs.
What is keystone pricing in retail?
Keystone pricing is a retail pricing rule of thumb where an item is marked up by exactly 100% of its wholesale cost, effectively doubling the price. A keystone pricing structure yields a 50% gross profit margin.
What is a good profit margin for small business?
Average profit margins vary widely by industry. General retail typically operates around 30% to 50% gross margin, software and digital products often achieve 70% to 90% gross margin, while grocery and restaurant sectors operate on leaner gross margins of 15% to 35%.