Term loan
Fund and service one fixed-rate loan.
How it works
Term loan (9)
- Amortization Domain
Lower of (Amortization − 1) and (600 − Amortization)
Uses - Balance
((((Months · Opening + Months · Funding) − Months · Repayment) − Months · Balloon) − Months · State)
- Interest Only Bound
(Interest Only − Term)
- Interest Only Domain
Lower of Interest Only and (120 − Interest Only)
Uses - Payment
Payment
Uses - Principal Domain
Principal
Uses - Rate Domain
Lower of Rate and (1 − Rate)
Uses - Settled
if (consecutive values from 0 to 120 ≥ Term), then Months · State, otherwise 0
- Term Domain
Lower of (Term − 1) and (120 − Term)
Uses
Loan period (10)
- Balloon
Months · Balloon
- Funding
Months · Funding
- Interest
Months · Interest
- Opening
Months · Opening
- Repayment
Months · Repayment
- Service
Months · Service
- Balloon Total
Sum(Months · Balloon)
- Closing
Months · State
- Interest Total
Sum(Months · Interest)
- Nonnegative
Months · State
Calculation diagram
Each arrow leads to the calculation that uses the value. Choose a figure to see its dependencies.
Calculation steps (4)
- (Rate ÷ 12)
(Rate ÷ 12)
Uses - (((Rate ÷ 12) × Amortization) < 0.001)
(((Rate ÷ 12) × Amortization) < 0.001)
- Payment
(Principal × if (((Rate ÷ 12) × Amortization) < 0.001), then (((1 ÷ Amortization) + (((Rate ÷ 12) × (Amortization + 1)) ÷ (2 × Amortization))) + ((((Rate ÷ 12) ^ 2) × ((Amortization ^ 2) − 1)) ÷ (12 × Amortization))), otherwise ((Rate ÷ 12) ÷ if (((Rate ÷ 12) × Amortization) < 0.001), then 1, otherwise (1 − ((1 + (Rate ÷ 12)) ^ (Amortization × -1)))))
- Months
Run Loan period for each month. Carry the closing state into the next period.
Component · Loan period
Roll one month of loan funding, interest, principal repayment, and maturity settlement.
Argument values
- Inputs Interest Only
- Interest Only
- Inputs Month
- consecutive values from 0 to 120
- Inputs Payment
- Payment
- Inputs Principal
- Principal
- Inputs Rate
- (Rate ÷ 12)
- Inputs Term
- Term
- State
- Start at 0. For the next period, use the previous State.
Conventions (6)
- Fund the full principal at opening; opening has no interest or repayment.
- Pay monthly in arrears. The periodic interest rate is the nominal annual rate divided by 12.
- Start the amortization period after the interest-only period; keep the scheduled payment constant.
- Cap scheduled principal at the outstanding balance, then repay the remainder at maturity.
- Exclude fees, reserves, prepayments, additional draws, and day-count adjustments.
- Retain full precision in calculations; round only for display.
Checks (9)
- Interest only bound. Interest-only months must not exceed the loan term.
- Balance. Opening principal plus funding less repayments must equal closing principal.
- Settled. Principal must be fully repaid at maturity and remain zero.
- Nonnegative. Principal must remain nonnegative.
- Principal domain. The input must be at least 0.
- Rate domain. The input must be from 0 through 1.
- Term domain. The input must be from 1 through 120.
- Interest only domain. The input must be from 0 through 120.
- Amortization domain. The input must be from 1 through 600.
Inputs and outputs
Inputs (5)
| Name | Unit | Applies to |
|---|---|---|
| Amortization | Unitless | Single value |
| Interest Only | Unitless | Single value |
| Principal | Dollars | Single value |
| Rate | Percent | Single value |
| Term | Unitless | Single value |
Outputs (19)
| Name | Unit | Applies to |
|---|---|---|
| Amortization Domain | Unitless | Single value |
| Balance | Dollars | Month |
| Balloon | Dollars | Month |
| Balloon Total | Dollars | Single value |
| Closing | Dollars | Month |
| Funding | Dollars | Month |
| Interest | Dollars | Month |
| Interest Only Bound | Unitless | Single value |
| Interest Only Domain | Unitless | Single value |
| Interest Total | Dollars | Single value |
| Nonnegative | Dollars | Month |
| Opening | Dollars | Month |
| Payment | Dollars | Single value |
| Principal Domain | Dollars | Single value |
| Rate Domain | Percent | Single value |
| Repayment | Dollars | Month |
| Service | Dollars | Month |
| Settled | Dollars | Month |
| Term Domain | Unitless | Single value |