The formula to calculate the loan tenure (T) is:
\[ T = \frac{L}{P} \]
Where:
Let's say the total loan amount (L) is $10,000 and the monthly payment (P) is $500. Using the formula:
\[ T = \frac{10000}{500} \]
We get:
\[ T = 20\, \text{months} \]
So, the loan tenure is 20 months.