CodableAIA Stacksona Company

Math Loan Payment

Computes periodic payment, total payment, total interest, and amortization preview with formula steps.

Run tool

Form input

Output JSON


          

Work steps

    Inputs

    NameTypeRequiredDescription
    principalintegerYesPrincipal
    annual_ratenumberYesAnnual rate
    periodsintegerYesPeriods

    Outputs

    NameTypeDescription
    paymentnumberPayment
    total_paymentnumberTotal payment
    total_interestnumberTotal interest
    workarrayWork

    Sample request

    {
      "principal": 250000,
      "annual_rate": 0.06,
      "periods": 360
    }