Finance
Margin and selling price calculator
Calculate gross margin, markup and selling price from cost. Understand the difference between margin and markup.
Currency
Whole numbers, no decimals
Calculate selling price
From cost and desired percentage
$
Select the method then enter the percentage:
%
Selling price
—
Profit
—
Actual margin
—
Actual markup
—
Analyse margins for a price
From cost and actual selling price
$
$
Profit
—
Margin (on selling price)
—
Markup (on cost)
—
Multiplier factor
—
Key concepts
Margin (gross margin) is calculated on the selling price: margin = (SP − cost) / SP × 100. Markup is calculated on the cost: markup = (SP − cost) / cost × 100. For the same product, markup will always be a higher percentage than margin. Confusing the two is one of the most common mistakes in pricing.
It depends on the type of business: food retail typically operates on margins of 5–15%, while software or professional services can exceed 70%. What matters is covering all fixed and variable costs, not just the product cost. A 30% margin on selling price may look healthy, but if overheads are high, the net profit can still be negative.
Using margin: SP = Cost / (1 − margin%). For example, cost $1,000 with 40% margin: SP = 1,000 / (1 − 0.40) = $1,667.
Using markup: SP = Cost × (1 + markup%). With 40% markup: SP = 1,000 × 1.40 = $1,400. Note that 40% margin and 40% markup produce very different selling prices.
Using markup: SP = Cost × (1 + markup%). With 40% markup: SP = 1,000 × 1.40 = $1,400. Note that 40% margin and 40% markup produce very different selling prices.
The multiplier factor (or price factor) is the number by which the cost must be multiplied to obtain the selling price: factor = SP / cost. It is equivalent to markup expressed as a ratio. For example, if cost is $1,000 and SP is $1,500, the factor is 1.5 (equivalent to a 50% markup). It is widely used in distribution and wholesale to quickly calculate catalogue prices.
The break-even point is the sales level at which revenue exactly covers all costs — no profit, no loss. It is calculated by dividing total fixed costs by the unit contribution margin (selling price − variable cost). For example, if fixed costs are $5,000/month and the unit contribution margin is $20, you need to sell 250 units to break even. Every unit sold above that point generates net profit.
The contribution margin is the difference between the selling price and direct variable costs (materials, commissions, variable logistics). It shows how much each unit sold contributes to covering fixed costs and generating profit. If you sell a product for $100 with a variable cost of $60, the contribution margin is $40 (40%). A negative contribution margin means you lose money on every sale, regardless of total volume.
Gross margin considers only the direct cost of goods sold: gross margin = (revenue − COGS) / revenue × 100. Net margin also deducts all operating expenses, taxes and interest: net margin = net profit / revenue × 100. A business can have a 60% gross margin but a 5% net margin if operating costs are high. Net margin is the final indicator of real business profitability.
Business owners and entrepreneurs use it to set selling prices that guarantee profitability rather than guessing. Sales managers use it to check whether the commissions and trade discounts they offer clients still leave a healthy margin. Buyers and product managers consult it when negotiating with suppliers to know how much room they have before profitability is at risk. E-commerce sellers need it to calculate the real margin after deducting shipping costs, platform fees, and taxes. Restaurateurs and food entrepreneurs use it to set menu prices that cover food costs and generate profit. Accountants and financial analysts consult it to quickly check whether the margins of a product or business line are sustainable.
On desktop, press Ctrl + D (Windows/Linux) or Cmd + D (Mac) in Chrome, Firefox, or Edge to add this page to your bookmarks instantly. In Safari for Mac, use Cmd + D or go to Bookmarks → Add Bookmark. On mobile with Chrome (Android), tap the three-dot menu (⋮) and choose "Add to Home screen" or "Add to bookmarks." On mobile with Safari (iPhone/iPad), tap the share button (□↑) and then "Add to Home Screen." One tap from your home screen whenever you need to check a price or negotiate a margin.