Markup vs Margin Calculator

Markup and margin sound interchangeable, but they almost never produce the same price from the same cost, and confusing the two is one of the most expensive mistakes small retailers, wholesalers, and service providers make on a pricing sheet. A 50% markup is not a 50% margin. A supplier who quotes you a markup is not speaking the same language as an accountant who reports a gross margin, and a single misread percentage can quietly compress profit on every unit you sell. This calculator converts between the two instantly, shows the correct selling price, and reveals exactly how much profit you actually keep so retail, wholesale, and service pricing decisions are made on real numbers instead of assumed ones.

Your total cost to produce or acquire the item, including materials, labor, and any other direct costs.

Choose whether you are entering a markup percentage (based on cost) or a margin percentage (based on selling price).

Enter the markup percentage (how much to add on top of cost) or margin percentage (what portion of the selling price is profit), depending on your selection above.

Markup and margin both describe the gap between what a product costs and what it sells for, but they are calculated against different denominators and therefore produce different percentages for the exact same transaction. Markup divides profit by cost, the smaller number, so the percentage is larger. Margin divides profit by selling price, the larger number, so the percentage is smaller. The same $10 profit on a $20 sale of a $10 item is a 100% markup and a 50% margin - identical economics, completely different headline numbers. This is why retailers, wholesalers, manufacturers, and accountants frequently end up talking past each other on a pricing call. Buyers in a wholesale channel typically negotiate in markup terms because they are starting from a cost sheet. Retailers running a planogram often think in initial markup. Accountants and finance teams report gross margin and net margin because revenue is the natural denominator on an income statement. A 50% markup looks generous until you realize it only yields a 33.3% margin, and many small businesses unknowingly underprice for years by applying margin-targeted thinking to a markup-driven formula. This calculator accepts a cost and either a markup or a margin percentage, then returns the selling price, the dollar profit per unit, and the equivalent percentage in the other metric so you can communicate clearly with suppliers, partners, marketplaces, and your bookkeeper while pricing products correctly the first time.

How It Works

Markup and Margin Formulas

Markup Mode: Selling Price = Cost × (1 + Markup%); Margin Mode: Selling Price = Cost ÷ (1 − Margin%)

When calculating from markup, the selling price equals cost multiplied by one plus the markup percentage. When calculating from margin, the selling price equals cost divided by one minus the margin percentage. Both formulas produce a selling price from which you can derive the other metric.

Markup is calculated as (Selling Price − Cost) ÷ Cost, expressing profit relative to what you paid for the item. A markup of 50% means the selling price is 1.5 times the cost, so a $10 cost item sells for $15 and yields $5 of gross profit per unit.

Margin is calculated as (Selling Price − Cost) ÷ Selling Price, expressing profit relative to the revenue collected. A margin of 50% means half of every dollar of revenue is gross profit, so a $20 selling price contains $10 of cost and $10 of profit regardless of the markup percentage attached to it.

The same transaction always shows a higher markup than margin because markup divides by cost (the smaller number) and margin divides by selling price (the larger number). The two are different views of the identical dollar profit, not different profit outcomes.

A 50% markup converts to only a 33.3% margin, not a 50% margin - this is the single most common pricing error in small business and is responsible for thousands of underpriced SKUs. To match a 50% margin you actually need a 100% markup, doubling the cost rather than adding half on top.

To convert markup to margin, use Margin = Markup ÷ (1 + Markup). To convert margin to markup, use Markup = Margin ÷ (1 − Margin). For quick reference: 25% markup equals 20% margin, 50% markup equals 33.3% margin, 100% markup equals 50% margin, and 200% markup equals 66.7% margin.

Breakeven on a single unit is the price that produces zero profit, which equals cost - any selling price above cost generates positive gross profit per unit but may still leave the business unprofitable once fixed overhead, labor, and operating expenses are absorbed across total volume sold.

Target-margin pricing works backward from a desired margin to derive the selling price: Selling Price = Cost ÷ (1 − Target Margin). For a 40% target margin on a $30 cost, the price must be $30 ÷ 0.60 = $50, not $30 + 40% = $42, a mistake that quietly costs $8 of margin on every unit sold.

Keystone pricing - a doubling of cost - is a common retail shorthand that produces exactly a 100% markup and a 50% margin. It is widely used in apparel, gift, and hardware retail because it leaves enough room for promotions, markdowns, shrinkage, and overhead while still delivering a meaningful gross margin.

