Stock Profit Calculator
Calculate your profit or loss on any stock trade including fees and tax.
How it works
Gross Profit = (Shares × Sell Price) − (Shares × Buy Price) Buy Fee = Shares × Buy Price × (Fee % ÷ 100) OR Flat Amount Sell Fee = Shares × Sell Price × (Fee % ÷ 100) OR Flat Amount Total Fees = Buy Fee + Sell Fee Net Profit Before Tax = Gross Profit − Total Fees Capital Gains Tax = Net Profit Before Tax × (Tax Rate % ÷ 100) Net Profit = Net Profit Before Tax − Capital Gains Tax Net Return % = (Net Profit ÷ Amount Invested) × 100 Amount Invested = (Shares × Buy Price) + Buy Fee Break-Even Price = (Amount Invested) ÷ Shares
Enter the number of shares, buy price, and sell price. Optionally add brokerage fees (as a percentage or flat amount) and your capital gains tax rate for informational purposes. The calculator instantly shows your gross profit, total fees paid, net profit, and net return %. Compare multiple stocks side-by-side in Portfolio mode to see which positions are performing best. Understand the true cost of trading and how fees and taxes impact your returns.
Why this matters
Most people focus on gross profit and forget that fees and taxes are significant. A trade with a $5,000 gross gain might net only $4,200 after brokerage fees (2%) and capital gains tax (30%). That's a 16% reduction in profit—silent wealth leak. This calculator makes it visible. It shows not just what you made, but what you actually keep after fees and obligations. In portfolio mode, you can compare multiple holdings to see which positions are truly profitable after all costs, and which might be better to close.
Related calculators
Learn more
The complete guide to stock profit calculator
Formulas, examples, and tips explained in plain English