Question: how to calculate how much interest you have paid on mortgage?
Answer: Divide your interest rate by the number of payments you'll make in the year (interest rates are expressed annually). ... 
Multiply it by the balance of your loan, which for the first payment, will be your whole principal amount.