Calculation methodology
These calculators use deterministic educational models based only on the assumptions a user enters. They do not use live rates or reproduce lender, tax, or investment-provider calculations.
Mortgage payment
The mortgage payment calculator models a conventional fixed-rate loan. The original principal is the home price minus the down payment. For principal P, monthly rate r (the entered annual nominal rate divided by 12), and n monthly payments, scheduled monthly principal and interest is:
M = P * r * (1 + r)^n / ((1 + r)^n - 1)
The underlying model uses M = P / n when the rate is zero, although the calculator interface requires a positive mortgage rate.
A month-by-month amortization schedule calculates interest from the opening balance, applies scheduled principal, then applies configured extra principal without allowing the balance to become negative. The regular payment does not recast after an extra payment; instead, the modeled payoff period shortens. The final payment is capped at the amount owed.
Housing-cost assumptions
- The first-month housing estimate adds principal and interest, monthly property tax, homeowners insurance, homeowners association fees, and applicable private mortgage insurance (PMI).
- Percentage-based property tax uses the original home price and remains level. Insurance and homeowners association fees also remain level; future escrow changes are not forecast.
- Monthly PMI is estimated as the opening loan balance multiplied by the annual PMI rate and divided by 12. It stops when the scheduled closing balance reaches the user-entered percentage of the original home value.
- Appreciation, lender seasoning rules, automatic-cancellation laws, and appraisal requirements are not modeled.
- Closing costs contribute to estimated cash needed but are not financed or added to principal.
Investment returns
The investment returns calculator performs a monthly simulation for conservative, expected, and optimistic constant-return scenarios. The outer scenarios are illustrative differences, not confidence intervals or predictions.
Annual effective assumptions are converted to monthly rates:
monthly gross return = (1 + annual return)^(1 / 12) - 1
monthly fee rate = (1 + annual fee)^(1 / 12) - 1
monthly inflation rate = (1 + annual inflation)^(1 / 12) - 1
Each month, the model applies events in this order:
- Add a beginning-of-period contribution when selected.
- Apply gross gain or loss to the opening investable balance.
- Deduct the monthly fee from the balance after gross growth.
- Add an end-of-period contribution when selected.
- Deduct scheduled recurring and one-time withdrawals.
- Floor the balance at zero and record any unfunded withdrawal.
For a gross withdrawal, the model treats the entered amount as the requested account distribution and estimates after-tax cash as funded withdrawal * (1 - withdrawal tax rate). For an after-tax cash request, it grosses up the requested distribution as cash requested / (1 - withdrawal tax rate). Withdrawal tax applies only to the amount the modeled balance can fund.
The simplified terminal tax estimate is min(pre-tax ending balance, max(0, cumulative gross growth - cumulative fees) * entered tax rate). It is deducted once after the final projection month. It is not a tax-return calculation and does not model actual cost basis, realization timing, holding periods, dividends, capital-gain distributions, loss offsets, tax brackets, account type, or taxes associated with earlier withdrawals.
Fees apply to modeled assets whether the month's return is positive or negative. Contribution increases take effect every 12 months. At month k, the inflation-adjusted balance is the nominal balance divided by (1 + monthly inflation rate)^k.
Shared conventions and limitations
- Inputs and calculations use US conventions and US dollar formatting.
- Calculations retain floating-point precision internally. Values are rounded for display; mortgage schedules include a final-payment adjustment and never compare a balance directly with zero.
- Displayed precision is not a promise of real-world accuracy. Taxes, fees, rates, and market outcomes can change.
- Inputs are user supplied. The site does not quote live mortgage or investment rates.
- Share URLs are created only after an explicit Share action and CSV exports preserve enough precision to reconcile modeled totals.
- Models exclude adjustable-rate and government-backed mortgages, lender underwriting, real-time market data, and personalized tax treatment.
The formulas, terminology, and test fixtures require content review before public launch.