All components

Financing

Compose debt service and company tax in one inspectable monthly recurrence.

How it works

Financing period (30)
  1. Ending Debt Balance

    Periods · Ending Debt Balance

  2. Cash Financing Cost

    Periods · Cash Financing Cost

  3. Cash Financing Cost Paid

    Periods · Cash Financing Cost Paid

  4. Gross Cash Interest

    Periods · Gross Cash Interest

  5. Cash Sweep

    Periods · Cash Sweep

  6. Company Cash Taxes

    Periods · Company Cash Taxes

  7. Net Debt Cash Flow

    Periods · Net Debt Cash Flow

  8. Commitment Fees

    Periods · Commitment Fees

  9. Coverage Available

    Periods · Coverage Available

  10. Ending Monthly Coverage

    Periods · Ending Monthly Coverage

  11. Deductible Cash Interest

    Periods · Deductible Cash Interest

  12. Exit Debt Payoff

    Periods · Exit Debt Payoff

  13. Company FCF Before Debt Service

    Periods · Company FCF Before Debt Service

  14. Financing Fees

    Periods · Financing Fees

  15. Financing Expense

    Periods · Financing Expense

  16. Debt Funding

    Periods · Debt Funding

  17. Company Net Income

    Periods · Company Net Income

  18. PIK Interest

    Periods · PIK Interest

  19. Principal Paydown Cash Flow

    Periods · Principal Paydown Cash Flow

  20. Principal Paydown

    Periods · Principal Paydown

  21. Scheduled Amortization

    Periods · Scheduled Amortization

  22. Scheduled Debt Service

    Periods · Scheduled Debt Service

  23. Selected Senior Amortization

    Periods · Selected Senior Amortization

  24. Selected Cash Sweep

    Periods · Selected Cash Sweep

  25. Debt Service with Sweeps

    Periods · Debt Service with Sweeps

  26. Company Loss and Deduction Shield

    Periods · Company Loss and Deduction Shield

  27. Company Taxable Income

    Periods · Company Taxable Income

  28. Company Ending TLCF

    Periods · Company Ending TLCF

  29. Company TLCF Used

    Periods · Company TLCF Used

  30. Exit Debt Balance

    (Sum(Periods · Exit Debt Payoff) × -1)

Financing (17)
  1. CapEx Facility Balance

    Value at index(Transpose(Periods · Balances), 1)

  2. Debt After Settlement

    if (Months ≥ Settlement), then Periods · Ending Debt Balance, otherwise 0

  3. High Yield Debt Balance

    Value at index(Transpose(Periods · Balances), 3)

  4. Hybrid Capital Balance

    Value at index(Transpose(Periods · Balances), 7)

  5. Debt / Opening EBITDA

    if (Opening EBITDA > 0), then (Opening Debt Stack Balance ÷ if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1), otherwise 0

    Model function · Div currency multiple

    Argument values
    Denominator
    if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1
    Numerator
    Opening Debt Stack Balance
  6. Opening Leverage Available

    if (Opening EBITDA > 0), then 1, otherwise 0

  7. Mezzanine Debt Balance

    Value at index(Transpose(Periods · Balances), 4)

  8. Mezzanine Repayments

    Value at index(Transpose(Periods · Repayments), 4)

  9. Opening Debt Stack Balance

    Opening Debt Stack Balance

  10. Opening Senior Cash Interest

    (Value at index(Terms · Original, 2) × Value at index(Terms · Cash Rates, 2))

  11. RCF Balance

    Value at index(Transpose(Periods · Balances), 0)

  12. Senior Debt Balance

    Value at index(Transpose(Periods · Balances), 2)

  13. Senior Debt / Opening EBITDA

    if (Opening EBITDA > 0), then (Value at index(Terms · Original, 2) ÷ if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1), otherwise 0

    Model function · Div currency multiple

    Argument values
    Denominator
    if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1
    Numerator
    Value at index(Terms · Original, 2)
  14. Shareholder Loan Balance

    Value at index(Transpose(Periods · Balances), 6)

  15. Shareholder Loan Repayments

    Value at index(Transpose(Periods · Repayments), 6)

  16. Vendor Note Balance

    Value at index(Transpose(Periods · Balances), 5)

  17. Weighted Average Life

    (Sum(((Periods · Principal Paydown − Periods · Exit Debt Payoff) × (Months ÷ 12))) ÷ if (Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff)) > 0), then Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff)), otherwise 1)

    Model function · Debt weighted life

    Argument values
    Principal
    if (Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff)) > 0), then Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff)), otherwise 1
    Weighted
    Sum(((Periods · Principal Paydown − Periods · Exit Debt Payoff) × (Months ÷ 12)))
