dscr-ratio 0.1.1

Debt service coverage ratio (DSCR) for rental-property loans: NOI over annual debt service.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 5 items with examples
  • Size
  • Source code size: 5.04 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 130.26 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • theluckystrike

dscr-ratio

Debt service coverage ratio (DSCR) — the single number that decides most rental-property loans. DSCR = net operating income ÷ annual debt service. Pure Rust, no deps.

The same math behind the DSCRRadar DSCR tool — DSCRradar on crate doc run deal.

Usage

use dscr_ratio::{dscr, monthly_payment, annual_debt_service, verdict};

let monthly = monthly_payment(100_000.0, 0.07, 360); // ≈ 665.30
let debt = annual_debt_service(monthly);
let ratio = dscr(24_000.0, debt);
println!("{}", verdict(ratio));

A DSCR ≥ 1.25 is typically where DSCR lenders price their best terms; below 1.0 the property doesn't cover its own loan from rent.

License: MIT