During the draw period, you pay interest only on the current balance. The monthly payment is (Balance * Monthly Rate). During repayment, the balance is amortized over the repayment period. The formula for the monthly payment is: P * r / (1 - (1 + r)^(-n)), where P is the balance, r is the monthly interest rate, and n is the number of months. Extra payments reduce the principal faster.