For a deposit with a defined term (a CD, for example), you calculate the interest to be earned over the entire term, and then apply the APY formula.
Your calculation of the interest amount has to take into account the interest crediting and compounding that will apply to the account.
_________________________
John S. Burnett
BankersOnline.com
Fighting for Compliance since 1976
Bankers' Threads User #8