The formula for the annual interest rate is given by:
Effective annual interest rate = [1 + (nominal rate / number of compounding periods)]^(number of compounding periods) – 1