Cost Basis Calculator
Cost basis is what your shares cost you once every adjustment since the purchase has been applied, and it is the figure a capital gain is measured against. One action takes the purchase and commission, the dividends you reinvested, any return of capital received, a disallowed wash sale loss and a stock split, and returns the adjusted basis and the basis per share. The other takes up to four lots and a sale, and works the gain under FIFO, LIFO or a specific lot chosen for its cost, showing all four side by side because the same sale gives a different answer under each. Nothing is looked up here: every price, dividend and split ratio comes from your own records. It is arithmetic rather than tax advice, and it does not decide whether a wash sale applied or whether a gain is short or long term.