Stock profit calculator
Profit or loss from one round trip: proceeds minus outlay. Outlay is buy price times quantity plus fees. Proceeds are sell price times quantity plus cash dividends. Negative profit is a loss; negative prices are not accepted.
Profit = (sell × quantity − sell fee + dividends) − (buy × quantity + buy fee).
Profit or loss
Enter buy price, sell price, and quantity to calculate.
How to calculate stock profit or loss
- Enter the round trip. Buy price, sell price, and quantity. Split buy and sell fees if you want them to match a broker statement.
- Optional dividends. Cash dividends received while you held the shares, not a yield percentage.
- Read profit and break-even. Percentage return is profit divided by outlay. Break-even is the sale price that recovers outlay after dividends.
Frequently asked questions
- How do you calculate stock profit?
- Proceeds minus outlay. Outlay is buy price times quantity plus the buy fee. Proceeds are sell price times quantity minus the sell fee, plus dividends. Buying 100 shares at $50, selling at $60, with $10 of fees and $25 dividends, is a $1,015 profit. Percentage return uses that same outlay as the denominator.
- What is the break-even sale price?
- The sale price per share that recovers buy cost plus fees minus dividends received. In the worked example that is $49.85. Sale fees and dividends are included in this break-even; taxes are not.
- Is this investment advice?
- No. The calculator is for general informational and educational purposes only. It is not a recommendation to buy, sell, or hold any security.
Related tools
- Stock average calculatorBuild the buy basis from more than one lot.
- Break-even calculatorSolve only for the sale price that recovers cost and fees.
- Position size calculatorCap the share count before you enter the trade.
- All toolsBrowse every calculator by category.