finance calculator

Markup Calculator

Calculate profit per unit plus markup and margin percentages from cost and selling price.

Results

Profit per unit
$30 USD
Markup
60.00%
Margin
37.50%

Overview

Markup and margin both describe profit relative to price, but they do it from different reference points. Markup compares profit to cost, while margin compares profit to selling price. Confusing the two can lead to missed targets and miscommunications between finance, sales, and operations. This markup calculator lets you enter a unit cost and selling price and instantly see profit per unit, markup percentage, and margin percentage side by side.

How to use this calculator

  1. Enter your cost per unit, including all direct costs you associate with producing or purchasing the item (such as materials, direct labor, and shipping into your warehouse).
  2. Enter the selling price per unit—the price you charge your customer before tax, discounts, or fees.
  3. The calculator computes profit per unit, markup percentage (profit as a percentage of cost), and margin percentage (profit as a percentage of selling price).
  4. Use these outputs to check whether your pricing aligns with margin targets, compare profitability across products, or experiment with potential price changes.

Inputs explained

Cost per unit
Your all-in cost to acquire or produce one unit, expressed in the same currency as your selling price. Include direct costs like materials, production, inbound shipping, and per-unit platform fees if you want a realistic profit picture.
Selling price
The price you charge customers for one unit before sales tax. If you offer typical discounts, consider using the average realized price rather than full list price.

Outputs explained

Profit per unit
The gross profit in currency terms for each unit sold, calculated as selling price minus cost per unit. This is the amount available to cover overhead and contribute to net profit.
Markup
The markup percentage, calculated as profit ÷ cost. It tells you how much above cost you are pricing the product. For example, a 60% markup means the profit is 60% of the cost.
Margin
The gross margin percentage, calculated as profit ÷ selling price. It tells you what portion of the selling price is profit. This is the metric most finance teams use when talking about margins.

How it works

You provide the cost per unit (your all-in cost for one item) and the selling price per unit (what you charge the customer).

Profit per unit is simply Selling price − Cost per unit.

Markup percentage answers the question “How much above cost did we price this?” and is calculated as Markup % = Profit ÷ Cost.

Margin percentage answers the question “What fraction of the selling price is profit?” and is calculated as Margin % = Profit ÷ Selling price.

Because they use different denominators, markup and margin values will differ for the same numbers. Margin is always lower than markup for the same price and cost, except when profit is zero.

Formula

Profit per unit = Selling price − Cost per unit\nMarkup (decimal) = Profit per unit ÷ Cost per unit\nMargin (decimal) = Profit per unit ÷ Selling price

When to use it

  • Checking whether a proposed price meets your required gross margin target for a product or service before launching it.
  • Translating a simple markup rule-of-thumb (for example, “we mark up cost by 50%”) into actual margins so you know how much of your revenue is profit.
  • Testing what happens to profit, markup, and margin when either your costs go up (for example, due to supplier increases) or your selling price changes.
  • Explaining to sales or purchasing teams why a “50% markup” does not mean a “50% margin” and how to adjust pricing to hit true margin goals.
  • Comparing profitability across different SKUs or product categories by standardizing on margin but still being able to see markup for pricing conversations.

Tips & cautions

  • Margin is the metric most often used in financial reporting and planning. If leadership says they want a 40% margin, use the margin percentage output, not markup, to check whether you meet that goal.
  • Be careful when applying markup-based pricing rules (like “double the cost”). A 100% markup yields a 50% margin, not 100%, because margin compares profit to selling price.
  • Include all relevant direct costs in the cost per unit input, such as packaging, inbound freight, marketplace fees, or per-unit licensing costs, so that profit per unit isn’t overstated.
  • If you sell through different channels with different fee structures (for example, your website vs a marketplace), run separate calculations per channel with channel-specific costs.
  • When adjusting prices, consider psychological thresholds (like $9.99 vs $10.00) but verify that small changes still keep your margins within acceptable ranges.
  • Focuses on unit-level gross profit only; it does not allocate overhead (rent, salaries, software) or marketing costs across units.
  • Assumes a single fixed cost per unit; volume discounts, tiered costs, or scale-based efficiencies are not modeled.
  • Does not account for returns, warranty costs, or breakage, which can reduce effective profit per unit over time.
  • Taxes, payment processing fees, and other variable selling costs are not included unless you incorporate them into the cost per unit input.

Worked examples

Example 1: $50 cost, $80 price

  • Cost per unit = $50; selling price = $80.
  • Profit per unit = 80 − 50 = $30.
  • Markup = 30 ÷ 50 = 0.60 → 60%.
  • Margin = 30 ÷ 80 = 0.375 → 37.5%.
  • Interpretation: you mark up cost by 60%, but only 37.5% of the selling price is profit.

Example 2: $30 cost, $45 price

  • Profit per unit = 45 − 30 = $15.
  • Markup = 15 ÷ 30 = 0.50 → 50%.
  • Margin = 15 ÷ 45 ≈ 0.333 → 33.3%.
  • Interpretation: a 50% markup yields a one-third margin.

Example 3: Targeting a specific margin

  • Suppose you want a 40% margin on a product that costs $25.
  • You need Price such that Profit ÷ Price = 0.40 and Profit = Price − Cost.
  • Solve: (Price − 25) ÷ Price = 0.40 → Price − 25 = 0.40 × Price → 0.60 × Price = 25 → Price ≈ 41.67.
  • You could round to $41.99 or $42.00 and then use this calculator to confirm the resulting margin.

Deep dive

Calculate profit per unit plus markup and margin percentages by entering your cost and selling price. See at a glance how pricing decisions affect gross profit and how markup compares to margin.

Ideal for product managers, small business owners, and sales teams who want quick pricing checks and a clearer understanding of the difference between markup (profit over cost) and margin (profit over selling price).

FAQs

Why do markup and margin give different percentages?
They use different denominators. Markup measures profit relative to cost (Profit ÷ Cost), while margin measures profit relative to selling price (Profit ÷ Price). For the same product, markup will always show a larger percentage than margin, except when profit is zero.
Which should I focus on—markup or margin?
Use margin when you are thinking about profitability, financial statements, and return on sales. Use markup if you are following simple pricing rules based on cost. Many companies price with markup but report and manage using margin.
How do I set a price if I know my target margin?
If you know cost and target margin, you can solve Price = Cost ÷ (1 − Margin_target). For example, if cost is $20 and you want a 35% margin, Price ≈ 20 ÷ 0.65 ≈ 30.77. Then use this calculator to confirm the resulting margin and markup.
Should I include overhead or marketing in the cost per unit?
It depends on how you track profitability. For quick product-level checks, many people include direct costs only, then compare margin to a target that implicitly covers overhead. For more detailed analysis, you might allocate overhead and marketing per unit to see fully loaded profitability.
Does this calculator handle volume pricing or discounts?
No. It works on a single price and cost per unit. If you offer bulk discounts or tiered pricing, run separate calculations for each price level to understand how margins change at different volumes.

Related calculators

This markup calculator provides simplified estimates of unit-level gross profit, markup, and margin based on user-entered cost and price. It does not allocate overhead, taxes, or all selling costs and is not a substitute for full financial analysis or professional advice. Always consult your finance team or advisor when making significant pricing or product strategy decisions.