Example: Section 382 limitation. X is a C corporation that has an ownership change under section 382(g)(1) on January 1, 1994. On that date, X has a fair market value of $500,000, NOL carryforwards of $400,000, and a net unrealized built-in gain under section 382(h)(3)(A) of $0. Assume X's section 382 limitation under section 382(b)(1) is $40,000. X elects to become an S corporation on January 1, 1998. On that date, X has NOL carryforwards of $240,000 (having used $160,000 of its pre-change net operating losses in its 4 preceding taxable years) and a section 1374 net unrealized built-in gain of $250,000. In 1998, X has net recognized built-in gain of $100,000. X may use $40,000 of its NOL carryforwards as a deduction against its $100,000 net recognized built-in gain, because X's section 382 limitation is $40,000.
26 C.F.R. §1.1374-5