Skip to content
Dollar Classroom

How the math works

Each tool page explains its own formula. This page collects the assumptions in one place, for teachers and for anyone checking the numbers.

Checked against the talk

The tools grew out of a Grade 12 talk on compound interest. Every figure on its slides is written into an automated test, and the site will not build unless all of them pass. The same code works out the numbers in the text of each page, so the words and the tools cannot disagree.

Saving and investing

  • Deposits go in at the end of each month.
  • With monthly compounding, the monthly rate is the yearly rate divided by 12. With yearly compounding, it is the monthly rate that compounds to exactly the yearly rate.
  • Returns are the same every year. Real returns are not, and nothing here is a forecast.
  • Amounts are before inflation, taxes and fees unless a page says otherwise.

Car loans and the payment decoder

Payment = loan × i ÷ (1 − (1 + i)−n)

  • i is the yearly rate divided by the number of payments in a year: 12, 26 or 52.
  • The decoder runs the same formula backwards to find the loan from the payment.
  • A lease is treated as payments made at the start of each period, with the buyout still owing at the end. The price behind it is today’s value of the payments plus today’s value of the buyout.
  • A car’s value falls by one percentage in the first year and a second percentage of what is left every year after. The starting figures are 20% and 12%. The federal consumer agency’s own example uses a steeper 25% in year one (Financial risks when buying a car).

Credit cards

  • Interest each month is the balance times the yearly rate divided by 12.
  • The minimum payment is a percentage of the balance before that month’s interest, with a dollar floor. The starting figures are 3% and $10.
  • No new purchases, fees or missed payments.

Mortgages

  • Fixed-rate mortgages in Canada compound twice a year. The monthly rate is (1 + rate ÷ 2)1/6 − 1. A monthly-compounding option is there for comparison.
  • Accelerated bi-weekly payments are half the monthly payment, 26 times a year, with interest charged every two weeks at the equivalent rate.
  • Yearly prepayments are made at the end of each year.
  • The rate never changes. Real mortgages renew every few years at a new rate.

Sources

Back to all ten tools.