Important Notes:

  • Choose your cost basis carefully before entering a number. Using only invoice cost or wholesale COGS produces a different margin than using a fully loaded cost that includes inbound freight, duties, packaging, fulfillment, and merchant payment fees. Marketplaces like Amazon and Etsy can absorb 15-30% of revenue before a single unit ships, and a margin calculated on bare wholesale cost will dramatically overstate true profit.
  • Direct labor allocation matters most in services and made-to-order goods. A baker who excludes their own time from cost will see flattering markup numbers but discover the business cannot sustain a hire because there is no margin to pay a second pair of hands. Charge fully loaded labor at the cost line so the price can support replacement labor when growth demands it.
  • Fixed overhead - rent, utilities, software subscriptions, insurance, salaried staff - is not part of unit cost but still has to be paid out of gross margin. A useful planning step is to divide total monthly fixed overhead by expected unit volume to derive a per-unit overhead burden, then require gross margin to comfortably exceed it before celebrating a healthy markup.
  • Channel-specific pricing is normal and necessary. Wholesale buyers expect a 40-50% margin off MSRP, marketplace sellers absorb platform fees, and direct-to-consumer pricing can target premium margins. Run this calculator separately for each channel using the channel-specific cost (including referral, fulfillment, and payment fees) to set distinct price floors.
  • Discounts and promotions compress margin faster than they appear to. A 20% storewide discount on a product carrying a 40% margin halves the margin to 20%, not 'reduces it by 20%'. Build a promotional margin floor before running any markdown event so the calendar of sales does not silently drain annual profit.
  • Distinguish gross margin from operating margin and net margin when interpreting results. This calculator returns gross margin only - revenue minus direct cost - which is the appropriate number for unit-level pricing decisions. Operating margin subtracts overhead and payroll, while net margin further subtracts interest, taxes, and one-time items. A healthy gross margin can still produce a poor net margin if overhead is bloated.
  • Margin percentage must be less than 100% by definition because a 100% margin would mean the product has zero cost, which only occurs for genuinely cost-free items like digital downloads with no licensing or hosting attribution. Anything above roughly 80-85% margin should prompt a review of whether all real costs are being captured in the cost input.
  • This tool models single-unit pricing math and does not encode tiered volume pricing, bundle economics, multi-item baskets, dynamic competitive repricing, or marketplace Buy Box strategies. For those, apply the calculator to each tier or bundle component separately and then combine the results in a spreadsheet.

Worked Example

A small business owner buys a product for $25 and wants to apply a 50% markup. They want to see the selling price, profit, and what the equivalent margin percentage is.

Inputs:

  • cost:25
  • calculation Mode:markup
  • percentage Value:50

Result:

With a 50% markup on a $25 cost, the selling price is $37.50 and the profit per unit is $12.50. The equivalent profit margin is only 33.3%, not 50%, so one-third of each sale is gross profit and two-thirds covers the original cost. A useful contrast comes from the same product priced two different ways: at a 60% markup, a $50 cost product sells for $80 and yields a 37.5% margin, while pricing the same $50 cost product for a 60% target margin requires a selling price of $125 - a 150% markup, nearly triple the original cost. The pricing gap between those two interpretations of 60% is $45 per unit, or $4,500 across 100 units sold, which is the difference between a healthy boutique product and a deeply underpriced one. This is exactly why pricing decisions need a calculator: applying the same percentage as a markup and as a margin against the same cost produces dramatically different prices, dramatically different gross profit per unit, and dramatically different ability to absorb returns, shrinkage, marketplace fees, and promotional discounting later in the year.

Who Is This Calculator For?

  • small business owners
  • retail managers
  • ecommerce sellers
  • procurement professionals
  • accounting students

Frequently Asked Questions

