Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Pricing Calculator

Price, Margin and Markup

  • Free
  • Runs in your browser
  • No account needed

Use this calculator to get a selling price from cost and target margin or markup. Example: cost $40 and 35% margin gives price $61.54, profit $21.54, margin 35% and price with 20% tax $73.85.

Selling price
$61.54
Cost (most you can pay in this mode)
$40.00
Profit per unit
$21.54
Margin
35%
Markup
53.85%
Price with tax
$61.54

A 50% markup is only a 33.3% margin. Mixing the two is the most common pricing mistake.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Pricing Calculator

This tool finds selling price, profit per unit, margin, markup and tax-inclusive price from a few simple inputs. You can enter cost plus target margin, cost plus markup, cost and price, or price plus target margin. Results update instantly in your browser as you type. You pick the currency from USD, GBP, EUR, NGN, AED, SAR or INR. The calculator runs client-side only and does not upload your numbers to any server. You can copy results or create a share link that reopens the same values. The page explains the common markup versus margin mistake and shows a worked example so you can check your numbers. It also shows the highest cost you can pay when you set price and margin. The tool suits retailers, freelancers, product managers and small businesses that need quick single-unit pricing without signing in.

How to use it

  1. 1Choose your currency from USD, GBP, EUR, NGN, AED, SAR or INR.
  2. 2Pick which inputs you have: cost+margin, cost+markup, cost+price, or price+margin.
  3. 3Enter cost per unit, selling price or your target percentage(s).
  4. 4View selling price, profit per unit, margin, markup and tax-inclusive price updating instantly.
  5. 5Copy results or generate a share link that reopens with your numbers.
Advertisement

Worked example

Input: mode = cost and margin, currency = USD, cost = 40.00, target margin = 35.00%, sales tax = 20.00%. Results: selling price = 61.54, profit per unit = 21.54, margin = 35.00%, markup = 53.85%, price with tax = 73.85.

The formula

From cost and margin: price = cost / (1 - margin)From cost and markup: price = cost * (1 + markup)From price and cost: margin = (price - cost) / price; markup = (price - cost) / costFrom price and margin: highest cost = price * (1 - margin)Tax added on top: price_with_tax = price * (1 + tax rate)

Source: Xero: Margin vs MarkupShopify: Gross Margin ExplainedCornell Dyson: Retail pricing formula. Last checked 5 November 2026.

What it is good for

  • See selling price from cost or margin instantly as you type.
  • Compare markup and margin so you avoid the common pricing mistake.
  • Choose currency and add sales tax or VAT to get a tax-inclusive price.
  • Single-unit cost only; no multi-line invoice or CSV export on this page.
  • Does not allocate overhead automatically or replace market testing and tax advice.
Advertisement

Questions people ask

What is the difference between markup and margin?

Markup is profit as a percent of cost. Margin is profit as a percent of selling price. They will always give different percentages for the same dollar profit.

How do I get a price from cost and target margin?

Use price = cost / (1 - margin as a decimal). Example: cost $40 with 35% margin gives price $61.54. The tool applies this formula automatically.

If I add 50% markup, is that a 50% margin?

No. A 50% markup on cost equals a 33.33% margin on price. The calculator shows both numbers so you do not mix them up.

Do prices include tax or VAT?

You enter selling price before tax. The tool shows a tax-inclusive price by adding the tax rate you enter. Regional display rules vary by country, so follow local regulations.

Can I use this for B2B and B2C pricing?

Yes. For B2B you might show net prices and list VAT separately. For consumer pricing many regions require VAT-inclusive display. Check local tax authority rules.

How accurate are results for real invoices?

Results follow the exact formulas shown and use the numbers you enter. Treat outputs as estimates and confirm rounding and tax details with your accounting system.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement