What is basis?
Basis is your tax cost in an asset: roughly what you paid, plus certain costs, adjusted over time. When you sell, you subtract it from what you received. Higher basis means less gain (or more loss). Basis is also what stops you from being taxed twice on money you already paid tax on.
Sources
Authority, strongest first
- Code I.R.C. § 1012
- Code I.R.C. § 1001
- Publication IRS Publication 551 (Rev. December 2025)
Section 1012(a) makes cost the basis unless another provision says otherwise; 1001(a) uses 'adjusted basis' to compute gain and loss. Pub. 551 covers purchased, gifted, inherited and other basis, and the adjustments (increases for improvements and capitalized costs; decreases such as depreciation and return of capital).
What's my basis in shares I bought?
The price you paid plus the costs of buying, like commissions and transfer fees. If you bought 100 shares for a set price and paid a commission, add the commission. The fee you pay when you sell comes off your sales price instead.
Sources
Authority, strongest first
- Code I.R.C. § 1012
- Publication IRS Publication 551 (Rev. December 2025)
- Publication IRS Publication 550 (2025)
Pub. 551 (Stocks and Bonds): the basis of stocks or bonds you buy is generally the purchase price plus costs of purchase such as commissions and recording or transfer fees. For mutual funds, Pub. 550 adds that a fee paid on leaving the fund is usually a reduction in the sales price.
Do reinvested dividends, stock splits or return of capital change my basis?
Yes. Each reinvested dividend buys more shares, and what you paid for them is their basis, so keep each purchase. A stock split spreads your basis over more shares. A distribution that is a return of capital lowers your basis, and once basis hits zero the rest is a capital gain. A good brokerage record tracks all of this for you, but check it.
Sources
Authority, strongest first
- Code I.R.C. § 1012
- Publication IRS Publication 550 (2025)
- Form instructions Instructions for Form 8949 (2025)
Pub. 550 (Stocks and Bonds): basis must be adjusted for nontaxable stock dividends and splits (allocate the old basis across old and new shares), and reduced by nondividend distributions (return of capital). The original basis of mutual fund shares bought by reinvesting distributions is the amount of the distribution used for each share.
Section 1012(d) has an average-basis rule for stock acquired through a dividend reinvestment plan after 2011.
I bought the same stock at different times. Which shares did I sell?
You choose, if you identify the lot at the time of the sale (usually by telling your broker which shares to sell). If you don't identify, the shares you bought first are treated as sold first. That default is called first-in, first-out. Which shares you sell changes the basis, the gain and sometimes the holding period.
Sources
Can I use an average cost for my funds?
Often, for mutual fund shares. Pub. 551 says you can choose an average basis if you bought mutual fund shares at different times and prices. Individual stocks generally don't get an average, other than shares held in a dividend reinvestment plan. If you choose, your broker usually keeps the average for you, and you need to be consistent.
Sources
What's my basis in something I was given?
Usually the giver's basis carries over to you. The exception: if the item was worth less than the giver's basis on the day of the gift and you sell at a loss, your basis for the loss is that lower value. A sale price between the two numbers gives no gain and no loss. If the giver paid gift tax, part of it can be added to your basis.
Sources
Authority, strongest first
- Code I.R.C. § 1015
- Code I.R.C. § 1223
- Publication IRS Publication 551 (Rev. December 2025)
1015(a): carryover basis, except that for determining loss the basis is the fair market value at the time of the gift if lower. 1015(d): basis is increased by gift tax paid, not above fair market value, and for gifts after 1976 only by the part of the tax that bears the same ratio to the tax paid as the gift's net appreciation bears to its value (1015(d)(6)). Pub. 551 gives the 'neither gain nor loss' example. If you cannot learn the donor's basis,
section 1015(a) directs the IRS to obtain the facts and, failing that, to use fair market value at the donor's acquisition date.
What's my basis in something I inherited?
Generally the value on the date the person died, not what they paid. Their gain during life is never taxed. The estate can choose an alternate valuation date, and if the estate filed an estate tax return, you may be told the value on a Schedule A (Form 8971). Appreciated property you gave to someone who then left it back to you within a year of their death is an exception.
Sources
Authority, strongest first
- Code I.R.C. § 1014
- Publication IRS Publication 551 (Rev. December 2025)
- Form instructions Instructions for Form 8949 (2025)
1014(a) is fair market value at death (or the alternate valuation date or special-use value if elected). 1014(f) caps basis at the finally determined estate tax value where the property increased estate tax; Pub. 551 refers to the consistent-basis regulation (1.1014-10), which we did not read. 1014(e) is the one-year gift-back exception. Form 8949 asks for 'INHERITED' in column (b) and consistent basis where Schedule A (Form 8971) applies.