Markup is profit expressed as a percentage of cost, while margin is profit expressed as a percentage of the selling price. For the same transaction, markup is always a higher percentage than margin because cost is a smaller number than selling price, so dividing by it produces a larger ratio. For example, buying at $10 and selling at $15 yields a $5 gross profit, which is a 50% markup ($5 divided by $10 cost) but only a 33.3% margin ($5 divided by $15 selling price). The underlying economics are identical - the same dollar of profit on the same transaction - but the two metrics describe it from opposite ends of the income statement, which is why mixing them up leads to pricing errors.
To convert a markup percentage to its equivalent margin, divide the markup by one plus the markup expressed as a decimal: Margin = Markup ÷ (1 + Markup). A 50% markup becomes 0.50 ÷ 1.50 = 0.333, or 33.3% margin. A 25% markup becomes 0.25 ÷ 1.25 = 0.20, or 20% margin. A 100% markup (keystone pricing) becomes 1.00 ÷ 2.00 = 0.50, or 50% margin. To go the other direction, use Markup = Margin ÷ (1 − Margin), so a 40% margin equals 0.40 ÷ 0.60 = 66.7% markup. This calculator handles both conversions automatically as soon as you toggle the calculation mode and enter a percentage.
Retailers, buyers, and merchandisers usually start from a cost sheet because they negotiate with suppliers, so markup is the natural unit of pricing - it is the percentage they add on top of what they paid. Accountants, finance teams, and investors, on the other hand, read the income statement top-down where revenue sits at the top, so margin (profit as a share of revenue) is the natural unit on a P&L. Each professional community is using whichever denominator they encounter first in their workflow. Neither is wrong, but they need to be translated when the two teams meet to discuss pricing, profitability, or promotional planning. Misalignment between the merchandising plan and the finance plan often traces back to one team meaning markup while the other hears margin.
Healthy gross margin varies sharply by industry and channel. Grocery and convenience retail typically runs 20-30% gross margin because volume is high and price competition is intense. Apparel and gift retail often targets 50-60% gross margin to absorb markdowns and seasonal clearance. Restaurants aim for 60-70% gross margin on food and 75-80% on beverages. Direct-to-consumer ecommerce brands commonly target 50-70%. SaaS and digital products frequently exceed 80% gross margin because variable cost is minimal. Service businesses depend heavily on labor utilization. The most useful benchmark is your own industry's published averages plus 5-10 points of cushion, because gross margin still has to fund overhead, marketing, payroll, and net profit.
To price backwards from a desired margin, divide the cost by one minus the target margin: Selling Price = Cost ÷ (1 − Target Margin). For a $30 cost with a 40% target margin, the price must be $30 ÷ 0.60 = $50, not $30 plus 40% (which would give $42 and leave only a 28.6% margin). For a 60% target margin on the same $30 cost, the price needs to be $30 ÷ 0.40 = $75. This is the single most common pricing miscalculation in small business - treating a margin target as if it were a markup adder, which silently leaves money on the table on every unit sold. Always divide by one minus the target margin, never add the margin as a percentage of cost.
Gross margin measures profit at the unit or product level: revenue minus the direct cost of goods sold, divided by revenue. Operating margin goes further by subtracting operating expenses like rent, payroll, marketing, and software subscriptions before dividing by revenue. Net margin subtracts everything - operating costs plus interest, taxes, depreciation, and one-time items - and is the true bottom-line profitability of the business. A retail product might carry a 60% gross margin but only a 5-10% net margin once the storefront, salaried staff, and corporate overhead are paid. This calculator returns gross margin only, which is the right metric for setting unit prices, but you should track all three to understand whether the business is genuinely profitable.
Neither in isolation. Pricing purely to a target margin without checking the market produces SKUs that never sell because customers find cheaper alternatives. Pricing purely to competitor benchmarks produces SKUs that sell but generate too little gross profit to cover overhead, payroll, and growth. The practical answer is to set a minimum margin floor for each product or category (the level below which a sale destroys economic value) and a maximum market-supported price (the level at which volume drops sharply), then pick a price inside that corridor. Premium positioning, differentiated packaging, faster shipping, better warranties, or stronger brand can move the corridor higher, but the margin floor still has to clear overhead absorption and net profit targets.
Because markup and margin use different denominators. Markup divides profit by cost, the smaller number, producing a larger percentage. Margin divides profit by selling price, the larger number, producing a smaller percentage. The dollar amount of profit is identical in both cases - what changes is the lens. Think of it as describing the same hill from two sides: from the bottom looking up (cost-based markup) the climb looks steep, while from the top looking down (revenue-based margin) the same drop looks shallower. Once you internalize that markup and margin are two ratios describing one dollar of profit, the conversions become intuitive and you stop being surprised that 50% markup is only 33.3% margin.
Use whichever your audience uses, but always carry both numbers in your head. Talk to suppliers and category buyers in markup terms because they think from cost up. Talk to your bookkeeper, accountant, finance team, lender, or investor in margin terms because they read the income statement from revenue down. When you set prices internally, decide on a target gross margin (because that ties directly to overhead absorption and net profit goals) and then convert it to the equivalent markup for the pricing team. The important rule is to never mix the two within a single sentence or pricing rule - misalignment between the markup applied at the SKU level and the margin reported at the P&L level is one of the easiest ways to under-earn against plan.
Industry conventions provide useful starting points. Grocery stores often operate on 25-35% markup (20-26% margin) due to high volume and slim per-unit profit. Apparel and accessory retail typically uses 100-150% markup (50-60% margin) to absorb markdowns and returns. Restaurants apply roughly 300% markup on food (75% margin) and even higher on drinks. Software, digital products, and most professional services routinely exceed 80% gross margin because variable cost is minimal. The most important threshold is that gross margin must cover all fixed overhead and still leave room for net profit - if your gross margin equals your overhead burden per unit, the business is breaking even at best and will collapse the moment a single line item rises. Industry benchmarks from trade associations, ecommerce reports, and accounting firms are the cleanest reference for your specific category.

Related Tools

Related Calculators

Guides & Comparisons

Last updated: April 11, 2026