Profit Margin & Markup Calculator
Calculate gross profit per unit, gross margin, and cost markup, or find a selling price from your target percentage.
Pricing Inputs
Gross Profit Margin
37.50%
Profit as a percentage of revenue
Cost Markup Percentage
60.00%
Profit as a percentage of cost
Gross Profit per Unit
$30.00
Selling price minus cost per unit
Margin vs. Markup
Profit Margin
37.50%
Measures profit relative to selling price. Used to evaluate how much of each dollar earned is profit.
Markup
60.00%
Measures profit relative to cost. Used to set prices by adding a percentage on top of cost.
Understanding Margin vs. Markup Dynamics
Gross Profit Margin
The percentage of total revenue remaining after deducting direct production or inventory costs (COGS).
Cost Markup
The percentage added directly to the unit cost to establish the final selling price.
Gross Profit per Unit
Selling price minus direct cost for one unit. Monthly overhead and business net profit require a separate period model.
Cost of Goods Sold (COGS)
The total direct expenditure required to acquire, manufacture, or deliver a single unit of inventory.
Profit Margin vs. Markup: How the Difference Affects Your Pricing
If you are trying to determine whether a product is priced profitably, two percentages can describe the same sale very differently: profit margin and markup. The difference comes down to what each percentage is measured against.
Margin and markup measure profit from different starting points
Suppose a product costs $50 and sells for $80. The gross profit is $30. That $30 represents a 60% markup on the $50 cost and a 37.5% gross profit margin on the $80 selling price. Both numbers describe the same $30 of gross profit. They are not interchangeable because they use different bases.
Profit margin asks: What percentage of the selling price is gross profit? The basic gross profit margin calculation is: Gross profit margin = Gross profit / Selling price x 100.
Markup asks: What percentage has been added to the cost? The markup calculation is: Markup = Gross profit / Cost x 100.
The difference is the denominator. Using the $50 cost and $80 selling price example: Gross profit = $80 - $50 = $30. For margin: $30 / $80 = 37.5%. For markup: $30 / $50 = 60%. The percentages differ because $30 is being compared with two different numbers.
This is why saying that a product has a "30% profit" is incomplete. The calculation needs to establish whether the 30% refers to margin or markup.
The same cost can produce very different prices
The distinction becomes more useful when you start with cost and a target percentage rather than an existing selling price. Imagine a product costs $50.
A 30% markup means adding 30% of the $50 cost: $50 x 1.30 = $65. The resulting selling price is $65.
A 30% margin is different. The $50 cost must represent the remaining 70% of the selling price: $50 / 0.70 = $71.43. The resulting selling price is about $71.43.
The numerical target was 30% in both cases, but the prices are different because the percentage is being applied to a different base. That distinction matters when you use a target percentage to determine a selling price. A 30% markup and a 30% margin do not produce the same price.
Use the calculator to work in either direction
The Profit Margin & Markup Calculator supports several ways of looking at the same pricing relationship.
If you already know your cost and selling price, you can calculate the resulting gross profit, gross profit margin, and cost markup percentage.
If you know your cost and target margin, you can calculate the selling price required to produce that margin.
If you know your cost and target markup, you can calculate the selling price produced by that markup.
This makes the calculator useful for both analysis and scenario testing. For an existing product, you might enter its cost and current selling price to see what margin and markup the price actually produces. For a new product, you might instead start with the cost and test different target percentages to see how they affect the resulting selling price.
The important point is to identify the basis of the percentage before interpreting the result.
What the calculator's numbers mean
The calculator reports several related measures, and each answers a different question.
Gross profit is the difference between selling price and the applicable direct cost.
Gross profit margin expresses that profit as a percentage of selling revenue.
Cost markup percentage expresses the profit relative to cost.
These measures should not be treated as interchangeable descriptions of profitability. For example, if a product costs $50 and sells for $80, the $30 gross profit is the same in both calculations. The 37.5% margin tells you that $30 represents 37.5% of the $80 selling price. The 60% markup tells you that the $30 profit represents 60% of the $50 cost.
The calculator measures gross profit, gross margin and markup for one unit. It does not calculate monthly operating expenses or business net profit.
A target margin and target markup are not equivalent
A useful way to understand the difference is to hold the cost constant and change only the target percentage. Consider a product with a $50 cost.
With a 30% markup: $50 x 1.30 = $65.00 selling price. The $15 profit is 30% of the $50 cost.
With a 30% margin: $50 / 0.70 = $71.43 selling price. The $21.43 profit is 30% of the $71.43 selling price.
The gap is not a calculator error. It follows directly from the definitions. This is also why converting between margin and markup requires care. A markup percentage cannot simply be relabeled as the same margin percentage.
Try it yourself: change only the pricing basis
You can see the relationship directly in the Profit Margin & Markup Calculator.
Start with a simple cost, such as $50, and test a 30% markup. Note the resulting selling price. Then keep the cost at $50 and test a 30% margin. Compare the two selling prices.
The useful observation is that the same numerical target produces different prices because the two percentages are calculated from different bases.
You can then repeat the experiment with another target, such as 40%. As the target changes, watch how the required selling price changes under each method. The purpose is to build an intuitive understanding of the relationship rather than memorize a conversion.
A price can have a positive margin without answering the whole profitability question
Margin and markup are useful measures of product-level economics, but they do not answer every question about a business.
The first distinction is between gross profit margin and net profit margin. Gross profit is based on the relationship between revenue and the relevant direct costs. Net profit also reflects broader operating expenses.
For example, a product may sell for more than its direct cost and therefore produce positive gross profit. The business still has other expenses that can affect what remains after operating costs.
Monthly profitability requires sales volume and costs for the same period. A per-unit gross margin alone does not establish monthly business profit.
The quality of the result also depends on the quality of the cost information entered. COGS should represent the direct costs relevant to acquiring, producing, manufacturing, or delivering the product or service being evaluated. If important costs are excluded from the calculation, the resulting margin or markup may not describe the economics the business owner is actually trying to understand.
Pricing changes affect the percentages
The relationship also becomes important when the selling price changes while cost remains the same. Suppose the cost remains $50 but the selling price falls from $80 to $70.
At $80: Gross profit is $30, gross profit margin is 37.5%, and markup is 60%.
At $70: Gross profit is $20, gross profit margin is about 28.6%, and markup is 40%.
The cost did not change. The price did. That single change reduced the profit dollars and both percentage measures.
This is useful when examining discounts. A discount is not just a reduction in the selling price. When the underlying cost stays fixed, it also changes the amount of profit available from each sale and therefore changes the resulting margin and markup. The effect can be examined directly by changing the selling price in the calculator while holding the cost constant.
What the number does and does not tell you
A calculated margin or markup answers a mathematical question about the relationship between cost, selling price, and profit. It does not, by itself, establish that the resulting price is appropriate for every business situation.
The calculator can show what happens under the inputs you provide. It cannot determine all of the factors that may matter to a pricing decision, such as the broader structure of the business, customer demand, competitive conditions, or costs that are not represented in the calculation.
That distinction is especially important when a business owner asks whether a particular margin is "good." There is no universal margin or markup percentage that can be interpreted independently of the business and the assumptions behind the calculation. The more useful question is what the number means under the specific cost and pricing assumptions being tested.
The Profit Margin & Markup Calculator therefore provides a way to examine the economics represented by the inputs, not a complete measure of business performance.
From product pricing to overall business economics
Profit margin and markup focus on the economics of the price itself. A related question is how much revenue the business needs before its broader cost structure is covered. That is where Break-Even Analysis becomes a natural next calculation.
The Profit Margin & Markup Calculator examines the relationship between cost, price, and profit per sale. A break-even calculation addresses a different question: how much revenue is needed before the business becomes profitable under its cost structure. The two calculations therefore work at different levels of the same business decision.
For a freelancer or independent contractor, the 1099 Tax & Contract Evaluator can address another adjacent question: whether a particular engagement remains financially worthwhile after taxes and expenses. These connections extend the analysis without changing what the margin and markup calculation is designed to answer.
Frequently Asked Questions
Industry Margin and Markup Benchmarks
| Industry Sector | Average Gross Margin Target | Average Cost Markup Equivalent |
|---|---|---|
| Retail Grocery | 15% to 25% | 18% to 33% |
| E-commerce / DTC Brand | 40% to 60% | 67% to 150% |
| Professional Services | 50% to 70% | 100% to 233% |
3 Common Operational Mistakes
Confusing markup percentage with gross margin when setting retail price catalogs.
Failing to include payment processing fees and inbound freight into direct unit COGS.
Discounting retail prices without recalculating the disproportionate drop in gross profit per unit.
Profit Margin Mathematical Formulas
Related Small Business Tools
This calculator was prepared by Rene Solorzano and last updated on September 23, 2026. Rene Solorzano is a financial analyst with a background spanning equity research, corporate finance, and SaaS, and the founder of NumeraDesk.