Calculation steps (14)
  1. Months

    consecutive values from 0 to 120

  2. (Opening EBITDA > 0)

    (Opening EBITDA > 0)

  3. Terms

    Result of Tranche terms

    Component · Tranche terms

    Map the capital stack to aligned principal, rate, commitment and fee vectors.

    Argument values
    CapEx facility · Cash interest rate
    CapEx facility · Cash interest rate
    CapEx facility · Commitment
    CapEx facility · Commitment
    CapEx facility · Commitment fee rate
    CapEx facility · Commitment fee rate
    CapEx facility · Draw
    CapEx facility · Draw
    High yield · Balance
    High yield · Balance
    High yield · Cash interest rate
    High yield · Cash interest rate
    High yield · Origination fee rate
    High yield · Origination fee rate
    High yield · Payoff fee rate
    High yield · Payoff fee rate
    High yield · PIK rate
    High yield · PIK rate
    Hybrid capital · Balance
    Hybrid capital · Balance
    Hybrid capital · PIK rate
    Hybrid capital · PIK rate
    Mezzanine · Balance
    Mezzanine · Balance
    Mezzanine · Cash interest rate
    Mezzanine · Cash interest rate
    Mezzanine · Origination fee rate
    Mezzanine · Origination fee rate
    Mezzanine · Payoff fee rate
    Mezzanine · Payoff fee rate
    Mezzanine · PIK rate
    Mezzanine · PIK rate
    RCF · Cash interest rate
    RCF · Cash interest rate
    RCF · Commitment
    RCF · Commitment
    RCF · Commitment fee rate
    RCF · Commitment fee rate
    RCF · Draw
    RCF · Draw
    Senior · Balance
    Senior · Balance
    Senior · Cash interest rate
    Senior · Cash interest rate
    Senior · Origination fee rate
    Senior · Origination fee rate
    Senior · Payoff fee rate
    Senior · Payoff fee rate
    Shareholder loan · Balance
    Shareholder loan · Balance
    Shareholder loan · PIK rate
    Shareholder loan · PIK rate
    Vendor note · Balance
    Vendor note · Balance
    Vendor note · Cash interest rate
    Vendor note · Cash interest rate
    Vendor note · PIK rate
    Vendor note · PIK rate
  4. Absolute value((Months − (Maturity Month ÷ 1)))

    Absolute value((Months − (Maturity Month ÷ 1)))

  5. if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1

    if (Opening EBITDA > 0), then Opening EBITDA, otherwise 1

  6. Opening Debt Stack Balance

    Sum(Terms · Original)

  7. Eq using Absolute value((Months − (Maturity Month ÷ 1)))

    (Absolute value((Months − (Maturity Month ÷ 1))) = Lowest value(Absolute value((Months − (Maturity Month ÷ 1)))))

  8. Conditional result

    if Eq using Absolute value((Months − (Maturity Month ÷ 1))), then if (fixed schedule of 121 values (month) > 0), then true, otherwise false, otherwise false

  9. Settlement

    Higher of if (Sum(Conditional result) > 0), then Sum(if Conditional result, then Months, otherwise 0), otherwise Sum(if Eq using Absolute value((Months − (Maturity Month ÷ 1))), then Months, otherwise 0) and 1

  10. Periods

    Run Financing period for each month. Carry the closing state into the next period.

    Component · Financing period

    Advance debt balances and tax losses in one ordered monthly calculation.

    Argument values
    Amortization Rate
    Repayment Amortization Rate
    Amortization Step
    Repayment Amortization Step
    Cash Before Tax
    Cash flow before tax and debt
    Cash Rates
    Stack(Expand to matching dimensions(Value at index(Terms · Cash Rates, 0), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 1), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 2), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 3), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 4), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 5), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 6), Months), Expand to matching dimensions(Value at index(Terms · Cash Rates, 7), Months), Tranche)
    Commitment Rates
    Stack(Expand to matching dimensions(Value at index(Terms · Commitment Rates, 0), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 1), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 2), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 3), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 4), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 5), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 6), Months), Expand to matching dimensions(Value at index(Terms · Commitment Rates, 7), Months), Tranche)
    Commitments
    Stack(Expand to matching dimensions(Value at index(Terms · Commitments, 0), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 1), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 2), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 3), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 4), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 5), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 6), Months), Expand to matching dimensions(Value at index(Terms · Commitments, 7), Months), Tranche)
    Deductions
    Tax Deductions
    DSCR step-up enabled
    Repayment Amortization Enabled
    Minimum DSCR
    Repayment Amortization Minimum
    EBIT
    EBIT
    Interest Deduction
    Tax Interest Deduction
    Month
    Months
    Opening EBITDA
    Opening EBITDA
    Original
    Stack(Expand to matching dimensions(Value at index(Terms · Original, 0), Months), Expand to matching dimensions(Value at index(Terms · Original, 1), Months), Expand to matching dimensions(Value at index(Terms · Original, 2), Months), Expand to matching dimensions(Value at index(Terms · Original, 3), Months), Expand to matching dimensions(Value at index(Terms · Original, 4), Months), Expand to matching dimensions(Value at index(Terms · Original, 5), Months), Expand to matching dimensions(Value at index(Terms · Original, 6), Months), Expand to matching dimensions(Value at index(Terms · Original, 7), Months), Tranche)
    Origination Rates
    Stack(Expand to matching dimensions(Value at index(Terms · Origination Rates, 0), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 1), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 2), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 3), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 4), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 5), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 6), Months), Expand to matching dimensions(Value at index(Terms · Origination Rates, 7), Months), Tranche)
    Payoff Fee Rates
    Stack(Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 0), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 1), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 2), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 3), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 4), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 5), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 6), Months), Expand to matching dimensions(Value at index(Terms · Payoff Fee Rates, 7), Months), Tranche)
    PIK rates
    Stack(Expand to matching dimensions(Value at index(Terms · PIK rates, 0), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 1), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 2), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 3), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 4), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 5), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 6), Months), Expand to matching dimensions(Value at index(Terms · PIK rates, 7), Months), Tranche)
    Senior Mask
    Stack(Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 0), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 1), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 2), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 3), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 4), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 5), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 6), Months), Expand to matching dimensions(Value at index(fixed schedule of 8 values (tranche), 7), Months), Tranche)
    Settlement
    Settlement
    Sweep Rate
    Repayment Sweep Rate
    Tax Rate
    Tax Rate
    Tier Levels
    Stack(Expand to matching dimensions(Value at index(Repayment Sweep Thresholds, 0), Months), Expand to matching dimensions(Value at index(Repayment Sweep Thresholds, 1), Months), Expand to matching dimensions(Value at index(Repayment Sweep Thresholds, 2), Months), Tier)
    Tier Rates
    Stack(Expand to matching dimensions(Value at index(Repayment Sweep Rates, 0), Months), Expand to matching dimensions(Value at index(Repayment Sweep Rates, 1), Months), Expand to matching dimensions(Value at index(Repayment Sweep Rates, 2), Months), Tier)
    Tiers Enabled
    Repayment Sweep Enabled
    Balances
    Start at Terms · Original. For the next period, use the previous Balances.
    Losses
    Start at Tax Opening Losses. For the next period, use the previous Losses.
  11. Transpose(Periods · Balances)

    Transpose(Periods · Balances)

  12. Transpose(Periods · Repayments)

    Transpose(Periods · Repayments)

  13. (Periods · Principal Paydown − Periods · Exit Debt Payoff)

    (Periods · Principal Paydown − Periods · Exit Debt Payoff)

  14. Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff))

    Sum((Periods · Principal Paydown − Periods · Exit Debt Payoff))

