Your interest earnings on a 2-year CD will be based on your deposit amount and the interest rate you secure. Once you know this information, you can calculate your returns.