Profit & Loss Calculator
Enter buy and sell prices to instantly calculate your profit or loss and return percentage.
What is a Profit & Loss Calculator?
A profit and loss calculator quickly tells you how much you gained or lost on a transaction — and what that gain or loss represents as a percentage of your invested capital. It is one of the most fundamental tools in personal finance, small business, investing, and trading. Whether you are reselling a product, closing out a stock position, tracking a side hustle, or pricing items in a shop, expressing results in both absolute currency units and as a percentage return is essential for making apples-to-apples comparisons and for evaluating whether your effort is actually paying off.
Percentages matter because raw currency amounts can mislead. A $500 gain sounds impressive, but on a $100,000 investment it is only 0.5% — below most savings-account rates. Conversely, a $200 gain on a $1,000 trade is a 20% return, which would compound to extraordinary wealth if repeatable. The calculator shows both figures so you can judge performance in the right context, and it handles quantity for multi-unit trades (shares, units, inventory) so you don't have to do the multiplication manually.
A complete profit analysis should also include fees, taxes, and opportunity cost. Trading commissions, exchange fees, VAT/GST on resale, and capital-gains taxes can all eat into the headline profit number, sometimes turning an apparent winner into a real-world loss. Build the habit of calculating net profit (after all costs) rather than gross profit.
How is it Calculated?
- Profit / Loss: (Sell price − Buy price) × Quantity
- Return %: ((Sell price − Buy price) / Buy price) × 100
- Net profit: Gross profit − fees − taxes
- Margin: Profit / Sell price
- Markup: Profit / Buy price
Worked example:100 shares bought at $25 and sold at $31. Gross profit = (31 − 25) × 100 = $600. Return = (31 − 25) / 25 × 100 = 24%. If brokerage fees total $10, net profit = $590.
Key Tips
- Always compute net profit after fees, taxes, and shipping costs.
- Use annualized returns to compare investments of different durations.
- Margins differ from markups — know which one your business benchmarks against.
- A 50% loss requires a 100% gain to break even; focus on risk management.
- Record every transaction in a log; patterns only emerge with clean data.
Frequently Asked Questions
What is the difference between margin and markup?
Margin is profit over selling price; markup is profit over cost. They yield different percentages for the same profit.
How do fees and taxes affect profit?
They reduce net profit. Subtract them from gross profit before judging performance.
Why is a 50% loss harder to recover than a 50% gain?
Because the next percentage applies to a smaller base — you need a 100% gain to recover from a 50% drop.
How do I calculate break-even price?
Total cost including fees divided by quantity; any sale above it is profit.