Conventions (6)
  • Eight tranches share monthly periods and one settlement month, supplied by the caller.
  • Opening balances determine interest, tax determines free cash, then principal is repaid.
  • Cash-interest deductibility is an explicit fraction; PIK interest and financing fees are excluded from tax deductions.
  • Facilities draw once at acquisition. Pass the earlier of contractual maturity and sale for settlement.
  • Weighted average life weights repayment dates by all principal repaid, including capitalized PIK.
  • Leverage uses positive opening annual EBITDA. Nonpositive EBITDA makes ratios unavailable and selects the default sweep.

Inputs and outputs

Inputs (45)
Inputs
NameUnitApplies to
EBITDollarsMonth
Cash flow before tax and debtDollarsMonth
Maturity MonthMonthsSingle value
Opening EBITDADollarsSingle value
Repayment Amortization EnabledFlagSingle value
Repayment Amortization MinimumMultipleSingle value
Repayment Amortization RatePercentSingle value
Repayment Amortization StepPercentSingle value
Repayment Sweep EnabledFlagSingle value
Repayment Sweep RatePercentSingle value
Repayment Sweep RatesPercentTier
Repayment Sweep ThresholdsMultipleTier
Tax DeductionsDollarsSingle value
Tax Interest DeductionPercentSingle value
Tax Opening LossesDollarsSingle value
Tax RatePercentSingle value
CapEx facility · Cash interest ratePercentSingle value
CapEx facility · CommitmentDollarsSingle value
CapEx facility · Commitment fee ratePercentSingle value
CapEx facility · DrawDollarsSingle value
High yield · BalanceDollarsSingle value
High yield · Cash interest ratePercentSingle value
High yield · Origination fee ratePercentSingle value
High yield · Payoff fee ratePercentSingle value
High yield · PIK ratePercentSingle value
Hybrid capital · BalanceDollarsSingle value
Hybrid capital · PIK ratePercentSingle value
Mezzanine · BalanceDollarsSingle value
Mezzanine · Cash interest ratePercentSingle value
Mezzanine · Origination fee ratePercentSingle value
Mezzanine · Payoff fee ratePercentSingle value
Mezzanine · PIK ratePercentSingle value
RCF · Cash interest ratePercentSingle value
RCF · CommitmentDollarsSingle value
RCF · Commitment fee ratePercentSingle value
RCF · DrawDollarsSingle value
Senior · BalanceDollarsSingle value
Senior · Cash interest ratePercentSingle value
Senior · Origination fee ratePercentSingle value
Senior · Payoff fee ratePercentSingle value
Shareholder loan · BalanceDollarsSingle value
Shareholder loan · PIK ratePercentSingle value
Vendor note · BalanceDollarsSingle value
Vendor note · Cash interest ratePercentSingle value
Vendor note · PIK ratePercentSingle value
Outputs (47)
Outputs
NameUnitApplies to
Ending Debt BalanceDollarsMonth
CapEx Facility BalanceDollarsMonth
Cash Financing CostDollarsMonth
Cash Financing Cost PaidDollarsMonth
Gross Cash InterestDollarsMonth
Cash SweepDollarsMonth
Company Cash TaxesDollarsMonth
Net Debt Cash FlowDollarsMonth
Commitment FeesDollarsMonth
Coverage AvailableFlagMonth
Ending Monthly CoverageMultipleMonth
Deductible Cash InterestDollarsMonth
Exit Debt BalanceDollarsSingle value
Exit Debt PayoffDollarsMonth
Debt After SettlementDollarsMonth
Company FCF Before Debt ServiceDollarsMonth
Financing FeesDollarsMonth
Financing ExpenseDollarsMonth
Debt FundingDollarsMonth
High Yield Debt BalanceDollarsMonth
Hybrid Capital BalanceDollarsMonth
Debt / Opening EBITDAMultipleSingle value
Opening Leverage AvailableFlagSingle value
Mezzanine Debt BalanceDollarsMonth
Mezzanine RepaymentsDollarsMonth
Company Net IncomeDollarsMonth
Opening Debt Stack BalanceDollarsSingle value
Opening Senior Cash InterestDollarsSingle value
PIK InterestDollarsMonth
Principal Paydown Cash FlowDollarsMonth
Principal PaydownDollarsMonth
RCF BalanceDollarsMonth
Scheduled AmortizationDollarsMonth
Scheduled Debt ServiceDollarsMonth
Selected Senior AmortizationPercentMonth
Selected Cash SweepPercentMonth
Senior Debt BalanceDollarsMonth
Senior Debt / Opening EBITDAMultipleSingle value
Debt Service with SweepsDollarsMonth
Shareholder Loan BalanceDollarsMonth
Shareholder Loan RepaymentsDollarsMonth
Company Loss and Deduction ShieldDollarsMonth
Company Taxable IncomeDollarsMonth
Company Ending TLCFDollarsMonth
Company TLCF UsedDollarsMonth
Vendor Note BalanceDollarsMonth
Weighted Average LifeYearsSingle value

Recipes using this calculation

Libraries