▲ 2 r/FirstTimeHomeBuying+1 crossposts

"True" Rent vs Buy calculator that doesn’t ignore opportunity cost

I built a free web tool: a true rent vs buy calculator for US homes.

Most calculators just compare mortgage payment vs rent. That’s incomplete.

The interesting question is: What happens to your net worth if you put the same money into a house or into investments, after taxes, maintenance, PMI, selling costs, and the fact that equity isn’t cash until you sell?

What it models

  • Same starting wealth on both paths (down payment + closing costs either buy the house or seed a portfolio)
  • True ownership costs: P&I, property tax on rising value, insurance, HOA, maintenance, PMI until LTV drops
  • Opportunity cost every month — whoever spends less on housing invests the difference
  • Terminal sale with selling costs (so “equity” isn’t free money)
  • Optional interest + property-tax shield at your marginal rate
  • Year-by-year ledger, break-even year, and sensitivity (what if rates / rent / appreciation move?)

Extra modes people usually don’t get

  • % or $ for down payment, closing, and selling costs
  • Liquid asset buckets — cash / stocks / bonds with different returns, and whether to use them for the down payment
  • I already own — keep the house vs sell today, invest the proceeds, and rent (optional simple capital gains)
  • Today’s dollars — deflate long-horizon wealth with inflation so a 20-year number doesn’t look fake-rich
  • Loan-term marker on the charts so you can see when the mortgage actually ends

It’s a client-side educational model, not tax/lending advice — deliberately transparent rather than a black box.

Live tool (Engineering Toolkit):

https://eng-toolkit.web.app/tools/rent-vs-buy/

Not strictly an engineering tool — pure personal finance — but it was fun to build, so I shipped it with the rest of the toolkit. 100% vibe-coded; any feedback is welcome.

u/dhavalpalsana — 29 days ago

I built a fast, ad-free, open-source Engineering Toolkit with cloud syncing (CAN bus designer, plot digitizer, wire gauge sizing, and more)

What's in it right now:

• Plot Data Extractor: Drag and drop any graph/plot image, calibrate the X and Y axes (supports linear and logarithmic scales), and digitize points with pixel accuracy. Includes interactive curve fitting (linear, polynomial, power, exponential) and instant CSV export.

• CAN Bus Harness Designer: Design interactive CAN bus physical topologies, add network nodes, adjust stub lengths, and automatically validate signal speed and compliance constraints.

• Cable Thermal Solver (Wire Gauge): Solve current carrying capacities for wire bundles based on conductor material, temperature rise, and thermal insulation ratings.

• Busbar Sizing Calculator: Standard CDA copper ampacity sizing, mechanical deflection, AC skin effect, and short-circuit ratings.

• Ishikawa (Fishbone) Creator: Create root-cause analysis diagrams for quality engineering, map causes, assign statuses (to-do/done), and export to JSON/image.

• Engineering Unit Converter: Instant bidirectional conversions across 23 different groups (Pressure, Torque, Viscosity, Volume Flow, etc.) with search matching.

I tried posting the full details but my post got deleted by Reddit, so hopefully I can post the links to the repo in comments if anyone is interested in proving feedback or checking out the tool.

reddit.com
u/dhavalpalsana — 1 month ago