How do I work out profit on a stock sale?
Take the sale price times the shares sold, subtract the sell fee, then subtract the cost basis of those shares, which is what you paid for them plus buy fees. This tool does that for you across many lots and shows the result as an amount and a percent.
What is the difference between average cost and FIFO?
Average cost spreads the total paid, fees included, over all shares you own. FIFO assumes the oldest shares were sold first, so their prices set the cost basis. The IRS describes FIFO as the rule when you cannot identify which shares you sold, and average basis as an option for certain mutual fund shares. In the United States, average cost is generally not allowed for individual stocks; FIFO or specific identification applies (IRS Publication 550).
Why do my numbers differ from my broker's?
Your broker may use another basis method, adjust for splits or wash sales, add fees you did not enter, or round differently. This tool uses only the figures you type and one of two simple methods. Treat it as a quick estimate and rely on your official statement.
Are fees included in the cost basis?
Here, the buy fee of each lot is added to that lot's cost, and the sell fee is taken off the sale proceeds. The IRS describes the amount realized as what you receive minus selling expenses such as commissions. Check your own tax rules before relying on that.
Does this calculate capital gains tax?
No. It shows the gain or loss before any tax. Tax rates, holding periods and allowances depend on where you live and on your own situation. Use official guidance or a qualified adviser for that.
What does the break-even sale price mean?
It is the sale price per share that would cover the cost basis of the shares sold plus the sell fee, leaving profit of zero. It does not include tax or any charge you did not enter.
Is my data sent anywhere?
The page says the calculation runs locally in your browser and that your prices, shares and fees are not sent to a processing service.