How interest is calculated?

Interest is calculated quarterly on total amount of loan.