Pricing Calculator

Use this pricing calculator to turn a unit cost and target profit margin into a selling price, with the profit per unit and markup shown alongside.

Pricing Calculator
US$
%
Selling price —
Profit per unit —
Markup on cost —

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

What it does

The Pricing Calculator turns a unit cost and a target profit margin into the selling price you should charge. It shows the price, the profit per unit, and the equivalent markup on cost so you can price with confidence.

Data sources & parameters

This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

The formula

price = unit_cost ÷ (1 − margin), profit = price − unit_cost, markup = profit ÷ unit_cost

How it works

You enter what one unit costs you and the profit margin you want to keep as a share of the selling price. The tool divides the cost by one minus that margin to find the price, then reports the profit and the markup the price represents.

Where it is used

  • Setting a retail or wholesale price from a known cost
  • Checking whether a target margin leaves an acceptable price
  • Translating between margin on price and markup on cost

Worked example

A product costs $40.00 to make and the owner wants a 50% margin. The selling price works out to …, giving … of profit per unit, which is a … markup on cost.

What the pricing calculator does

The pricing calculator works out what to charge from the cost of a single unit and the profit margin you want to keep. It returns the selling price, the profit per unit at that price, and the markup the price represents on your cost.

Pricing is often done by feel. A price set slightly too low erodes every sale, while one set too high loses customers you never see. The calculation gives a repeatable starting point for every product, service, or line item.

Margin and markup

Treating margin and markup as interchangeable is the most common pricing mistake, and it leads to prices that are far off target.

Margin is profit as a share of the selling price: sell something for 100, keep 30 as profit, and your margin is 30%. Markup is profit as a share of the cost: if that item cost you 70, your markup is 30 divided by 70, about 43%.

Because the bases differ, the same price gives two different percentages. A 50% margin is a 100% markup, and a 40% margin is roughly a 67% markup; the gap widens as margins climb. The calculator asks for the margin, because it maps onto profitability, and shows the markup alongside for conversations with suppliers and buyers.

The formula

  • Price = cost ÷ (1 − margin)
  • Profit = price − cost
  • Markup = profit ÷ cost

Adding the margin percentage to the cost would give a markup, not a margin. To keep 30% of the final price as profit, the cost has to be the remaining 70%, so you divide by 0.70 instead of multiplying by 1.30. Getting this backwards is how underpricing happens.

How to use the calculator

  1. Enter the unit cost: everything it takes to make or buy one unit.
  2. Enter the profit margin you want to keep as a percentage of the selling price.

The calculator displays the selling price, the profit per unit, and the markup on cost, and the donut chart shows how the price splits between cost and profit.

The result is only as good as the cost figure. A unit cost that includes only the obvious inputs produces a price that looks profitable but is not. Include materials, direct labour, packaging, payment processing fees, and a fair share of shipping and returns.

Choosing a target margin

The right margin depends on your industry, your costs, and your competition. Grocery retail runs on thin margins and high volume, while software and luxury goods sustain very high margins. Use what is typical in your sector as a benchmark.

The margin also has to absorb costs that never reach the unit cost: rent, salaries, marketing, software, and the occasional discount or write-off. A margin that looks generous on a single unit can disappear once those overheads are spread across your sales, so err on the conservative side.

Using the results

The calculated price is consistent with your target margin, but the market has its own opinion. Compare it with competitor prices and with what customers currently pay. If it sits far above the market, your costs are too high or your margin target is unrealistic; if far below, you may be leaving money on the table.

  • Raise the margin a few points and watch how quickly the price climbs; small margin changes move the price more than most people expect.
  • Lower the cost and see how much room that creates. Reducing cost is often a faster route to profit than raising the price.
  • Compare the markup figure with how your suppliers quote, so a negotiation never catches you out.

Common pricing mistakes

  • Confusing markup for margin. Adding your target percentage to cost gives a markup, which produces a lower margin than intended.
  • Undercounting the cost. Leaving out fees, shipping, or returns makes the margin look healthy while the real one is much thinner.
  • Copying a competitor's price without knowing their costs. Their margin at that price may be very different from yours.

Run the calculator across your whole range to see which products carry the business and which barely break even, and revisit the figures as your costs move.

This article is general information only and is not financial advice.

About This Pricing Calculator

Use this pricing calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.

Frequently asked questions

How does the pricing calculator work?
You enter what one unit costs you and the profit margin you want to keep as a share of the selling price. The tool divides the cost by one minus that margin to find the price, then shows your profit per unit and the equivalent markup on cost. It updates as you change either figure.
What is the difference between margin and markup?
Margin is profit measured against the selling price, while markup is profit measured against the cost. A 50% margin means half the price is profit, which is a 100% markup on cost. The two always describe the same price from different angles, and the calculator shows both so you never confuse them.
Why can't I use a margin of 100% or more?
Margin is a share of the selling price, so a 100% margin would mean the cost is zero and the price is infinite. Any margin at or above 100% has no valid price, so the calculator caps the input below that point. Realistic margins sit well under 100%.
Should I price for margin or for markup?
Retail and finance usually think in margin because it maps directly onto profit as a share of revenue. Buyers and suppliers often think in markup because it starts from cost. Pick whichever your industry uses, but always check the other figure so the price still makes sense from both sides.
Does the price include tax?
No. The calculator works with the net figures you enter, so the result is a pre-tax selling price. If you need to add sales tax, VAT, or GST, apply it on top of this price using the rate that applies in your market.
Is my data kept private?
Yes. The calculation runs entirely in your browser. Nothing you enter is uploaded, stored, or shared with anyone.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *