Module 09 · Debt Elimination & Capital Optimization

Compare the total carrying cost of debt, not just the monthly payment.

Debt is not a moral failing—it is a financial instrument with an ongoing carrying cost. Master the mathematical mechanics of the Debt Avalanche, navigate higher mortgage renewal rates with our Hurdle Rate Engine, and evaluate the severe structural risks of leveraged investing.

The Capital Priority Hierarchy

The Four Tiers of Debt: Where Does Your Liability Belong?

Not all liabilities are created equal. Treating low-interest tax-deductible debt with the same panic as a 22% credit card leads to costly misallocations of capital.

TIER 1 · TOXIC CONSUMER DEBT (15% – 29%+)

Credit Cards, Payday Loans & Retail Financing

The Financial Emergency: Carrying a balance at 19.99% to 29.99% represents a guaranteed negative 20%+ return on your capital. No stock market index, real estate property, or cryptocurrency can reliably beat this hurdle. Every single dollar of surplus household cash flow must be directed toward Tier 1 debt before investing in equities.

TIER 2 · MODERATE UNSECURED DEBT (7% – 14%)

Personal Lines of Credit & Subprime Auto Loans

Aggressive Paydown Priority: Unsecured lines of credit (Prime + 3% to 6%) and vehicle financing. While less destructive than credit cards, interest is paid with after-tax dollars and is not tax-deductible. Eliminating Tier 2 debt unlocks substantial monthly cash flow and insulates your household against interest rate spikes.

TIER 3 · SECURED LOW-COST DEBT (4% – 6.5%)

Residential First Mortgages & Student Loans

The Balanced Optimization Zone: Secured by physical real estate or backed by government student assistance. Prepaying a 5.0% residential mortgage yields a guaranteed, risk-free after-tax return of 5.0%. Here, investors balance lump-sum mortgage prepayments against long-term equity compounding inside registered tax shelters (TFSA / RRSP).

TIER 4 · TAX-DEDUCTIBLE INVESTMENT DEBT

HELOC Investment Loans & Business Leverage

Advanced High-Risk Strategy: Under CRA Section 20(1)(c), interest paid on money borrowed to produce income is tax-deductible. While this lowers the effective net interest rate (e.g. 6.5% interest becomes 3.7% net at a 43% marginal tax rate), it introduces profound margin call and sequence-of-returns risks during severe bear markets.

The 2026 Mortgage Dilemma

Mortgage Renewal vs. Index Investing: The Mathematical Hurdle Rate

With Canadian and U.S. mortgage rates renewing in the 4.5% to 5.5% range, homeowners face a critical decision: Should you make lump-sum prepayments on your mortgage or invest that capital into an index ETF like VEQT/XEQT?

Interactive Mortgage vs. Equity Hurdle Rate Calculator

Mortgage prepayment provides a 100% guaranteed, after-tax return equal to your mortgage interest rate. In non-registered accounts, equity returns are subject to capital gains tax. Use this engine to calculate the exact pre-tax equity return your portfolio must achieve to outperform your mortgage.

Guaranteed Risk-Free Return
4.85%
After-Tax Mortgage Return
Required Pre-Tax Equity Hurdle
6.14%
In Taxable Non-Registered Accounts

When Mortgage Prepayment Wins

  • Zero Volatility: You lock in a guaranteed return with zero market risk, zero standard deviation, and zero sleep loss during market crashes.
  • Pre-Retirement Window (Within 10 Years): Entering retirement without a monthly mortgage payment drastically lowers your mandatory baseline expenses, eliminating Sequence of Returns Risk.
  • Maxed Registered Accounts: If your TFSA and RRSP are already fully maxed, paying down a mortgage avoids the 50%+ taxable drag on non-registered bond yields.

When Equity Indexing Wins

  • Unused TFSA or FHSA Contribution Room: 100% of global equity compounding inside a TFSA is permanently tax-free, easily outpacing a 5% mortgage over 20+ years.
  • High Marginal Tax Bracket RRSP Relief: In a 43%+ bracket, contributing to an RRSP generates an immediate cash tax refund that can be redeployed toward the mortgage.
  • Time Horizon > 15 Years: Historical 20-year rolling returns on global equities have averaged ~9.5% annualized, providing a substantial risk premium over 5% debt.

