Early withdrawal penalties are calculated using the interest rate applicable towards the CD at the early withdrawal time. If the amount of the penalty goes over the amount of your accrued and unpaid interest, there will be a reduction of principal to pay the penalty.