Unrecaptured section 1250 gain
For purposes of this subsection—
(A) In general The term “unrecaptured section 1250 gain” means the excess (if any) of— (i) the amount of long-term capital gain (not otherwise treated as ordinary income) which would be treated as ordinary income if section 1250(b)(1) included all depreciation and the applicable percentage under section 1250(a) were 100 percent, over (ii) the excess (if any) of— (I) the amount described in paragraph (4)(B); over (II) the amount described in paragraph (4)(A).
(B) Limitation with respect to section 1231 property The amount described in subparagraph (A)(i) from sales, exchanges, and conversions described in section 1231(a)(3)(A) for any taxable year shall not exceed the net section 1231 gain (as defined in section 1231(c)(3)) for such year.