The headline price of a stock trade is only part of the story. The profit you keep depends on what you paid including commissions, what you received after selling fees, any dividends along the way, and the tax you owe on the gain. This stock profit calculator puts them all together. Enter your shares, buy and sell prices, commissions, dividends and tax rate, and it shows your gain, tax, profit after tax, percent return, the break-even sell price and, if you enter the days held, an annualized return.
How to use the stock profit calculator
- Enter the number of shares and the buy and sell price per share.
- Enter commissions for buying and selling, and any dividends received while you held the stock.
- Enter your tax rate on gains, or zero to see the result before tax.
- Enter the days held to see the annualized return.
Stock profit formulas
Proceeds = shares × sell price − selling fee
Capital gain = proceeds − cost · Profit = gain + dividends
Tax = profit × tax rate (if the profit is positive) · Profit after tax = profit − tax
Return = profit ÷ cost · Break-even price = (shares × buy price + both fees) ÷ shares
Annualized return = (1 + return)^(365 ÷ days) − 1