This calculator helps illustrate the effect of using a loan to purchase an investment or appreciable asset. Using debt as leverage to purchase investments can magnify your return. The downside is that you also increase your risk. For example, if your investment were to lose all of its value you would not only have lost your investment but you would still owe the balance on the loan.
Investment Loan Calculator (Canadian)