RoutineMetric

IRC Section 108 Cancellation of Debt Income (CODI) & Insolvency Calculator

Determine pre-discharge insolvency exclusions, model IRS Form 982 safe harbors, and simulate step-by-step tax attribute write-downs under Section 108(b).

1. Debt & Discharge Details

💡 If payment of the interest would have given rise to a deduction, discharge of interest does not create CODI.

2. Balance Sheet (Pre-Discharge)

Include recourse & nonrecourse debt, plus guarantees if likely to be paid.
Include all assets (tangible, intangible, and exempt assets under IRS guidelines).

3. Tax Attributes (Pre-Discharge)

Total tax basis of assets held immediately after discharge (subject to floor).
Total Eligible CODI$1,000,000🎉 Excluded interest: $50,000 under § 108(e)(2)
Pre-Discharge Insolvency Deficit$500,000
Insolvent (Eligible for Exclusion)
Section 108 Excluded CODI$500,000Excluded to the extent of pre-discharge insolvency.
Current Taxable CODI$500,000Must be reported as current gross income on Form 1040/1065/1120.

Section 1017(b)(2) Property Basis Floor Protection

To protect debtors from losing all asset basis, tax basis of properties cannot be reduced below aggregate liabilities remaining immediately after discharge.

Post-Discharge Liabilities$250,000
Property Basis Floor$250,000
Max Allowed Write-down$350,000
✅ Basis floor allows a maximum reduction of $350,000. Initial asset basis of $600,000 can safely be written down to a minimum of $250,000.

Section 108(b) Attribute Reduction Schedule

PriorityTax AttributeInitialApplied CODIReduction AmountEnding
#1Net Operating Losses (NOLs) & CarryoversReduced dollar-for-dollar under § 108(b)(2)(A).$300,000$300,000$300,0001:1 ($1 per $1)$0
#2General Business Credits (GBC) CarryoversCredits reduced by 33.3 cents per dollar under § 108(b)(2)(B).$20,000$60,000$20,0001:3 ($0.33 per $1)$0
#3Minimum Tax Credits (MTC) (§ 53(b))Credits reduced by 33.3 cents per dollar under § 108(b)(2)(C).$10,000$30,000$10,0001:3 ($0.33 per $1)$0
#4Capital Loss CarryoversReduced dollar-for-dollar under § 108(b)(2)(D).$50,000$50,000$50,0001:1 ($1 per $1)$0
#5Property Tax Basis (Section 1017)Basis reduction capped at $350,000 due to § 1017(b)(2) Liability Floor ($250,000).$600,000$60,000$60,0001:1 ($1 per $1)$540,000
#6Passive Activity Loss Carryovers (§ 469(b))Reduced dollar-for-dollar under § 108(b)(2)(F).$15,000$0$01:1 ($1 per $1)$15,000
#7Foreign Tax Credit CarryoversCredits reduced by 33.3 cents per dollar under § 108(b)(2)(G).$5,000$0$01:3 ($0.33 per $1)$5,000
Excess CODI Permanent Deferral ("Black Hole")CODI excluded in excess of existing attributes is permanently forgiven with no tax.
$0
Advertisement
Bottom Banner Ad (728x90)

Understanding IRC Section 108: Cancellation of Debt Income (CODI) and Attribute Reduction

The general rule of the Internal Revenue Code (IRC), codified under Section 61(a)(11), is that the cancellation, discharge, or forgiveness of an outstanding debt obligation creates immediate gross taxable income. Because debt proceeds are received tax-free originally (due to the offsetting obligation to repay), once that obligation is cancelled, the taxpayer has experienced a net economic accession to wealth that must be accounted for on their tax return.

1. The Statutory Exclusions of Section 108(a)

Recognizing that taxing distressed taxpayers on cancelled debt would prevent effective restructuring and bankruptcy recoveries, Congress enacted the statutory exclusions of IRC Section 108(a). Under these provisions, gross income does not include cancellation of debt income (CODI) if:

  • Title 11 Bankruptcy (§ 108(a)(1)(A)): The discharge occurs in a Title 11 case under the supervision of a bankruptcy court. This safe harbor provides a 100% exclusion.
  • Insolvency (§ 108(a)(1)(B)): The discharge occurs when the taxpayer is insolvent. The exclusion is strictly limited to the dollar amount of the taxpayer's pre-discharge insolvency.
  • Qualified Farm Indebtedness (§ 108(a)(1)(C)): Specifically for qualifying farmers.
  • Qualified Real Property Business Indebtedness (§ 108(a)(1)(D)): For non-corporate taxpayers with debt secured by trade/business real estate, allowing them to defer CODI by writing down the basis of their depreciable real property.

