Profit Margin Calculator

Enter your cost price and selling price to instantly see the profit, the profit margin percentage and the markup percentage. Useful for pricing products and services.

Privacy: your input is processed entirely in your browser and is never sent to our servers.

Visual example

How principal, rate and term become a monthly payment.

Principal

Amount you borrow

Interest rate

Cost of borrowing each year

Term

Months or years to repay

→ Monthly payment + total interest

How to Use Profit Margin Calculator

  1. 1Enter the cost price of the item or service.
  2. 2Enter the selling price.
  3. 3Read the profit, margin percentage and markup percentage.

What This Tool Does

Margin and markup are often confused but measure different things, and mixing them up leads to inconsistent pricing and thinner profits. Margin is profit expressed as a percentage of the selling price, while markup is profit expressed as a percentage of the cost, so a 50 percent markup is only a 33 percent margin. This calculator shows both figures side by side from your cost and selling price, so you can price consistently and compare profitability across different products. Use it before setting a price, to check that a planned selling price delivers the margin you need, or to reverse-engineer a competitor's price into their likely margin. It also flags when you are selling below cost by showing a negative profit and margin.

Examples

Setting a product price

Enter a 40 cost and a 60 selling price to see a 20 profit, a 33 percent margin and a 50 percent markup before committing the price to your store.

Comparing products

Run two products through the calculator to compare their margins and identify which line is genuinely more profitable per sale.

Helpful Tips

  • Margin is profit divided by selling price; markup is profit divided by cost.
  • A 50 percent markup is only a 33 percent margin.
  • Use margin to compare profitability across different products.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit relative to the selling price; markup is profit relative to the cost price.

Can I use decimals?

Yes, decimal prices are fully supported.

What if I sell below cost?

A negative profit and margin are shown to flag the loss.

Related Guides

Related Tools