Profit Calculator

Calculate profit, profit margin and markup from cost and selling price. Set a target margin to find the required price, or see how a discount erodes your profit.

What Is a Profit Calculator?

A profit calculator finds the profit amount, profit margin and markup from a product's cost and selling price. Working as a profit margin calculator, a margin calculator and a markup calculator in one, it is the foundation of any pricing strategy for businesses, individual sellers and e-commerce entrepreneurs. If you want to know how to calculate profit by hand, the core formulas below show exactly how each figure is derived.

Core formulas:

  • Profit Amount = Selling Price − Cost
  • Profit Margin (%) = (Profit ÷ Selling Price) × 100
  • Markup (%) = (Profit ÷ Cost) × 100

Example: a product costs $200 and sells for $300. Profit = $100. Margin = 100/300 × 100 = 33.33%; markup = 100/200 × 100 = 50%.

Profit Margin vs Markup — The Critical Difference

The profit margin formula is profit as a percentage of the selling price, while markup is profit as a percentage of cost. They are often confused, which leads to mispricing.

  • Margin base: selling price. The standard retail metric.
  • Markup base: cost price. Common in manufacturing and wholesale.

"Sell at 50% markup" and "make 50% profit margin" are very different. At 50% markup, the margin is 33.33%; at 50% margin, the price must be double the cost.

For high-margin targets use this formula: Selling Price = Cost ÷ (1 − Target Margin/100). With a $400 cost and a 40% margin target: 400 ÷ 0.60 = $666.67.

Markup-to-Margin Conversion Table (based on $100 cost)

Markup (%)Selling PriceProfitProfit Margin (%)
10%$110$109.1%
25%$125$2520.0%
50%$150$5033.3%
100%$200$10050.0%
150%$250$15060.0%
200%$300$20066.7%

How a Discount Erodes Profit Margin

A discount directly reduces revenue while cost stays fixed, so profit falls fast. Example:

  • Selling a $200-cost product at $300 gives a 33.33% profit margin.
  • A 20% discount drops the price to $240.
  • New profit: $240 − $200 = $40; new margin: 16.67% — margin is almost halved.
  • A 33% discount takes the price to $201 — profit is nearly zero.

Use the Discount Impact mode to find the safe discount limit before running a sale. Also see the Discount Calculator for detailed multi-discount and trade-discount analysis.

Gross Profit vs Net Profit

As a gross profit calculator, this tool calculates gross profit margin (revenue minus direct cost). Net profit is gross profit minus operating expenses (rent, staff, marketing) and taxes. Always compare results to your industry benchmark — typical gross margins: grocery 1–5%, e-commerce 10–20%, software/SaaS 60–80%, manufacturing 20–40%, consulting 30–60%.

Selling Price Calculator: Pricing From a Target Margin

Used as a selling price calculator, the Target Profit mode works backwards from the result you want. Instead of guessing a price and checking the margin, you set the margin you need and the tool returns the price that delivers it. This is how profitable businesses price: start from the margin, then derive the price.

  • From a target margin: Selling Price = Cost ÷ (1 − Margin/100). A $50 cost at a 40% margin needs a $83.33 price.
  • From a target markup: Selling Price = Cost × (1 + Markup/100). A $50 cost at 40% markup gives $70.
  • From a target profit amount: Selling Price = Cost + Target Profit. A $50 cost plus $30 profit gives $80.

Notice how the same "40%" produces a different price depending on whether it means margin or markup — exactly why mixing them up is costly.

Common Profit Calculation Mistakes

Even with a profit margin calculator, a few errors come up repeatedly. Avoid these:

  • Confusing margin and markup: a 50% markup is only a 33.3% margin — never quote one when you mean the other.
  • Forgetting hidden costs: shipping, payment fees, packaging and returns shrink real margin; include them in the cost figure.
  • Pricing on gross, living on net: a healthy gross margin can still leave a loss after rent, salaries and tax.
  • Stacking discounts blindly: repeated promotions can push a price below cost — always check the after-discount margin first.

Run your numbers through this profit calculator before you set or discount a price, and pair it with the discount and VAT tools for a complete pricing picture. See the frequently asked questions below for more worked examples.

Target Profit Pricing Strategy

Good pricing starts by working backwards from a target margin. The Target Profit mode does this automatically: enter the cost and target margin, and the required price appears instantly. Three target types are supported: target margin (%), target markup (%) and target profit amount (fixed currency value). This backwards approach protects you from the common trap of setting a price that feels reasonable but quietly leaves too little profit once costs are fully counted.

What Is a Good Profit Margin?

There is no single "good" margin — it depends heavily on the industry, because cost structures and competition differ. The table below shows typical gross ranges to help you judge whether your result is healthy for your sector:

IndustryTypical Gross MarginNotes
Grocery & supermarket1–5%High volume, very thin margins
E-commerce & retail10–20%Varies with shipping and returns
Restaurants & food10–30%Labour and waste reduce net
Manufacturing20–40%Depends on scale and materials
Consulting & services30–60%Mostly time-based, low cost of goods
Software & SaaS60–80%Low marginal cost per sale

Use these as reference points rather than hard rules: a margin that is excellent for a grocery store would be unsustainable for software. Always compare your number to peers in your own field, and remember that a strong gross margin still has to cover operating expenses before it becomes net profit.

Frequently Asked Questions About the Profit Calculator

Profit Margin = (Selling Price − Cost) / Selling Price × 100. If a product costs $100 and sells for $150, the profit is $50 and the margin is 33.33%. Markup is profit ÷ cost × 100, giving 50% in the same example.

Profit margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. For the same product, markup is always higher than profit margin. Retailers typically use margin; manufacturers typically use markup.

Selling Price = Cost ÷ (1 − Target Margin / 100). With a $200 cost and a 30% margin target: 200 ÷ (1 − 0.30) = 200 ÷ 0.70 = $285.71.

Gross profit = Revenue − Direct Cost (product/material cost). Net profit = Gross profit − Operating Expenses (rent, staff, marketing) − Taxes. This tool calculates gross profit margin; to find net profit subtract your operating expenses as well.

A discount directly reduces revenue while cost stays fixed, so profit erodes quickly. For example, at a 33.33% profit margin, a 20% discount drops the margin to 16.67% — cutting it almost in half. Use the Discount Impact mode to find the safe discount limit.

It depends on the sector. Grocery retail: 1–5% net margin. E-commerce: 10–20% gross margin. Software/SaaS: 60–80% gross margin. Manufacturing: 20–40% gross margin. Consulting/services: 30–60% gross margin. Always compare against your industry average.

Couldn't find the answer you were looking for?

Explore all our tools and get the fastest answer to your question.

Go to All Tools