← All free tools

Margin & markup calculator

Understand the profit in your price—and the difference between margin and markup.

Cost of one unit, in your currency
Price of one unit, in the same currency

Your inputs stay in this page. No account or upload needed.

YOUR ESTIMATE

40%
gross margin

Markup: 66.67%. Gross profit per unit: 40.

Margin = (selling price − cost) ÷ selling price × 100

How the calculation works

Gross profit per unit is selling price minus unit cost. Margin divides that profit by selling price. Markup divides it by cost. Multiply either ratio by 100 to express it as a percentage.

An item that costs 60 and sells for 100 earns 40 gross profit per unit. Its margin is 40%, while its markup is approximately 66.7%.

What to keep in mind

Use one currency and a consistent treatment of sales tax. Include the direct costs you intend to measure in unit cost. These results do not account for all business expenses and are not net profit.

Doing this for every product?

A calculator is a useful starting point. If keeping stock records current is becoming the hard part, explore whether dedicated software fits your workflow.

Read the inFlow buying guide →