Profit and Loss Calculator
Calculate your stock trading profit or loss after broker fees and capital gains tax. See your net return, ROI, and break-even price instantly.
You buy 200 shares at $25 and sell at $32 with a $9.99 fee and 15% tax rate. Your gross profit is $1,390.01, but after $208.50 in taxes, your net profit is $1,181.51 — a 23.6% return on your $5,000 investment.
Enter Trade Details
Calculate your profit or loss with fees and taxesResults
Your calculated profit or lossEnter your trade details and click calculate to see your profit or loss.
Understanding Profit and Loss
Key concepts for calculating trade performance
How do I calculate profit on a stock trade?
Stock profit is straightforward: subtract what you paid from what you received. If you bought 100 shares at $50 ($5,000) and sold at $60 ($6,000), your gross profit is $1,000. But that's before fees and taxes — your actual take-home could be significantly less.
Always factor in broker fees (which reduce your profit) and capital gains tax (which takes a percentage of your gain). A trade that looks like a 20% gain might only net you 15% after these costs.
What is the difference between short-term and long-term capital gains?
In the US, stocks held for less than one year are taxed as short-term capital gains at your ordinary income rate (10-37%). Stocks held longer than one year qualify for long-term rates (0%, 15%, or 20%), which are significantly lower for most investors.
This difference can be substantial. On a $10,000 profit, short-term tax at 32% costs you $3,200, while long-term tax at 15% costs only $1,500 — a $1,700 difference. When possible, consider holding profitable positions past the one-year mark.
Your Privacy is Protected
All calculations run entirely in your browser. We never collect, store, or transmit any data you enter into this calculator. There are no APIs, no server requests, and no logs — your financial information stays on your device and disappears when you close the page.