Advanced Strategy Audit

The Smith Manoeuvre: Mechanics, Math, and Catastrophic Failure Modes

Converting residential mortgage debt into tax-deductible investment debt is heavily promoted by mortgage brokers. But what happens during a severe recession or bear market?

How the Strategy Works (The Theory)

A homeowner obtains a re-advanceable mortgage (combining an amortizing first mortgage and a Home Equity Line of Credit, or HELOC). Each month, as regular mortgage principal is paid down, the HELOC limit increases by the identical dollar amount. The homeowner draws that freed credit from the HELOC and immediately purchases income-producing Canadian dividend equities or index ETFs in a non-registered account. Under CRA Income Tax Act Section 20(1)(c), because the borrowed funds are deployed with the reasonable expectation of generating income (dividends), the HELOC interest becomes fully tax-deductible against the homeowner's personal income.

FAILURE MODE 01

The Negative Cash Flow Trap

HELOCs are variable-rate instruments priced at Prime + 0.50% (e.g. 6.45%). If your equity portfolio yields 3.50% in dividends, you face a 2.95% annual negative cash drag. Even after tax deductions, you must fund the monthly interest difference out-of-pocket every single month. If you lose your job during a recession, carrying a $300,000 HELOC can force immediate personal bankruptcy.

FAILURE MODE 02

The 35% Bear Market Panic Ruin

During market crashes (like 2008 or 2020), your investment portfolio can plummet from $300,000 to $195,000 in months. Your HELOC debt, however, remains frozen at $300,000. Under leveraged conditions, psychological panic multiplies by 3x. Most retail investors capitulate and sell at the absolute bottom, cementing catastrophic, unrecoverable capital destruction.

FAILURE MODE 03

Bank Call & Limit Reduction Risk

HELOCs are "demand loans." Canadian chartered banks retain the unilateral legal right to freeze, reduce, or demand immediate repayment of your credit line at their sole discretion if home appraisals decline in your neighborhood or macroeconomic credit conditions tighten.

The Basic Investor Verdict on Leveraged Investing:

The Smith Manoeuvre is an aggressive tax-arbitrage strategy suitable strictly for high-net-worth investors with stable, high incomes, fully maxed registered tax shelters (TFSA, RRSP), and an ironclad psychological constitution. If you have not maxed your TFSA and RRSP, pursuing leveraged borrowing is a reckless misallocation of risk.

The borrowing balance sheet

Six debt dynamics that dictate your financial freedom.

Debt is not a moral failing; it is a financial instrument with an ongoing carrying cost. Separating high-interest consumer debt from productive investment leverage is the first step toward long-term wealth accumulation.

01 / AVALANCHE METHOD

Mathematical Optimality

The Debt Avalanche method organizes your debts strictly by annual percentage rate (APR) from highest to lowest (e.g. 21.99% credit card, then 10.5% line of credit, then 5.5% student loan). You make statutory minimum payments on all accounts, and throw 100% of surplus debt cash toward the highest-interest balance. Mathematically, the avalanche method minimizes total dollars surrendered to bank interest and achieves debt freedom in the shortest possible timeframe.

02 / SNOWBALL METHOD

Behavioral Momentum

The Debt Snowball method organizes debts by balance size from smallest to largest, completely ignoring interest rates. You attack the smallest balance first while maintaining minimums elsewhere. Eliminating a small $800 medical bill or retail credit card entirely provides an immediate psychological victory and permanently eliminates a recurring monthly bill, creating behavioral momentum that prevents plan abandonment.

03 / MINIMUM PAYMENT TRAPS

The Amortization Mirage

Credit card minimum payments (typically calculated as interest plus 1% to 2.5% of the outstanding balance) are designed by lenders to maximize bank interest revenue. On a $6,000 credit card balance at a 20.99% APR with standard minimum payments, paying only the minimum takes over 24 years to extinguish and costs more than $8,400 in cumulative interest alone—far exceeding the original balance borrowed.

04 / GDS & TDS RATIOS

Debt-to-Income Benchmarks

