The formula to calculate the loan principal (P) is P = I/rt, where I is interest amount, r is interest rate, and t is tenure.