CAGR is calculated as

R = (A/P)*1/t, where

A = Final Amount P = Initial Amount t = time period R = rate in decimals