Formula
Ending balance = opening deposit × (1 + APY decimal)^(term months ÷ 12). Interest earned = ending balance − opening deposit. Rough early withdrawal penalty = opening deposit × APY decimal × penalty months ÷ 12. Comparison balance uses the same formula with the comparison APY.
