Compoundify › How we calculate
How Our Calculators Work
Every calculator here is plain arithmetic. This page lists the formulas behind the main tools, the conventions they follow and the rules built in, so you can check any result by hand or in a spreadsheet.
Last reviewed November 19, 2026. Results are hypothetical estimates, not forecasts or guarantees. See Accuracy and limits for what the numbers can and cannot tell you.
Conventions used everywhere
- Annual to monthly rate. A yearly rate r that compounds n times a year becomes a monthly rate with the formula below. With monthly compounding (n = 12) this is simply r ÷ 12.i = (1 + r/n)^(n/12) − 1
- Timing. Money you add each month goes in at the end of the month, after that month’s growth. Payments on loans are made at the end of each period.
- Constant assumptions. A return, rate or inflation figure you enter is applied unchanged for the whole period. Real markets and real rates move around.
- Rounding. Calculations keep full precision and are rounded only when displayed.
- No hidden extras. Taxes, fees and inflation are included only when a calculator asks for them.
Growth and saving
Compound interest and investment growth
Starting from your opening balance, each month the balance is multiplied by (1 + i) and then your monthly deposit is added. Interest earned is the final balance minus everything you put in.
Savings goal
To reach a target T from a starting amount S over N months at monthly rate i, the monthly amount needed is below. If the rate is zero it is just (T − S) ÷ N, and it never goes below zero.
Doubling time and the Rule of 72
The exact time to double at annual rate r percent, the quick estimate, and the return needed to double in y years:
Inflation
With yearly inflation i over y years, the same purchase costs more and the same money buys less:
Borrowing
Loan payment
For a loan of P over n monthly payments with the annual rate divided by 12 as i:
If the rate is zero, the payment is P ÷ n. This is the same calculation as the PMT function in a spreadsheet.
Amortization schedule and extra payments
Each period, interest is the current balance × i, and the rest of the payment reduces the balance. The final payment is capped at what is still owed. An extra payment is added to every regular payment and goes entirely to principal, which shortens the schedule and cuts total interest.
Debt payoff (snowball and avalanche)
Each month, interest (balance × APR ÷ 12) is added to every debt and every minimum payment is made. Your total monthly budget is the sum of the minimums plus any extra, and it stays fixed, so the minimum on a debt you have cleared rolls into the next one. Whatever is left after the minimums goes to one target debt: the smallest balance for the snowball method, or the highest APR for the avalanche method.
Credit card payoff
Each month, interest (balance × APR ÷ 12) is added, then a payment is made. In minimum-payment mode the payment is the greater of a fixed floor and a percentage of the balance. In fixed mode it is the amount you choose. If a fixed payment does not even cover the first month’s interest, the calculator reports that the balance will never be paid off.
Mortgages
- Compounding. Fixed-rate mortgages compound semi-annually (n = 2), as is standard in Canada. Variable-rate mortgages compound monthly. The monthly rate comes from the conversion formula at the top of this page, and the payment from the loan formula above.
- Payment frequency. Monthly, bi-weekly and weekly payments each use their own periodic rate. Accelerated bi-weekly is half of the monthly payment, paid 26 times a year.
- Mortgage insurance (CMHC-style). If the down payment is under 20%, a one-time premium is added to the loan. The premium is the loan amount × a rate set by loan-to-value (LTV): 2.80% for LTV above 80% up to 85%, 3.10% above 85% up to 90%, and 4.00% above 90% up to 95%. An amortization longer than 25 years adds 0.20 percentage points. At 20% down or more, no premium applies.
- Minimum down payment. 5% of the first $500,000 of the price plus 10% of the part from $500,000 up to $1,500,000. At $1,500,000 and above, the minimum is 20%, and insurance is not available.
- Constant rate. The rate you enter is used for the whole amortization. Real mortgages usually renew at a new rate partway through.
Home affordability
Two limits are applied to gross monthly income: housing costs (GDS) of at most 39% and total debt payments (TDS) of at most 44%. The cap is the smaller of 39% of income and 44% of income minus your other debts. Payments are tested at a qualifying rate, which is the greater of your rate plus 2 percentage points and 5.25%. The calculator then solves for the largest loan whose payment, plus property tax and other housing costs, fits under the cap, and adds your down payment to get a price.
Retirement and independence
FIRE number and years to get there
Yearly spending is income × (1 − savings rate). The target is yearly spending ÷ the withdrawal rate. Each month the balance grows by the monthly return and your savings (income × savings rate ÷ 12) are added, until the balance reaches the target. If that takes more than 100 years, the calculator reports that the target is not reached.
Retirement projection
Your balance grows monthly with contributions, and contributions rise each year by the step-up you enter. Values are also shown in today’s money by dividing by (1 + inflation)^years. Needed savings are (yearly spending − other income) ÷ withdrawal rate, in today’s money.
Withdrawal simulator
Year 1 withdrawal is the starting balance × the withdrawal rate. Each year, the withdrawal is taken, the remainder grows by the return you enter, and the next withdrawal is raised by inflation. The simulation stops when the money runs out or after 60 years.
Investment fees
The net return is the gross return minus the fee, converted to a monthly rate with the formula at the top of this page. Two funds are then grown side by side with the same starting amount and deposits, so the gap is the cost of the fee difference.
Rules and figures we build in
A few calculators rely on rules that organizations set and can change. We checked the CMHC premium rates and the minimum qualifying rate against the official CMHC and OSFI websites on November 19, 2026. Always confirm current figures with your lender, and with the Canada Revenue Agency for tax rules and registered-account limits.
Worked examples you can check
Try these in the calculators, in a spreadsheet, or with a scientific calculator.
- Compound growth. $10,000 at 6% compounded monthly for 10 years, with no deposits, is 10,000 × 1.005^120 = $18,193.97. Adding $200 a month raises the final balance to $50,969.84.
- Loan payment. A $250,000 loan at 5% over 25 years with monthly payments has a payment of $1,461.48 and total interest of about $188,443.
- Fees. $10,000 growing for 30 years at a 6% gross return ends at about $53,507 with a 0.25% fee (net 5.75%) and about $37,453 with a 1.50% fee (net 4.5%).
- Rule of 72. At 8%, the estimate is 72 ÷ 8 = 9.0 years and the exact answer is 9.006 years.
- Canadian mortgage. A $600,000 home with 10% down ($60,000), 5% fixed rate and a 25-year amortization has an LTV of 90%, so the insurance premium is 3.10% of $540,000 = $16,740. The loan becomes $556,740 and the monthly payment is $3,238.03.
Questions
Think a formula is wrong, or want another calculator explained here? Read Accuracy and limits, then write to contact@compoundify.ca. Compoundify is an educational project, and nothing here is financial, tax or legal advice.