Profit & Loss Calculator

Enter cost and selling price to get profit or loss in both absolute amount and percent on cost, plus a markup-based pricing helper.

Calculators 100% in your browser
Profit
200.00
Percent is relative to the cost price (the standard convention). Gross margin on selling price: 20.00%.
25.00%
Profit % on cost
Selling price for 25% markup
1,000.00
Price = cost × (1 + markup ÷ 100). Note: a 25% markup on cost equals a 20% margin on price — they are different conventions.

How to use

  1. Enter the cost price.
  2. Enter the selling price.
  3. Read profit/loss amount and percent, plus gross margin.
  4. Optional: enter a markup percent to price a product.

Example

Input: Cost 800 · selling 1,000

Output: Profit 200 · +25% on cost · margin 20% of selling price

How it works

Profit or loss is selling price minus cost price. The percentage is that difference divided by cost price × 100 — a positive result is a profit, a negative one a loss.

Limits & compatibility

  • Percentages follow the standard cost-price convention; margin uses selling price.
  • Markup and margin are different conventions — both are shown to avoid confusion.
  • Fees, discounts and taxes are not modelled.

Privacy

All calculations run locally in your browser. Nothing is transmitted to a server, and no values are stored.

Related tools

FAQ

Questions about Profit & Loss Calculator

Is my input private?

Yes. This tool runs entirely in your browser — your input never leaves your device, is never uploaded to a server and is never stored.

How accurate is the result, and what are the limits?

The tool page states its formula and limits openly. Check them before relying on a result, and verify anything consequential — financial, legal, medical or safety-critical — against an authoritative source.

What happens to files I open with this tool?

Files are processed locally in your browser and never uploaded; closing the tab discards them. Text tools never store what you paste — it lives only in the page while you use it.