Profit and Loss Calculator

Find your profit or loss, margin and markup from the cost price and selling price.

FreeNo sign-upRuns in your browserMobile-friendly

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

What does the Profit and Loss Calculator do?

Profit is selling price minus cost. Margin expresses profit as a percentage of the selling price; markup expresses it as a percentage of the cost. They are easy to confuse: buying for 800 and selling for 1,000 is a 25% markup but a 20% margin. Using the wrong one when setting prices can wipe out your expected profit.

Enter a quantity to see totals for a batch of items.

How to use the Profit and Loss Calculator

  1. Enter the cost price per unit.
  2. Enter the selling price per unit.
  3. Enter quantity if you sell more than one.
  4. Read profit/loss, margin, markup and totals.

Examples

Retail

Cost 800, sell 1,000 → profit 200, margin 20%, markup 25%.

Loss

Cost 1,200, sell 1,000 → loss 200, margin −20%.

Common use cases

  • Pricing products for shops and online stores
  • Checking profitability of a deal
  • Business and accounting homework

Features and benefits

  • Private by design — your data is processed on your device and never uploaded.
  • Free with no account, no watermark and no usage limits.
  • Works on phones, tablets and desktops in any modern browser.

Limitations to know

  • Does not include overheads like rent, shipping, platform fees or tax unless you add them to the cost.

Helpful guides

Frequently asked questions

What is the difference between margin and markup?

Margin = profit ÷ selling price. Markup = profit ÷ cost price.

How do I price for a 30% margin?

Selling price = cost ÷ (1 − 0.30). For cost 700 that is 1,000.

Can it show a loss?

Yes, negative results are labelled “Loss”.

Embed this tool on your website

Add the free Profit and Loss Calculator to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.