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.
How to use
- Enter the cost price.
- Enter the selling price.
- Read profit/loss amount and percent, plus gross margin.
- 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
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.