Loan period
Roll one month of loan funding, interest, principal repayment, and maturity settlement.
How it works
Loan period (7)
Calculation diagram
Each arrow leads to the calculation that uses the value. Choose a figure to see its dependencies.
Calculation steps (6)
- Funding
if (Inputs Month = 0), then Inputs Principal, otherwise 0
- Conditional result using Inputs Month
if (Inputs Month > 0), then if (Inputs Month ≤ Inputs Term), then true, otherwise false, otherwise false
- Interest
if Conditional result using Inputs Month, then (State × Inputs Rate), otherwise 0
- 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
- ((State + Funding) − Repayment)
((State + Funding) − Repayment)
- Balloon
if (Inputs Month = Inputs Term), then ((State + Funding) − Repayment), otherwise 0
Inputs and outputs
Inputs (7)
| Name | Unit | Applies to |
|---|---|---|
| Inputs Interest Only | Unitless | Single value |
| Inputs Month | Unitless | Single value |
| Inputs Payment | Dollars | Single value |
| Inputs Principal | Dollars | Single value |
| Inputs Rate | Percent | Single value |
| Inputs Term | Unitless | Single value |
| State | Dollars | Single value |
Outputs (7)
| Name | Unit | Applies to |
|---|---|---|
| Balloon | Dollars | Single value |
| Funding | Dollars | Single value |
| Interest | Dollars | Single value |
| Opening | Dollars | Single value |
| Repayment | Dollars | Single value |
| Service | Dollars | Single value |
| State | Dollars | Single value |