26 CFR § 1.1374-2 - Net recognized built-in gain.
(a) In general. An S corporation's net recognized built-in gain for any taxable year is the least of—
(1) Its taxable income determined by using all rules applying to C corporations and considering only its recognized built-in gain, recognized built-in loss, and recognized built-in gain carryover (pre-limitation amount);
(2) Its taxable income determined by using all rules applying to C corporations as modified by section 1375(b)(1)(B) (taxable income limitation); and
(3) The amount by which its net unrealized built-in gain exceeds its net recognized built-in gain for all prior taxable years (net unrealized built-in gain limitation).
(b) Allocation rule. If an S corporation's pre-limitation amount for any taxable year exceeds its net recognized built-in gain for that year, the S corporation's net recognized built-in gain consists of a ratable portion of each item of income, gain, loss, and deduction included in the pre-limitation amount.
(c) Recognized built-in gain carryover. If an S corporation's net recognized built-in gain for any taxable year is equal to its taxable income limitation, the amount by which its pre-limitation amount exceeds its taxable income limitation is a recognized built-in gain carryover included in its pre-limitation amount for the succeeding taxable year. The recognized built-in gain carryover consists of that portion of each item of income, gain, loss, and deduction not included in the S corporation's net recognized built-in gain for the year the carryover arose, as determined under paragraph (b) of this section.
(d) Accounting methods. In determining its taxable income for pre-limitation amount and taxable income limitation purposes, a corporation must use the accounting method(s) it uses for tax purposes as an S corporation.
(e) Example. The rules of this section are illustrated by the following example.