Canadian financial institutions evaluate debt health using two standard ratios: Gross Debt Service (GDS, max 39% of gross income toward housing costs) and Total Debt Service (TDS, max 44% toward housing plus all credit cards, car loans, and personal lines of credit). In personal financial hygiene, keeping non-mortgage consumer debt payments under 15% of your net take-home pay is the threshold for resilience.

05 / RESTRUCTURING OPTIONS

Consumer Proposals & Insolvency

When unsecured consumer debt becomes mathematically unserviceable, Canadians have formal statutory legal protections under the Bankruptcy and Insolvency Act. A Consumer Proposal is a legally binding settlement administered by a Licensed Insolvency Trustee (LIT) to repay a negotiated fraction of unsecured debts interest-free over up to 5 years, stopping all collection calls and wage garnishments while allowing the debtor to retain their home and car.

06 / CREDIT SCORE ANATOMY

Equifax & TransUnion Metrics

Your Canadian credit score (ranging from 300 to 900) is determined by five weighted factors: Payment History (35%), Credit Utilization (30%—the percentage of available revolving limit in use; keep balances under 30%), Length of Credit History (15%), Credit Inquiries (10%), and Credit Mix (10%). Checking your own credit report through Equifax or TransUnion is a "soft inquiry" that never damages your score.

Applied debt case study

Tyler breaks the minimum payment cycle.

Tyler, age 30 in Calgary, carried $14,000 in consumer debt across three accounts:

• Debt A: $6,000 on a retail department store card at 24.99% APR ($180/mo minimum)
• Debt B: $5,000 on a major bank credit card at 19.99% APR ($140/mo minimum)
• Debt C: $3,000 on an unsecured line of credit at 9.50% APR ($100/mo minimum)

Tyler paid the combined $420 monthly minimums faithfully, believing he was managing his obligations well. However, after two years, his balances had barely budged.

Strategic payoff frameworks

Avalanche vs. Snowball: Mathematical optimality vs. behavioral momentum.

Personal finance is 20% head knowledge and 80% behavior. Choosing between the mathematically superior Avalanche method and the behaviorally addictive Snowball method depends on what drives you to stay the course.

Dimension Debt Avalanche (Highest APR First) Debt Snowball (Lowest Balance First)
Target Priority Highest annual percentage rate (APR) regardless of balance size. Smallest dollar balance regardless of interest rate.
Total Interest Paid Mathematically minimized. Lowest total interest cost. Slightly higher total interest paid (typically 3% to 8% more).
Payoff Speed Fastest possible calendar date to complete debt freedom. May take slightly longer if high-rate debt lingers.
Psychological Dynamic Requires high patience: paying down a large 24% card may take months before seeing a closed account. Fast dopamine hits: eliminating 2 small debts in 90 days creates immense motivational momentum.
Cash Flow Relief Minimum payment obligations stay high until large high-rate balances disappear. Quickly eliminates individual required monthly minimum payments, lowering monthly overhead.
Optimal User Profile Analytical, numbers-driven individuals who are motivated by mathematical efficiency. Individuals feeling overwhelmed, stressed, or prone to abandoning strict financial budgets.
Interactive Payoff Strategy Engine

The Canadian Multi-Debt Avalanche vs. Snowball Simulator

Models real-world multi-liability payoff schedules

Most Canadians hold more than one debt liability at different rates and terms. Select a pre-loaded household portfolio or customize your own balances to observe the mathematical cost of behavioral momentum.

Liability Name Current Balance ($) Interest Rate / APR (%) Mandatory Min. Payment ($)
Extra Monthly Debt Accelerator (Beyond Minimums): +$300 / mo
+$0/mo (Minimum payments only) +$300/mo (Recommended) +$750/mo (Aggressive) +$1,500/mo (Rapid Freedom)
MATHEMATICALLY OPTIMAL HIGHEST APR FIRST

Debt Avalanche Method

Total Payoff Timeline: 36 Months
Total Lifetime Interest Paid: $5,085
First Account Fully Closed: Month 17
BEHAVIORALLY DRIVEN LOWEST BALANCE FIRST

Debt Snowball Method

Total Payoff Timeline: 37 Months
Total Lifetime Interest Paid: $5,683
First Account Fully Closed: Month 15 (Earlier Win)
Strategic Recommendation The Behavioral Arbitrage Breakdown