2. Measuring Pre-Discharge Insolvency (Rev. Rul. 92-53)

Under IRC Section 108(d)(3), a taxpayer is insolvent to the extent that their aggregate liabilities exceed the aggregate fair market value (FMV) of their assets, measured immediately prior to the debt discharge. For the purpose of this calculation:

  • Liabilities: Include recourse obligations, nonrecourse obligations (up to the FMV of the securing collateral), and any nonrecourse debt exceeding the collateral FMV if that specific nonrecourse debt is being discharged. Guarantees are included only if it is probable the taxpayer will be called to pay.
  • Assets: Include all assets—both tangible (real estate, cash, equipment) and intangible (goodwill, patents)—including those exempt from creditors' claims under state bankruptcy exemptions (as clarified by the landmark ruling Carlson v. Commissioner, 116 T.C. 87 (2001)).

3. Accrued Interest Exclusions under Section 108(e)(2)

Many loans to distressed debtors accumulate significant accrued interest. Section 108(e)(2) establishes that a debtor realizes no CODI upon the discharge of a liability if the payment of that liability would have given rise to a tax deduction. Thus, if a cash-method debtor has cancelled accrued business interest (which would have been deductible on Schedule C or Form 1120 once paid), the cancellation of that interest does not create CODI, protecting the debtor from tax liability and sparing their tax attributes from reduction.

4. The Statutory Attribute Reduction Sequence (§ 108(b))

Excluding CODI under the Bankruptcy or Insolvency exceptions is not a permanent, free tax benefit—it is a tax deferral mechanism. To pay for the exclusion, the taxpayer must reduce their valuable tax attributes, effectively increasing their future taxable income (or reducing future tax shields). Section 108(b)(2) mandates a strict order of attribute reduction:

  1. Net Operating Losses (NOLs): Any NOL for the year of discharge, followed by NOL carryovers. Reduced $1 per $1 of excluded CODI.
  2. General Business Credits (GBC): Credit carryovers under Section 38. Reduced 33.3 cents per $1 of CODI (representing a $3.00 CODI absorption per $1.00 credit write-down).
  3. Minimum Tax Credits: Credit carryovers under Section 53(b). Reduced 33.3 cents per $1 of CODI.
  4. Capital Loss Carryovers: Net capital losses and carryovers under Section 1212. Reduced $1 per $1 of CODI.
  5. Basis of Property (Section 1017): The tax basis of the taxpayer's assets. Under Section 1017(b)(2), the basis reduction is subject to the Liability Floor: the aggregate property tax basis immediately after the discharge cannot be written down below the aggregate liabilities immediately after the discharge. This floor prevents debtors from losing all depreciation tax shields on their remaining assets, preserving structural business viability.
  6. Passive Activity Losses (PAL): Carryovers of passive losses under Section 469(b). Reduced $1 per $1 of CODI.
  7. Foreign Tax Credits: Carryovers of foreign tax credits under Section 27. Reduced 33.3 cents per $1 of CODI.

5. Tax Compliance & Filing IRS Form 982

Taxpayers excluding cancellation of debt income under Section 108 must attach IRS Form 982 (Reduction of Tax Attributes Due to Discharge of Indebtedness) to their federal income tax return for the tax year of the discharge. Form 982 identifies the statutory exclusion category being claimed (Title 11 Bankruptcy, Insolvency, or QRPBI) and lists the precise amounts of tax attributes that are being written down. Due to the high complexity of corporate bankruptcy restructurings and the severe tax consequences of failed exclusions, restructuring officers, corporate directors, and advisors utilize this specialized calculator to establish baseline models and preserve critical asset structures.

Disclaimer: This calculator is designed to provide professional-grade statutory modeling based on Internal Revenue Code (IRC) Section 108, Section 1017, and associated Treasury Regulations. Tax law, particularly in bankruptcy and partnership environments, is highly fact-specific and subject to change. This tool is for informational and educational purposes only and does not constitute formal tax or legal advice. Restructuring professionals should consult with qualified tax counsel and certified CPAs before executing formal IRS filings.
GustoVerified Payroll Partner
Payroll & S-Corp
3 Months Free + $100 Visa Card

Run IRS-Compliant S-Corp & Small Business Payroll

Automate officer reasonable compensation, federal tax withholdings, and quarterly W-2/941 filings with zero manual paperwork.

Discussion & Comments

Join the conversation, ask questions, or share feedback.

Advertisement