Free tool

Profit margin and markup calculator

Margin and markup are two different numbers. This works out both from a cost price and a selling price, and the price that hits a margin you choose.

Your numbers

What you paid for one unit.

KES

What you charge for one unit.

KES

Used for the selling price below.

%

At the selling price you entered

Profit per unit
KES 400
Margin
33.33%
Markup
50%

Margin is profit ÷ selling price. Markup is profit ÷ cost. A 50% markup is only a 33% margin.

Price for a 30% margin

Selling price
KES 1,143

Why the two numbers differ

Margin is a share of the price; markup is a share of the cost. Buy at 800 and sell at 1,200: the profit is 400, the margin is 33.3% (400 ÷ 1,200) and the markup is 50% (400 ÷ 800). Both are true, and quoting the wrong one is how a “50% profit” turns out to be a third.

Margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. Price for a margin = cost ÷ (1 − margin).

Which one to use

Margin is the one that compares to your expenses, because rent and wages are also shares of sales. If your margin is 25% and expenses are 20% of sales, the business keeps 5 cents on every shilling. Markup is useful for pricing quickly from a cost — but convert it to margin before deciding whether a line is worth shelf space.

StockWise keeps the cost on the product, so the margin you see on the dashboard is your own, not an assumption.

Other free tools