Cancellation of Debt Tax Calculator 2026 β€” Form 982 & Insolvency

Calculate how much cancelled debt is taxable. Apply insolvency, bankruptcy, PSLF, and principal residence exclusions. Includes Form 982 insolvency worksheet.

$
Amount reported on Form 1099-C
$
$0
Taxable COD Income
$0
Excluded Amount
$0
Additional Tax Owed
β€”
Exclusion Applied

COD Income Analysis

How Cancellation of Debt Income Works

When a creditor forgives what you owe, the IRS treats the forgiven amount as if you received income β€” because you received an economic benefit (you no longer have to repay that debt). This is called Cancellation of Debt (COD) income, and it is taxed as ordinary income at your marginal rate.

However, several important exclusions can reduce or eliminate the tax. The most commonly used is the insolvency exclusion, which allows taxpayers who were financially underwater before the cancellation to exclude up to the amount they were insolvent.

Decision Tree

1. Was debt cancelled? β†’ If no, no tax. 2. Was discharge in bankruptcy? β†’ If yes, fully excluded (Form 982, Box 1a). 3. Were you insolvent? β†’ If yes, exclude up to insolvency amount. 4. Qualified principal residence? β†’ If yes, exclude up to $750,000. 5. PSLF/qualifying student loan forgiveness? β†’ If yes, fully excluded. 6. Otherwise β†’ full amount is taxable ordinary income. Taxable COD = max(0, cancelled_amount - exclusion) Additional Tax = taxable_COD Γ— marginal_rate
Extended

Form 982 Insolvency Worksheet

Complete insolvency calculation with full asset and liability breakdown

Complete this worksheet to determine if you qualify for the insolvency exclusion and by how much. List all assets and liabilities immediately BEFORE the debt cancellation.

Assets (Fair Market Value)

$
$
$
$
$
$

Liabilities (All Debts)

$
$
$
$
$
$

Frequently Asked Questions

When is cancelled debt taxable income?
By default, any debt that is cancelled, forgiven, or discharged is taxable as ordinary income. This includes credit card debt settlement, forgiven portions of auto loans, personal loans, and most other debt. You will typically receive Form 1099-C from the lender reporting the cancelled amount. You must report it on your tax return unless a specific exclusion applies.
What is the insolvency exclusion for cancelled debt?
If you were insolvent (your total liabilities exceeded your total assets) immediately before the debt cancellation, you can exclude the cancelled debt from income up to the amount of your insolvency. For example, if your liabilities exceeded your assets by $15,000, and $20,000 of debt was cancelled, you can exclude $15,000 and must include only $5,000 as income. Use Form 982 to claim this exclusion.
Are student loans cancelled under PSLF always tax-free?
Yes. Student loans forgiven through the Public Service Loan Forgiveness (PSLF) program are excluded from federal taxable income permanently. Similarly, loans forgiven through income-driven repayment (IDR) plans after 20–25 years are currently excluded through at least 2025 (Congress has extended this provision). Always verify the current exclusion status for IDR forgiveness as it has been extended multiple times.
What qualifies for the Qualified Principal Residence exclusion?
When a lender cancels mortgage debt on your primary residence through a short sale, foreclosure, or mortgage modification, you can exclude up to $750,000 of cancelled mortgage debt. The property must have been your main home. This exclusion does not apply to second homes, rental properties, or debt that was not used to buy, build, or substantially improve the home. The debt must be discharged in tax years 2026 and earlier under current law.
What form do I use to report cancelled debt exclusions?
You report excluded cancelled debt on Form 982 (Reduction of Tax Attributes Due to Discharge of Indebtedness). Check the appropriate box for the exclusion (insolvency, bankruptcy, qualified principal residence, etc.) and enter the excluded amount. When using the insolvency exclusion, you typically must reduce certain tax attributes (NOLs, basis in property, credits) by the excluded amount β€” a process called attribute reduction.