All Marketing tools

Marketing · Tool

Margin & Markup Calculator

Compute margin, markup, and profit with reverse-calc.

Sign in to favorite

Enter any two values — cost, price, margin %, or markup % — and the rest will be computed.

$
$
%
%
Profit per unit
Profit appears here once cost and price are known.
Cost
—
Price
—
Margin
—
of price
Markup
—
of cost

What is Margin & Markup Calculator

Margin and markup sound similar but produce different numbers — and mixing them up kills pricing decisions. Enter any two of cost, price, margin, or markup and the rest are derived instantly with the formulas displayed alongside each result.

The Margin & Markup Calculator computes the relationships between cost, price, margin, and markup. Enter any two values and the tool calculates the other two plus the absolute profit per unit, with the formulas shown alongside each result.

Margin is profit as a percentage of price. Markup is profit as a percentage of cost. The two are easily confused — a 50% markup is only a 33% margin — and confusing them produces pricing decisions that quietly destroy profit.

It's built for ecommerce operators setting product prices, agency teams modeling client retainers against cost of delivery, and marketers backing into a target price that funds a desired ROAS.

How to use Margin & Markup Calculator

  1. 1Enter any two of cost, price, margin, or markup.
  2. 2The calculator fills in the remaining values.
  3. 3Use it forward (cost + margin -> price) or in reverse (price + margin -> cost).
  4. 4Watch the Margin vs Markup explainer to avoid confusing the two.

Why Margin & Markup Calculator matters

Margin is the lever that determines what ROAS you need to be profitable. A small misunderstanding — confusing markup with margin, forgetting to include variable costs in cost-of-goods — propagates into pricing decisions that make a channel look profitable on the surface and lose money in reality.

Healthy pricing discipline means knowing your gross margin precisely, computing the break-even ROAS from it (1 ÷ margin), and pricing with enough headroom to absorb fluctuations in cost and ad efficiency. The calculator is meant to make those numbers second-nature.

Margin & Markup Calculator use cases

Setting price on a new product launch

Start from cost of goods and a target margin, and the calculator returns the price you need to charge. Sanity-check the result against your competitive set before committing.

Modeling a discount campaign

Before approving a 20%-off promotion, plug the discounted price back in to see what margin you're left with. The numbers often reveal that the offer needs accompanying volume or attach-rate assumptions to be worthwhile.

Backing into break-even ROAS for paid ads

Once you know your margin, break-even ROAS is 1 ÷ margin. Use the calculator to confirm your margin assumption, then plan paid budgets that clear that ROAS floor with room to spare.

Reviewing pricing for a service or retainer

Treat the variable cost of delivery as the 'cost' input and the retainer fee as the 'price'. The resulting margin tells you whether the engagement is funding the business or starving it.

Example

Cost $25 sold at $40 yields a 37.5% margin and a 60% markup — same product, two different percentages, both meaningful.

FAQ

What is the difference between margin and markup?
Margin is profit as a percentage of price. Markup is profit as a percentage of cost. The same dollar profit always produces a larger markup percentage than margin percentage.
Can I work backwards from a target margin?
Yes — enter cost and target margin, and the calculator returns the price you need to charge to hit it.
Does this include taxes or fees?
No. Cost and price are treated as pre-tax. Add fees into the cost field if you want them factored into the margin calculation.

Further reading

Related tools