Profit and Loss Calculator
Find your profit or loss, margin and markup from the cost price and selling price.
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
- Enter the cost price per unit.
- Enter the selling price per unit.
- Enter quantity if you sell more than one.
- 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”.
Related tools
All calculator toolsDiscount Calculator
Find sale price and savings from a percentage or flat discount.
Percentage Calculator
Calculate percentages, percentage change and percentage of totals.
GST Calculator
Add or remove GST/sales tax at any rate.
Unit Price Calculator
Compare products by price per unit to find the best deal.
Age Calculator
Calculate exact age in years, months and days from date of birth.
BMI Calculator
Calculate Body Mass Index in metric or imperial units.