Margin Calculator

Estimate profit margin, profit amount, revenue, total cost, markup, and selling price based on cost, price, and quantity sold.

Calculate Margin

Profit margin = (selling price − cost) ÷ selling price. In target mode, required selling price = cost ÷ (1 − target margin).
Your result will appear here.

How the margin calculator works

Profit per unit:
The calculator subtracts cost per unit from selling price per unit.

Margin percentage:
Margin is calculated by dividing profit by selling price.

Target price mode:
If you enter a target margin, the calculator estimates the selling price needed to reach it.

Total results:
Quantity and additional costs are used to estimate total revenue, total cost, and total profit.

Why margin estimates matter

Margin estimates help you price products, compare offers, and understand whether your sales mix is producing enough profit to support the business.

This tool is especially helpful when testing cost changes and target selling prices.

What your result means

Your result shows gross margin percentage, profit per unit, total revenue, total cost, total profit, markup, and the required selling price if target margin mode is used.

Margin calculator tips

Frequently asked questions

What is profit margin?

Profit margin is the percentage of revenue left after the direct cost of the item is subtracted.

What is the difference between margin and markup?

Margin uses selling price as the denominator, while markup uses cost as the denominator.

Can I use this to find a selling price?

Yes. Target margin mode estimates the selling price needed to reach a chosen margin percentage.

Why does a high target margin require a much higher price?

Because margin is based on selling price, the price required rises faster as the target margin gets closer to 100%.