Skip to content
Calcipedia

Profit Margin Calculator

Work out gross profit, profit margin percentage, and markup on cost — then find the selling price needed to hit any target margin.

Last updated

Profit snapshot

0%

Profit margin based on the selling price and cost entered below.

Gross profit

$0.00

Markup on cost

0%

Break-even selling price

$0.00

Selling price for target margin

$0.00

Display currency

Switch the display currency for selling-price and cost outputs without changing the margin calculation.

Revenue$0.00
Cost$0.00
Target marginNaN%
← All Pricing & Profit calculators

Pricing Basics

Profit margin, markup, and target selling price explained

A profit margin calculator measures how much of a selling price remains after covering direct cost. Enter your cost and price to see gross profit, margin percentage, and markup on cost — or work backward from a target margin to find the selling price you need.

What a profit margin calculator is measuring

In simple terms, profit is the difference between selling price and cost. A business can sell plenty of units and still struggle if the gap between price and cost is too small. That is why a profit margin calculator is useful as both a quick calculator and a planning calculator: it shows not only the raw profit in money terms, but also the percentage relationship between price and cost.

This kind of online calculator is often used alongside a markup calculator, break even calculator, or loan comparison calculator when someone is testing whether pricing is sustainable. For users searching an accurate calculator or free calculation tool, the most useful outputs are usually gross profit, margin percentage, markup on cost, and the selling price required to hit a chosen target margin.

Core profit-margin formulas

The maths behind a profit margin calculator is straightforward. First, gross profit is found by subtracting cost from selling price or revenue. Margin then expresses that profit as a share of revenue, while markup expresses the same profit as a share of cost. Those two percentages are related, but they are not interchangeable.

The calculator also works backward from a target margin. If you know your cost and the margin percentage you want to achieve, you can calculate the selling price needed to produce that result. That makes the tool useful as both a pricing calculator and a problem solving calculator.

Gross profit = Revenue - Cost

This is the monetary profit before other overhead, tax, financing, and operating expenses are considered.

Profit margin % = (Gross profit / Revenue) x 100

Margin shows what percentage of each sales pound, euro, or dollar is left after direct cost has been covered.

Markup % = (Gross profit / Cost) x 100

Markup measures profit relative to cost rather than relative to selling price.

Target selling price = Cost / (1 - Target margin)

This rearranged formula finds the selling price needed to achieve a chosen target margin, with target margin expressed as a decimal.

Margin and markup are not the same number

One of the most common pricing mistakes is confusing margin with markup. If an item costs 78 and sells for 120, the gross profit is 42. The profit margin is 42 divided by 120, which is 35%. The markup is 42 divided by 78, which is about 53.85%. The money profit is the same in both cases, but the percentage base is different, so the percentage result is different too.

That distinction matters because businesses often talk about pricing in one language while suppliers, retailers, and accountants may speak in the other. A margin-focused planning calculator tells you how much of each sale is left after direct cost, while a markup-focused calculator tells you how much extra was added on top of cost. Used correctly, both are useful digital calculator tools for setting prices and checking whether a target price is realistic.

  • A higher selling price increases both gross profit and profit margin if cost stays unchanged.
  • A higher direct cost reduces both margin and markup if the selling price does not change.
  • Break-even selling price is the point where price equals cost and gross profit is zero.
  • A target margin close to 100% implies an extremely high selling price and may not be realistic in practice.

How to use margin results in practice

This profit margin calculator is best used as a fast calculator for pricing checks, quoting work, comparing product ideas, or stress-testing cost changes. It is especially useful when you want to know whether a current selling price leaves enough room to absorb operating expenses, discounts, or future cost increases. As with any online calculation tool, the answer depends on the assumptions entered.

It is also important to remember that this calculator focuses on gross profit rather than full net profit. Real businesses also face labour, rent, software, shipping, tax, debt costs, and other overheads that are not included in a simple single-product margin formula. Even so, it remains a strong free online calculator for one of the most common pricing questions: how much profit is built into this selling price, and what price do I need to charge to reach my target?

Further reading

Frequently asked questions

What is the difference between margin and markup?

Margin expresses profit as a percentage of selling price. Markup expresses the same profit as a percentage of cost. A 50% markup produces a 33% margin, not 50%, so confusing the two leads to under-pricing.

Why is my profit margin lower than my markup percentage?

Margin is always lower than markup when the figures are expressed as percentages. This is because margin divides profit by the higher selling price, while markup divides the same profit by the lower cost base.

Can I use this calculator to set a target selling price?

Yes. Enter your cost and the margin percentage you want to achieve, and the calculator will compute the selling price required to hit that target. This is useful for pricing decisions when you know your cost structure and profitability goals.

Guides

Featured in articles

Step-by-step guides that use this calculator to solve real problems.

Also in Pricing & Profit

You may also need

Related

More from nearby categories

These related calculators come from the same leaf category, nearby sibling categories, or the same top-level topic.