Skip to main content

Profit Margin Calculator

Enter your cost and selling price to see profit, gross margin and markup – or enter a target margin to find the price you should charge. Includes a quick guide to margin versus markup.

Profit Margin Calculator – use the tool

What it costs you to make or buy one item.

See totals for several units.

Profit per unit
₦400.00
40% gross margin
Profit
Gross margin
40%
Markup
Cost 60% of priceProfit 40%

Price needed for a target margin

%

To earn a 30% margin, sell at ₦857.14 (a 42.86% markup on cost).

Your current price is ₦142.86 above that.

Margin vs markup – what's the difference?

The share of the selling price that is profit.

(Price − Cost) ÷ Price × 100
Markup

How much you add on top of the cost.

(Price − Cost) ÷ Cost × 100

Example: an item that costs ₦60 and sells for ₦100 makes ₦40 profit – a 40% margin but a 66.7% markup. Margin is always lower than markup, so adding a 30% markup gives only a 23% margin. To hit a target margin, divide cost by (1 − margin) instead of multiplying by (1 + margin).

Quick reference: the markup needed for each margin
Margin
Markup11.1%25%33.3%42.9%66.7%100%150%

Gross margin only looks at the cost of the item itself. Overheads, tax, shipping and fees you also pay are not included – add them to your cost for a fuller picture.

How to use the Profit Margin Calculator

  1. 1

    Choose a mode: cost plus selling price, or cost plus the margin you want.

  2. 2

    Enter your cost per unit and either your selling price or your target margin.

  3. 3

    Read your profit, gross margin and markup, and the selling price needed to reach a target margin.

  4. 4

    Add a quantity to see total revenue, cost and profit for several units.

About this tool

This free profit margin calculator shows how much of every sale you actually keep. Enter your cost and selling price to see profit, gross margin percentage and markup percentage, or enter your cost and the margin you want to find the price you should charge. A short explainer clarifies the difference between margin and markup, which many small businesses mix up: margin is profit as a share of the selling price, while markup is profit as a share of the cost. Add a quantity to see total revenue, total cost and total profit for a batch, and get a clear warning when a price is below cost and would cause a loss. It suits shop owners, resellers, freelancers, caterers, makers and anyone pricing products or services. Work in naira or any currency, with thousand separators and instant results as you type. Gross margin ignores overheads, so add rent, delivery and fees to your cost for a fuller picture. Everything runs privately in your browser.

Last updated

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. Margin is always the smaller number, so a 25% markup is only a 20% margin.

How do I price a product for a target margin?

Divide the cost by (1 − margin). For a 30% margin on an item that costs 700, the price is 700 ÷ 0.7 = 1,000. Don't just add 30% to the cost – that gives only a 23% margin.

What is a good profit margin?

It varies widely by industry. Retail often runs 20–50% gross margin, while software and services can be much higher. Compare yourself with similar businesses.

Is this gross margin or net margin?

Gross margin, since it only uses the cost of the item itself. Add overheads, shipping, fees and tax to the cost if you want a closer look at net profit.

Finance

Discount & VAT Price Calculator

Work out the sale price, how much you save, stacked discounts and VAT.

Finance

Percentage Calculator: Increase, Decrease & VAT

Seven percentage calculators in one – % of a number, what percent, % change, increase, decrease, original number and VAT.

Business

No-Signup PDF Invoice Generator

Create professional invoices with your logo, then download a PDF or print – free.