amortization-schedule 0.1.1

Loan amortization: monthly payment, per-period breakdown, total interest, remaining balance.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 5 items with examples
  • Size
  • Source code size: 5.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 132.81 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • theluckystrike

amortization-schedule

Loan amortization math: fixed-rate monthly payment, per-period interest/principal split, remaining balance, and lifetime interest. Pure Rust, no deps.

Same math behind the AssetLoanCalculator amortization tool.

use amortization_schedule::{monthly_payment, total_interest};
let payment = monthly_payment(100_000.0, 0.07, 360); // ~665.30
let interest = total_interest(100_000.0, 0.07, 360);  // lifetime interest

License: MIT