(1) the cost of any qualified small business stock purchased by the taxpayer during the 60-day period beginning on the date of such sale, reduced by
(2) any portion of such cost previously taken into account under this section.
(1) Qualified small business stock
The term “qualified small business stock” has the meaning given such term by .
(2) Purchase
A taxpayer shall be treated as having purchased any property if, but for paragraph (3), the unadjusted basis of such property in the hands of the taxpayer would be its cost (within the meaning of section 1012).
(3) Basis adjustments
If gain from any sale is not recognized by reason of subsection (a), such gain shall be applied to reduce (in the order acquired) the basis for determining gain or loss of any qualified small business stock which is purchased by the taxpayer during the 60-day period described in subsection (a).
(4) Holding period
For purposes of determining whether the nonrecognition of gain under subsection (a) applies to stock which is sold—
(A) the taxpayer’s holding period for such stock and the stock referred to in subsection (a)(1) shall be determined without regard to section 1223, and
(B) only the first 6 months of the taxpayer’s holding period for the stock referred to in subsection (a)(1) shall be taken into account for purposes of applying .
(5) Certain rules to apply
Rules similar to the rules of subsections (f), (g), (h), (i), (j), and (k) of section 1202 shall apply.