Cost plus gross profit.
Markup Calculator
Markup Calculator
Turn any two known pricing figures into a complete per-unit pricing picture, including selling price, profit, markup, gross margin, and scalable quantity scenarios.
Pricing inputs
Choose the two figures you know. The other two fields update automatically.
Select the pair available from your product, service, or quote.
Direct per-unit cost or cost of goods sold. Enter zero or more.
Profit as a percentage of cost. Values above −100% keep revenue nonnegative.
Selling price collected per unit before taxes or downstream expenses.
Per-unit gross profit: revenue minus direct cost. It may be negative for a loss.
Live results
All values use the current calculation basis and full internal precision.
Revenue minus cost.
Profit divided by cost.
Profit divided by revenue.
Revenue divided by cost.
Selling price composition
Cost represents 71.43% of the current selling price and gross profit represents 28.57%.
Quantity pricing ladder
Scale the same unit economics across common order quantities.
| Quantity | Total cost | Total revenue | Gross profit | Gross margin |
|---|
What does this markup calculator estimate?
This calculator completes a four-part pricing relationship: cost, markup, revenue, and profit. You choose any two values you already know, and the calculator derives the remaining figures. The default example uses a $50.00 unit cost and a 40.00% markup, producing a $70.00 selling price and $20.00 of gross profit. The calculations are per unit, so they work for a physical product, a service package, a menu item, a resale quote, or any other offer with a definable direct cost.
Markup is not the same as gross margin. Markup compares profit with cost, while margin compares profit with revenue. That distinction matters because a 40% markup produces a 28.57% gross margin, not a 40% margin. For additional background, see Investopedia’s explanation of profit margin versus markup.
How should each input be used?
Calculation basis
The basis selector tells the calculator which two fields are authoritative. Choose Cost + markup when setting a price from a target markup. Choose Cost + revenue when you already know the selling price and want to measure actual markup. Revenue + markup is useful when a market price is fixed and you need to estimate the maximum cost that supports a target markup. The other three combinations let you solve from a known profit amount. Changing the basis does not change the current economics; it changes which fields are editable.
Cost
Cost is the direct amount attributable to one unit. For inventory, this often begins with purchase or manufacturing cost and may include inbound freight or directly attributable handling. It should not automatically include every operating expense. The IRS discusses inventory and cost of goods sold in Publication 334, although accounting and tax treatment depends on your facts. A higher cost reduces profit when price is unchanged, or raises the required price when markup is held constant. Cost must be zero or positive.
Markup
Markup is profit divided by cost. Enter 40% when you want profit equal to 40% of cost. A 100% markup doubles cost: a $50 cost becomes a $100 price. Negative markup represents selling below cost. Values must remain above −100% when markup is used to derive revenue, because a markup of −100% would reduce the selling price to zero and lower values would imply negative revenue.
Revenue and profit
Revenue is the per-unit selling price before sales tax and before expenses that are not included in direct cost. Profit here is gross profit, calculated as revenue minus cost. It is not net income because payroll, rent, marketing, software, financing, taxes, returns, and other overhead may still need to be paid. Profit can be negative, but a chosen pair is invalid when it mathematically produces a negative cost or negative revenue.
How does the pricing formula work?
Profit = Revenue − Cost
Markup % = Profit ÷ Cost × 100
Gross margin % = Profit ÷ Revenue × 100
Revenue = Cost × (1 + Markup %)
These equations are rearranged according to the selected basis. For example, when revenue and markup are known, cost equals revenue divided by one plus the markup rate. When markup and profit are known, cost equals profit divided by the markup rate. The calculator keeps full precision during those rearrangements and rounds only the displayed and exported values.
Zero-cost cases require care. If both cost and profit are zero, markup is treated as zero for a neutral result. If cost is zero but profit is positive, the conventional markup ratio is undefined because it requires division by zero. The calculator avoids displaying infinity and instead keeps the rest of the pricing model finite and readable.
How should the results, chart, and table be interpreted?
Selling price is the amount charged per unit. Gross profit is the dollar cushion available after direct cost. Markup indicates how aggressively price is set above cost. Gross margin shows the share of each sales dollar remaining after direct cost, which is often more useful for comparing products with different prices. The price multiple expresses the same relationship as revenue divided by cost: 1.40× corresponds to a 40% markup.
The composition chart splits the current selling price into cost and gross profit. It appears only when both components are nonnegative and the selling price is positive. A loss scenario cannot be represented honestly as a positive composition, so the chart switches to a compact explanatory state rather than drawing a misleading ring. The legend and chart summary use the same current model values.
The quantity ladder multiplies unit cost, unit revenue, and unit profit by 1, 10, 50, and 100 units. Gross margin remains constant because the table assumes unchanged unit economics. Use the Excel download to capture the current inputs, outputs, breakdown, and quantity scenarios in a real workbook. For broader planning, compare gross profit with fixed operating costs and review the SBA’s guidance on the break-even point.
What are the main pricing tradeoffs and common mistakes?
Cost-plus markup is fast and transparent, but it does not prove that customers will accept the resulting price. A higher markup increases unit profit when cost is unchanged, yet it may reduce sales volume. A lower markup can support competitiveness or faster inventory turnover, but it leaves less room for discounts, returns, payment processing, spoilage, and overhead. Test market demand, competitor positioning, and customer value alongside the arithmetic.
Common mistakes include confusing markup with margin, omitting freight or transaction costs from direct cost, applying a desired margin as though it were markup, and treating gross profit as net profit. Another frequent error is changing price without checking whether the revised contribution is sufficient to cover fixed costs. Use the calculator as a disciplined starting point, then layer in taxes, discounts, channel fees, overhead, and demand assumptions before making a final commercial decision.