A little context. A clearer answer.
When this calculator is useful
Estimate the cost of leaving a fixed-rate CD and the replacement APY needed to recover that cost by the original maturity. Enter the rules in your own deposit agreement. For a related calculation, try CD ladder calculator.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Original CD principal | Positive opening deposit, in the selected currency. All monetary fields must use this same currency. | 10,000 USD |
| Opening date | CD opening date in YYYY-MM-DD format. Elapsed interest begins here. | Jan 1, 2026 |
| Early withdrawal date | Full withdrawal date, on or after opening and strictly before maturity. No same-day interest is added after exit. | Jan 1, 2027 |
| Original maturity / comparison date | Original CD maturity. Both scenarios are compared on this exact date, at most 36500 days after opening. | Jan 1, 2028 |
| CD rate convention | Choose effective APY, which already includes compounding, or a nominal APR with the frequency and day-count year specified separately. | Effective APY |
| CD annual rate | Annual percentage under the selected convention, from 0% to 100%. Do not enter APY as nominal APR. | 5 % |
| Compounding frequency | APR mode only: 1, 12 or 365 compounding periods per selected year. Fractional periods use exponential interpolation. | — |
| APR day-count year | APR mode only: divide actual elapsed days by 365 or 360. APY always uses actual days/365. | — |
| Penalty rule | Choose a fixed monetary amount or a number of days of simple interest. More complex contractual rules need a separately calculated fixed amount. | Fixed amount |
| Fixed penalty | Penalty before the minimum, maximum and funds-available caps. This field is active only in fixed mode. | 100 USD |
| Penalty interest days | Whole number of penalty days. Months must first be converted using your contract’s rule; no automatic 30-day-month assumption is applied. | — |
| Penalty nominal annual rate | Separate nominal simple annual rate used only for the penalty. Enter the contract’s rate, which may differ from the CD APY. | — |
| Penalty amount basis | Apply penalty interest to either original principal or the balance including accrued interest at exit. | — |
| Penalty day-count year | Denominator of the simple penalty formula: selected balance × nominal rate × days / 365 or 360. | — |
| Minimum contractual penalty | Floor on the contractual penalty, before limiting the deduction to available funds. | 0 USD |
| Maximum penalty (0 = no cap) | Ceiling on the contractual penalty. Zero disables this ceiling; otherwise it must be at least the minimum. | 0 USD |
| May penalty reduce principal? | Allow deduction up to the whole exit balance, or restrict it to accrued interest. The final deduction never exceeds the selected available funds. | Yes, up to the full exit balance |
| Replacement investment APY | Effective APY earned by the net payout from the exit date to original maturity, with interest retained and a 365-day year. | 5 % |
How the calculation works
- Grow the original principal to exit and to maturity. APY growth is P × (1 + APY / 100)^(days / 365); nominal APR growth is P × (1 + APR / (100m))^(m × days / basis).
- Compute the fixed or simple-interest penalty, apply the entered minimum and maximum, then cap the deduction at the balance or accrued interest. Net payout is exit balance minus the deduction.
- Grow the net payout at the replacement APY to original maturity. Subtract the keep value for the difference. The break-even APY is 100 × [(keep / net payout)^(365 / remaining days) − 1]; a zero payout has no finite threshold.
B(d)=P(1+APY)^(d/365); F=P(1+APR/m)^(md/b); N=B−penalty; A*=(H/N)^(365/remaining days)−1A worked example
Our example: 10000 opened on 2026-01-01 at 5% APY, withdrawn on 2027-01-01 with a 100 penalty, pays 10400 after 500 interest. By 2028-01-01, keeping the CD gives 11025; switching at 5% APY gives 10920, a difference of −105. Break-even replacement APY is 6.009615%.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Full withdrawal only, with all CD interest retained until exit or maturity. Constant nonnegative rates; APY uses a 365-day year. Nominal APR supports annual, monthly or daily compounding with fractional periods on a 365- or 360-day basis. This interpolation may differ from a bank’s crediting and rounding. Penalties support a fixed sum or simple days of interest, with entered bounds and principal access. No taxes, bonuses, partial withdrawals, mandatory interest payouts, variable rates, transfer delays or withdrawal eligibility checks. Dates are UTC calendar dates; horizon at most 36500 days.
Frequently asked questions
Can an early withdrawal penalty reduce my original deposit?
Some agreements permit it. Choose the principal-access option to match your own contract; the model always caps the deduction at the total available balance.
Why is there a separate rate for days-of-interest penalties?
A bank may use a nominal interest rate and its own balance and day-count rule. APY includes compounding, so substituting it automatically could misstate the penalty.
Does a positive switching difference mean the new deposit is better?
It means the entered reinvestment scenario has a larger value at original maturity. Taxes, access needs, insurance, rate changes and contract restrictions are outside this comparison.