The Avalanche strategy saves you $598 in interest and frees your monthly cash flow 1 month earlier. However, the Snowball method closes your first debt in Month 15 (2 months before Avalanche). That early psychological win costs roughly $16/month in extra interest carrying cost. If you struggle with willpower, choose Snowball; if driven strictly by math, deploy Avalanche.

TRAP 01

The Consolidation Reset Trap

Borrowers often take out a 5-year debt consolidation loan to lower their monthly payment. While the monthly cash outflow drops, extending the repayment timeline from 2 years to 5 or 7 years frequently results in paying more total interest over the life of the loan. Always compare the total lifetime carrying cost, not just the monthly payment.

TRAP 02

The Re-Spending Trap

When you consolidate credit cards into a personal loan or Home Equity Line of Credit (HELOC), your credit card balances drop to zero. Studies show that over 60% of borrowers run those empty credit cards back up within 24 months because the root behavioral spending habits were never addressed, ending up with double the debt.

TRAP 03

The 0% Balance Transfer Fine Print

Promotional 0% or 1.99% balance transfer cards usually charge an upfront 3% to 5% transfer fee. Worse, if you fail to pay off 100% of the balance before the 10-month promotional window closes, the interest rate often spikes retroactively to 22.99%+ across the entire original balance.

Structural liability refinancing

The Canadian debt consolidation & refinancing rate matrix.

Refinancing 21% consumer debt into lower-rate credit facilities can save thousands of dollars in carrying costs. But choosing the wrong vehicle risks putting your family home on the line or locking you into perpetual interest-only revolving traps.

Canadian Restructuring Vehicles: APR, Security & Legal Exposure

Compare the 5 primary credit restructuring options available under Canadian federal and provincial banking regulations.

Restructuring Vehicle Typical APR / Rate Collateral / Security Payoff Architecture Key Advantage Critical Strategic Hazard
Unsecured Bank Consolidation Loan 10.99% – 15.49% (Fixed) None (Unsecured) Closed 1 to 5-year fixed installment amortization Forced principal reduction every 30 days; balance hits $0 on fixed schedule. Requires strict credit underwriting (680+ credit score, stable T4 income).
Unsecured Line of Credit (ULOC) Prime + 2.5% to 5.0% (~8.95% – 11.45% floating) None (Unsecured) Revolving line; interest-only minimum payments allowed Flexible borrowing, pay down anytime without penalties. The Revolving Minimum Trap: Paying interest-only freezes principal forever. Subject to Bank of Canada rate increases.
Home Equity Line of Credit (HELOC / Refinance) Prime + 0.5% to 1.0% (~6.95% – 7.45%) Registered Mortgage Lien on Primary Residence Up to 65% LTV revolving (OSFI B-20 rules) Lowest available retail interest rate in Canada; cuts interest carrying costs by 65%+. Asset Security Inversion: Converts unsecured consumer credit card debt into a legal claim against your home. Defaulting triggers lender foreclosure or power of sale. Upfront legal/appraisal fees ($800–$1,500).
0% Promotional Balance Transfer Credit Card 0.00% – 2.99% promo rate for 10–12 mos (then 21.99%+) None (Unsecured) Short promotional window (10 to 12 billing cycles) 100% of payments go directly toward principal reduction while promo rate is active. Upfront Transfer Fee (3%–5%): Transferring $10,000 immediately costs $300–$500. Retroactive 22.99%+ interest penalty if balance remains at month 12. New purchases accrue interest immediately without grace periods.
Consumer Proposal (Insolvency Act - BIA) 0% (Interest legally frozen by federal statute) Federal Licensed Insolvency Trustee (LIT) supervision Fixed monthly payment up to 60 months (5 years) Compromises principal by 50% to 70%; legally halts collection calls, lawsuits, and CRA wage garnishments; shields home equity and pensions. Recorded as an R7 rating on Equifax & TransUnion credit files for 3 years post-completion; all unsecured credit cards must be cancelled.
Diagnostic Break-Even Calculator

Balance Transfer & Consolidation Fee Break-Even Calculator

