Rent vs Buy Calculator
Compare the N-year net cost of buying (mortgage, tax, upkeep, minus equity) vs renting, and find the breakeven year.
A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
home_price | number | required | Purchase price in USD |
monthly_rent | number | required | Monthly rent for a comparable place in USD |
years | number | optional | How many years you'll stay (default 7) |
down_payment | number | optional | Down payment in USD |
mortgage_rate | number | optional | Mortgage rate as a PERCENT (default 6) |
loan_term_years | number | optional | Mortgage term in years (default 30) |
property_tax_rate | number | optional | Annual property tax as a PERCENT of value (default 1.1) |
maintenance_rate | number | optional | Annual maintenance as a PERCENT of value (default 1) |
home_appreciation | number | optional | Annual home appreciation as a PERCENT (default 3) |
rent_inflation | number | optional | Annual rent increase as a PERCENT (default 3) |
closing_cost_pct | number | optional | Closing costs as a PERCENT of price (default 3) |
selling_cost_pct | number | optional | Selling costs as a PERCENT of sale price (default 6) |
Call it over MCP (JSON-RPC 2.0)
curl -s https://agent.wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "rent_vs_buy", "arguments": {"home_price": 400000, "monthly_rent": 100}}}'Or plain HTTP
curl -s https://wingmanprotocol.com/tools/rent_vs_buy \
-H 'Content-Type: application/json' \
-d '{"home_price": 400000, "monthly_rent": 100}'Try it live
Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/rent_vs_buy from your browser.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.
Related tools in Personal Finance
personal-finance
Personal Budget (50/30/20) Calculator
Allocate monthly income across needs/wants/savings (50/30/20) and find your surplus or deficit and savings rate.
personal-finance
College Savings Calculator
Project the future cost of college with education inflation and the monthly contribution needed to fund it.
personal-finance
FIRE Number Calculator
Financial-independence target from annual expenses and a safe withdrawal rate, plus lean/fat variants and years to…
personal-finance
Investment Fee Impact Calculator
How much an expense ratio costs over time — ending balance with vs without fees, and total fee drag.
personal-finance
Life Insurance Needs Calculator (DIME)
Coverage need by the DIME method: debt + income replacement + mortgage + education, minus what you already have.
personal-finance
Net Worth Calculator
Total assets minus liabilities, plus liquid net worth and debt-to-asset ratio.