Skip to content
Tutorials Center
My learning

Topics

Lesson 21 of 36 ยท Debt and Loans

Student Loans and Mortgages

Understand the two biggest loans most people take: how student loans and mortgages work, what a deposit does, and how to test affordability.

For many people the two largest debts in life are the loan for education and the loan for a home. They are bigger than anything you have borrowed before, they last for years, and the decisions you make at the start have effects for decades. The good news is that they follow the same amortization logic you met in how loans work.

Systems differ a lot between countries. Some countries have free or heavily funded university study; others rely on student loans. Some mortgage markets use fixed rates for 30 years; others reset the rate every few years. This lesson teaches the ideas that hold everywhere and tells you what to check locally.

Student loans

A student loan pays for tuition and sometimes living costs. Questions to ask about any education loan:

  • Who is the lender? Government schemes often have lower rates and more protections than private loans.
  • When does interest start? Some loans add interest while you are still studying (this is called accruing). If unpaid interest is added to the principal, the debt grows before you earn anything. This is called capitalization.
  • How is repayment set? Some schemes link payments to your income, so you pay more only when you earn more. Others use a fixed schedule like a normal loan.
  • What happens if I cannot pay? Look for deferral, forbearance or forgiveness rules.

A simple way to judge a course is to compare the total debt with the salary you can realistically expect. If the debt is bigger than a year of expected starting pay, think carefully about alternatives such as a cheaper school, scholarships, work-study or starting at a local college.

Borrowing for study is only a good investment if you finish and the qualification leads to work. Check completion and employment figures for the course, not just the brochure.

Mortgages

A mortgage is a loan to buy property, secured by the property itself. If you stop paying, the lender can sell the home to recover the money. Key terms:

  • Deposit (down payment): the part of the price you pay yourself. A larger deposit means a smaller loan.
  • Loan-to-value (LTV): loan รท property value. A 20% deposit means 80% LTV.
  • Term: often 15 to 30 years, sometimes more.
  • Fixed rate or variable rate: whether the rate stays the same or can change.
  • Closing costs: fees to complete the purchase (legal, valuation, registration, taxes). Rules and sizes vary widely.

The monthly payment uses the same formula as before, but the extra running costs of owning also matter: property tax, insurance, repairs and maintenance. Renting vs buying is not simply "rent is wasted money", because owners pay interest, fees and repairs too.

flowchart TD
    A["Property price"] --> B["Your deposit"]
    A --> C["Mortgage loan"]
    C --> D["Monthly payment"]
    D --> E["Plus tax, insurance,<br/>repairs"]
    E --> F["Total monthly cost of owning"]

A mortgage is the price minus your deposit; owning also adds running costs.

Testing affordability

A common guideline is that housing costs should stay below about 28% to 35% of gross monthly income, and total debt payments below about 36% to 43%. These ratios are rules of thumb used in some countries, not universal laws, and lenders in your country may use different limits. A safer test is your own budget: after the new payment, can you still save, handle an emergency and live?

The first program computes the loan from price and deposit, then the payment and LTV. It is a calculator that applies the loan formula; it does not include fees or taxes.

Python Mortgage payment and LTV

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

A bigger deposit lowers the loan and the payment, and it often earns a lower interest rate because the lender's risk is smaller.

Income-linked student repayment

The second program compares a fixed student-loan payment with an income-linked one. The scheme here is invented for teaching: you pay 9% of income above a threshold. Real schemes have their own thresholds, rates and write-off dates.

Python Fixed vs income-linked repayment

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

When income is low, the income-linked payment is small (or zero), which protects you. When income is high, you pay more, but the loan may take longer or end sooner depending on the scheme. Always find out whether the unpaid balance is cancelled after a set number of years.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A mortgage is

    The property itself is the security for a mortgage.
  2. 2. You buy a 200,000 home with a 40,000 deposit. What is the LTV?

    Loan = 160,000; 160,000 รท 200,000 = 80%.
  3. 3. What does it mean when student loan interest is capitalized?

    Capitalized interest becomes part of the principal, so later interest is charged on it too.
  4. 4. Which is a cost of owning a home besides the mortgage payment?

    Owners also pay maintenance, insurance and often property taxes.

Summary

  • Student loans and mortgages follow the same amortization rules as other loans.
  • Check interest timing, repayment type and protections before borrowing for study.
  • A mortgage is secured on the property; deposit, LTV, rate and term set the cost.
  • Count running costs of a home, and test affordability against your real budget.
  • Rules, ratios and schemes vary by country: always check locally.

Next: Paying Off Debt: Snowball and Avalanche