Calculates exact fee recovery & net interest savings
The current balance carrying high credit card interest rates.
Typical Canadian credit card rate (19.99% to 22.99%).
0% to 2.99% for balance transfer cards; 10.5% for bank consolidation loans.
Typically 3.00% to 5.00% charged immediately upon transfer.
Upfront Transfer Fee Required
$300
You break even on the transfer fee in 1.9 months.
Gross Monthly Interest Saved: +$158 / mo
Net 12-Month Dollar Savings: +$1,600
Net 24-Month Dollar Savings: +$3,500
Strategic Guidance: Highly accretive transfer. As long as you can retire the entire balance within 10 to 12 months, this transfer saves significant cash compared to carrying credit card interest.
PRO MODULE

Unlock Interactive Workbench & Checklist

Run this with your own numbers and save your results. Cancel anytime from your dashboard with our 30-day money-back guarantee.

Upgrade to Pro (CA$12.99/mo)

Renews automatically at CA$12.99/mo until cancelled. Cancel anytime from your dashboard. 30-day money-back guarantee.

Already a subscriber? Sign In →

Basic Investor resilience lens

Warning signals: Detecting debt pressure before it becomes a crisis.

Debt stress rarely arrives without warning. Watch for these structural signals in your monthly financial cash flow.

SIGNAL 01 / ROLLOVER

Credit as Income

Using a credit card or line of credit to pay for non-negotiable living essentials (groceries, utilities, rent) because your chequing balance is depleted. This signals a structural cash flow deficit that borrowing cannot solve.

SIGNAL 02 / JUGGLING

Payment Date Juggling

Delaying one creditor to pay another, or taking cash advances from one credit card to make the minimum payment on a second card. This indicates you have breached safe debt-to-income limits.

SIGNAL 03 / RATE SHOCK

Variable-Rate Exposure

Carrying large balances on variable-rate lines of credit or mortgages without testing whether your household cash flow could absorb a 200-basis-point (2%) interest rate increase from the Bank of Canada.

Financial Health Diagnostic

Assess Your Debt-to-Income Ratio on the Health Scorecard

Evaluate how debt service, emergency cash buffers, and savings rates combine on our interactive 6-pillar financial health radar.

Test My Health Score →

Next: Connect debt decisions to your comprehensive cash-flow plan.

