The formula
Maturity = P × (1 + r ÷ k)^(k × t), where P is the deposit, r the yearly rate as a decimal, k the number of compounding periods a year and t the years. With quarterly compounding k is 4, so a 7% FD earns 1.75% each quarter on the growing balance.