What is the penalty for early withdrawal of a CD?

If the CD is less than 12 months the penalty is 30 days of interest.

If the CD is 12 months the penalty is 90 days of interest.

If the CD is over 12 months the penalty is 180 days of interest.

This is for both regular CDs and IRA CDs.