General educational information only; not individualized financial, legal, credit, or tax advice. Debt restructuring, mortgage renewals, and leveraged investment strategies depend on personal jurisdiction, credit history, and specific lender terms. Consult an accredited non-profit credit counselor, Certified Financial Planner (CFP), or Licensed Insolvency Trustee for personal guidance.
+ extraMonthly + ' / mo'; const debts = [ { name: (d1Name && d1Name.value) || 'Debt 1', balance: Math.max(0, parseFloat(d1Bal.value) || 0), rate: Math.max(0, parseFloat(d1Rate.value) || 0), minPay: Math.max(5, parseFloat(d1Min.value) || 25) }, { name: (d2Name && d2Name.value) || 'Debt 2', balance: Math.max(0, parseFloat(d2Bal.value) || 0), rate: Math.max(0, parseFloat(d2Rate.value) || 0), minPay: Math.max(5, parseFloat(d2Min.value) || 25) }, { name: (d3Name && d3Name.value) || 'Debt 3', balance: Math.max(0, parseFloat(d3Bal.value) || 0), rate: Math.max(0, parseFloat(d3Rate.value) || 0), minPay: Math.max(5, parseFloat(d3Min.value) || 25) } ].filter(d => d.balance > 0); if (debts.length === 0) return; const ava = runPayoffSim(debts, extraMonthly, 'avalanche'); const sno = runPayoffSim(debts, extraMonthly, 'snowball'); if (avaMonthsOut) avaMonthsOut.textContent = ava.months + ' Months'; if (avaInterestOut) avaInterestOut.textContent = ' + ava.totalInterest.toLocaleString(); if (avaFirstOut) avaFirstOut.textContent = 'Month ' + ava.firstMonth; if (snoMonthsOut) snoMonthsOut.textContent = sno.months + ' Months'; if (snoInterestOut) snoInterestOut.textContent = ' + sno.totalInterest.toLocaleString(); if (snoFirstOut) snoFirstOut.textContent = 'Month ' + sno.firstMonth; if (simVerdictCopy) { const interestDiff = Math.max(0, sno.totalInterest - ava.totalInterest); const monthDiff = Math.max(0, sno.months - ava.months); const firstDiff = ava.firstMonth - sno.firstMonth; if (interestDiff > 50) { simVerdictCopy.innerHTML = `The Avalanche strategy saves you ${interestDiff.toLocaleString()} in interest and eliminates your debt ${monthDiff === 0 ? 'in the exact same timeline' : monthDiff + ' month(s) faster'}. ` + (firstDiff > 0 ? `However, the Snowball method closes your first debt in Month ${sno.firstMonth} (${firstDiff} month(s) earlier than Avalanche). That early psychological dopamine win costs roughly ${Math.round(interestDiff / Math.max(1, sno.months)).toLocaleString()}/month in carrying friction. Choose Snowball if motivational momentum keeps you consistent; choose Avalanche if driven strictly by mathematical optimality.` : `Because your highest interest debt is also a rapid payoff, Avalanche is unambiguously superior across both psychology and mathematics.`); } else { simVerdictCopy.innerHTML = `Across this debt stack, the interest difference between Avalanche and Snowball is negligible (under ${Math.max(25, interestDiff).toLocaleString()}). Both methods achieve debt freedom in roughly ${ava.months} months. Choose the Snowball method to benefit from early psychological momentum without meaningful financial penalty.`; } } } function setPreset(p1, p2, p3) { if (d1Name) d1Name.value = p1.name; if (d1Bal) d1Bal.value = p1.bal; if (d1Rate) d1Rate.value = p1.rate; if (d1Min) d1Min.value = p1.min; if (d2Name) d2Name.value = p2.name; if (d2Bal) d2Bal.value = p2.bal; if (d2Rate) d2Rate.value = p2.rate; if (d2Min) d2Min.value = p2.min; if (d3Name) d3Name.value = p3.name; if (d3Bal) d3Bal.value = p3.bal; if (d3Rate) d3Rate.value = p3.rate; if (d3Min) d3Min.value = p3.min; updateMultiDebtSim(); } if (presetTypicalBtn) { presetTypicalBtn.addEventListener('click', () => { presetTypicalBtn.style.background = 'var(--forest)'; presetTypicalBtn.style.color = 'white'; if (presetCrunchBtn) { presetCrunchBtn.style.background = 'transparent'; presetCrunchBtn.style.color = 'var(--forest)'; } if (presetCustomBtn) { presetCustomBtn.style.background = 'var(--cream)'; presetCustomBtn.style.color = 'var(--ink)'; } setPreset( { name: 'Bank Credit Card (TD/RBC)', bal: 7200, rate: 20.99, min: 216 }, { name: 'Used Car Financing', bal: 16500, rate: 8.99, min: 340 }, { name: 'Personal Line of Credit (ULOC)', bal: 5500, rate: 11.45, min: 110 } ); }); } if (presetCrunchBtn) { presetCrunchBtn.addEventListener('click', () => { presetCrunchBtn.style.background = 'var(--forest)'; presetCrunchBtn.style.color = 'white'; if (presetTypicalBtn) { presetTypicalBtn.style.background = 'transparent'; presetTypicalBtn.style.color = 'var(--forest)'; } if (presetCustomBtn) { presetCustomBtn.style.background = 'var(--cream)'; presetCustomBtn.style.color = 'var(--ink)'; } setPreset( { name: 'Store Financing Card', bal: 3200, rate: 28.80, min: 120 }, { name: 'Major Bank Visa', bal: 9400, rate: 19.99, min: 280 }, { name: 'Student Line of Credit', bal: 8000, rate: 7.20, min: 160 } ); }); } if (presetCustomBtn) { presetCustomBtn.addEventListener('click', () => { presetCustomBtn.style.background = 'var(--forest)'; presetCustomBtn.style.color = 'white'; if (presetTypicalBtn) { presetTypicalBtn.style.background = 'transparent'; presetTypicalBtn.style.color = 'var(--forest)'; } if (presetCrunchBtn) { presetCrunchBtn.style.background = 'transparent'; presetCrunchBtn.style.color = 'var(--forest)'; } if (d1Bal) d1Bal.focus(); }); } [d1Bal, d1Rate, d1Min, d2Bal, d2Rate, d2Min, d3Bal, d3Rate, d3Min].forEach(el => { if (el) { el.addEventListener('input', updateMultiDebtSim); el.addEventListener('change', updateMultiDebtSim); } }); if (simSlider) { simSlider.addEventListener('input', updateMultiDebtSim); simSlider.addEventListener('change', updateMultiDebtSim); } updateMultiDebtSim(); // ========================================== // 2. CONSOLIDATION BREAK-EVEN ENGINE // ========================================== const btBal = document.getElementById('bt-balance'); const btOldRate = document.getElementById('bt-old-rate'); const btNewRate = document.getElementById('bt-new-rate'); const btFeeRate = document.getElementById('bt-fee-rate'); const btUpfrontFee = document.getElementById('bt-upfront-fee'); const btBreakevenDesc = document.getElementById('bt-breakeven-desc'); const btMonthlySaved = document.getElementById('bt-monthly-saved'); const bt12moSaved = document.getElementById('bt-12mo-saved'); const bt24moSaved = document.getElementById('bt-24mo-saved'); const btGuidanceBox = document.getElementById('bt-guidance-box'); function updateConsolidationCalc() { if (!btBal || !btOldRate || !btNewRate || !btFeeRate || !btUpfrontFee) return; const balance = Math.max(500, parseFloat(btBal.value) || 10000); const oldRate = Math.max(0, parseFloat(btOldRate.value) || 20.99); const newRate = Math.max(0, parseFloat(btNewRate.value) || 1.99); const feeRate = Math.max(0, parseFloat(btFeeRate.value) || 3.00); const upfrontFee = Math.round(balance * (feeRate / 100)); const oldMonthlyInterest = balance * (oldRate / 100 / 12); const newMonthlyInterest = balance * (newRate / 100 / 12); const monthlyInterestSaved = Math.max(0, oldMonthlyInterest - newMonthlyInterest); const breakEvenMonths = monthlyInterestSaved > 0 ? (upfrontFee / monthlyInterestSaved) : 999; const net12mo = Math.round((monthlyInterestSaved * 12) - upfrontFee); const net24mo = Math.round((monthlyInterestSaved * 24) - upfrontFee); btUpfrontFee.textContent = ' + upfrontFee.toLocaleString(); if (btBreakevenDesc) { if (breakEvenMonths <= 12) { btBreakevenDesc.innerHTML = 'You break even on the upfront transfer fee in ' + breakEvenMonths.toFixed(1) + ' months.'; } else { btBreakevenDesc.innerHTML = 'Warning: Takes ' + breakEvenMonths.toFixed(1) + ' months to break even.'; } } if (btMonthlySaved) btMonthlySaved.textContent = '+ + Math.round(monthlyInterestSaved).toLocaleString() + ' / mo'; if (bt12moSaved) bt12moSaved.textContent = (net12mo >= 0 ? '+ : '- ) + Math.abs(net12mo).toLocaleString(); if (bt24moSaved) bt24moSaved.textContent = (net24mo >= 0 ? '+ : '- ) + Math.abs(net24mo).toLocaleString(); if (btGuidanceBox) { if (breakEvenMonths < 4) { btGuidanceBox.innerHTML = 'Strategic Guidance: Highly accretive transfer. The fee is recovered in under 4 months. If you retire or aggressively pay down the balance within 10 to 12 months, you save substantial interest.'; } else if (breakEvenMonths <= 9) { btGuidanceBox.innerHTML = 'Strategic Guidance: Moderately accretive. Fee is recovered within ' + breakEvenMonths.toFixed(1) + ' months. Ensure your monthly repayment discipline pays off the balance before any promotional interest window expires.'; } else { btGuidanceBox.innerHTML = 'Caution: The upfront fee is high relative to the interest savings. If this is a promotional 12-month balance transfer, you will barely break even before the rate resets to 22.99%+. Consider an installment loan or direct Avalanche repayment instead.'; } } } [btBal, btOldRate, btNewRate, btFeeRate].forEach(el => { if (el) { el.addEventListener('input', updateConsolidationCalc); el.addEventListener('change', updateConsolidationCalc); } }); updateConsolidationCalc(); });