DT DevToolsPlatform

Profit Margin Calculator

Pricing calculator with Basic, Advanced, and Target Price modes.

Calculate margin, markup, net profit, break-even volume, and required price for your target margin.

Basic mode is quick pricing. Advanced mode includes fees, tax, overheads, and break-even. Target mode solves required selling price from desired margin.

Outputs

Live pricing results

Revenue

£70.00

Total cost

£40.00

Gross profit

£30.00

Profit per unit

£30.00

Profit margin

42.86%

Markup

75.00%

Active currency: GBP

Margin = Profit / Selling Price. Markup = Profit / Cost. Results are illustrative and not financial advice.

Graph

Price vs profit bar chart

Bars show how profit changes across a price range around your current setup.

£58.00£0.00£42.00£98.00

Current price point

£70.00

Profit: £30.00

Break-even price

No crossing in current range

Where profit crosses zero in plotted range.

Plotted window

£42.00 to £98.00

Auto-scales around your current input price.

What this calculator does

The Profit Margin Calculator helps you measure how much profit you keep from each sale and what percentage of your selling price that profit represents. It is useful for business owners, freelancers, ecommerce sellers, and teams setting pricing strategy.

  • Cost
  • Selling price
  • Profit amount
  • Profit margin percentage

Core formula

Profit = Selling Price - Cost
Profit Margin % = (Profit / Selling Price) × 100

Margin is calculated from the selling price, not the cost.

How to calculate profit margin

  1. Enter the cost of the product or service.
  2. Enter the selling price.
  3. Subtract cost from selling price to get profit.
  4. Divide profit by selling price.
  5. Multiply by 100 to get margin percentage.

Example

If Cost = £40 and Selling Price = £70:

  • Profit = £70 - £40 = £30
  • Profit Margin = (30 / 70) × 100 = 42.86%

So the sale has a 42.86% profit margin.

Margin vs markup

Many people confuse margin and markup.

  • Profit Margin = Profit / Selling Price
  • Markup = Profit / Cost

Example with Cost = £50 and Selling Price = £80:

  • Profit = £30
  • Margin = 30 / 80 = 37.5%
  • Markup = 30 / 50 = 60%

Why this tool is useful

  • Set better prices
  • Check if a product is profitable
  • Compare margins across products
  • Plan discounts more carefully
  • Understand the difference between profit and revenue
  • Avoid confusion between margin and markup

FAQs

Quick answers

What does this calculator show?

It shows cost, selling price, profit amount, profit margin percentage, and markup percentage for the same inputs.

How is profit margin calculated?

Profit margin uses selling price as the base: (Profit ÷ Selling Price) × 100.

What is the difference between margin and markup?

Margin uses selling price as the denominator, while markup uses cost. The percentages are different for the same sale.

Can this be used for products and services?

Yes. Any scenario with a cost and a selling price can use the same formulas.

Is this financial advice?

No. This is an educational pricing calculator and not financial, tax, or legal advice.

Related tools

Pricing and comparisons