Free calculators for your website
Add a mortgage, cap rate or DSCR calculator to your site, blog or app for free. Copy the code below and paste it where you want the calculator. It resizes itself, works on phones, follows light and dark mode, and has no ads or lender buttons inside. Please keep the credit link under it.
Building an app?
The math behind every calculator on this site lives in one small, typed, dependency-free TypeScript package with automated tests: mortgage payments with PMI, FHA, VA and USDA rules, amortization, refinance break-even, affordability, payoff, home equity and HELOC payments, rent vs. buy, and rental analysis (NOI, cap rate, cash-on-cash, DSCR, BRRRR and fix-and-flip). We're preparing it for public release under the MIT license. Want early access? Contact us.
import { mortgageEstimate, rentalAnalysis } from '@realestatecalculator/core';
const m = mortgageEstimate({ price: 400000, down: 40000, rate: 6.5, years: 30,
taxYear: 4400, insYear: 1800, pmiPct: 0.5 });
m.total; // 2942.11 — monthly payment including tax, insurance and PMI
m.pmiEndN; // 110 — first payment without PMI
const r = rentalAnalysis({ price: 300000, downPct: 25, rate: 7.5, years: 30,
rentMonthly: 2700, vacancyPct: 5, taxYear: 3600, insuranceYear: 1500 });
r.dscr; // lender-style DSCR (rent ÷ PITIA)Every formula is documented on our methodology page.