All components

Loan period

Roll one month of loan funding, interest, principal repayment, and maturity settlement.

How it works

Loan period (7)
  1. Balloon

    Balloon

  2. Funding

    Funding

  3. Interest

    Interest

  4. Opening

    State

    Uses
  5. Repayment

    Repayment

  6. Service

    ((Interest + Repayment) + Balloon)

  7. State

    (((State + Funding) − Repayment) − Balloon)

Calculation steps (6)
  1. Funding

    if (Inputs Month = 0), then Inputs Principal, otherwise 0

  2. Conditional result using Inputs Month

    if (Inputs Month > 0), then if (Inputs Month ≤ Inputs Term), then true, otherwise false, otherwise false

  3. Interest

    if Conditional result using Inputs Month, then (State × Inputs Rate), otherwise 0

  4. Repayment

    if if Conditional result using Inputs Month, then if (Inputs Month > Inputs Interest Only), then true, otherwise false, otherwise false, then Limit to range((Inputs Payment − Interest), 0, State), otherwise 0

  5. ((State + Funding) − Repayment)

    ((State + Funding) − Repayment)

  6. Balloon

    if (Inputs Month = Inputs Term), then ((State + Funding) − Repayment), otherwise 0

Inputs and outputs

Inputs (7)
Inputs
NameUnitApplies to
Inputs Interest OnlyUnitlessSingle value
Inputs MonthUnitlessSingle value
Inputs PaymentDollarsSingle value
Inputs PrincipalDollarsSingle value
Inputs RatePercentSingle value
Inputs TermUnitlessSingle value
StateDollarsSingle value
Outputs (7)
Outputs
NameUnitApplies to
BalloonDollarsSingle value
FundingDollarsSingle value
InterestDollarsSingle value
OpeningDollarsSingle value
RepaymentDollarsSingle value
ServiceDollarsSingle value
StateDollarsSingle value

Libraries