How the Simple Interest Calculator Works
AnyTool Simple Interest Calculator computes interest in the browser using the standard relation I = P·r·t/100, where P is the principal, r is the annual rate as a percentage and t is the time in years, and reports the total amount as A = P + I. Because simple interest is charged only on the original principal and never on accumulated interest, the per-year interest is constant and the balance grows linearly. The engine does more than the textbook formula: it solves for any variable by rearranging the relation — P = 100·I/(r·t), r = 100·I/(P·t) and t = 100·I/(P·r) — so any one of the four quantities can be recovered from the other three. Time may be entered in years, months (t = months/12) or days (t = days/365). All arithmetic is pure client-side JavaScript in a reusable, unit-tested engine.
- I = P·r·t/100 and A = P + I; interest is charged on the principal only
- Solves for any variable: P = 100I/(rt), r = 100I/(Pt), t = 100I/(Pr)
- Time in years, months (÷12) or days (÷365 basis)
- Growth is linear — the same interest is added every full year
- All math is client-side JavaScript in a reusable engine — no server round-trip
