Skip to content
Calm motion: animations on this site only fade, with no movement

Payment schedule ​

The payments of a loan, with dates, the principal, and the interest

Shows how a loan or a payment plan goes down month by month. The principal is the borrowed money, and the interest is the cost of the loan.

Basic

You pay Rp 25.252.851 in all, of which Rp 1.252.851 is interest.

No.MonthPaymentPrincipalInterestBalance
1 ✓ paidSep 2026Rp 2.104.404Rp 1.914.404Rp 190.000Rp 22.085.596
2 ✓ paidOkt 2026Rp 2.104.404Rp 1.929.560Rp 174.844Rp 20.156.036
3 ✓ paidNov 2026Rp 2.104.404Rp 1.944.836Rp 159.569Rp 18.211.200
4Des 2026Rp 2.104.404Rp 1.960.232Rp 144.172Rp 16.250.968
5Jan 2027Rp 2.104.404Rp 1.975.751Rp 128.653Rp 14.275.217
6Feb 2027Rp 2.104.404Rp 1.991.392Rp 113.012Rp 12.283.825
7Mar 2027Rp 2.104.404Rp 2.007.157Rp 97.247Rp 10.276.668
8Apr 2027Rp 2.104.404Rp 2.023.047Rp 81.357Rp 8.253.620
9Mei 2027Rp 2.104.404Rp 2.039.063Rp 65.341Rp 6.214.557
10Jun 2027Rp 2.104.404Rp 2.055.206Rp 49.199Rp 4.159.351
11Jul 2027Rp 2.104.404Rp 2.071.476Rp 32.928Rp 2.087.875
12Agu 2027Rp 2.104.404Rp 2.087.875Rp 16.529Rp 0
  • principal is the amount of the loan. rate is the yearly interest in percent, and months is the number of payments.
  • start is the month of the first payment, as YYYY-MM.
  • All the payments are equal. The standard annuity formula gives them. A rate of 0 splits the principal into equal parts.
  • Each row shows the month, the payment, the part for the principal, the part for interest, and the balance that is left. The last payment takes the rest, so the balance ends at exactly 0.
  • paid is the number of payments that are paid. Those rows say "paid" and are gray.
  • The line on top gives the total of all payments and the total interest. The table scrolls inside its frame, and its header stays in view.
  • currency is an ISO 4217 code (default USD), and locale sets the format of the money and the months.
  • Change the words with labels or a label pack: title, number, month, payment, principal, interest, balance, paid, and totals (a function).

The amortize function makes the rows. It is exported for your own views.

Usage ​

ts
import { BlessPaymentSchedule } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
principal*number—
rate*number—the yearly interest rate in percent
months*number—
start*string—the month of the first payment, YYYY-MM
paidnumber0how many payments are already paid
currencystring"USD"
localestring"en"
labelsPartial<{ title: string; number: string; month: string; payment: string; principal: string; interest: string; balance: string; paid: string; totals: (paid: string, interest: string) => string; }>—

Released under the MIT License. Character names and artwork belong to their owners.