CDB calculator
Gross and net income of a post-fixed CDB in % of the CDI, with regressive IR and IOF.
Looking for the CDI at the Central Bank...
The calculation assumes constant CDI in the period and converts calendar days into working days by the proportion 252/365. The exact value depends on the working day calendar and how the CDI moves. educational simulation.
In short: The post-fixed CDB yields a percentage of the CDI, the reference rate for loans between banks, which is glued to the Selic. Income pays income tax for the regressive table (22.5% up to 180 days, 20% up to 360, 17.5% up to 720 and 15% above that) and IOF if you redeem before 30 days. The calculator seeks the CDI of the day at the Central Bank and shows the net amount, the annual profitability after the tax and the percentage of the CDI that an LCI or LCA would need to pay to tie.
How to use the calculator
- Applied valueHow much are you going to invest in the CDB?
- CDI PERCENTAGEThat's what the bank offers: 100% of the CDI, 110% of the CDI and so on. It's in the name of the offer.
- TermOn calendar days, counted from the application until the redemption. It is this period that defines the IR rate.
- CDIIt is automatically filled in with the most recent data from the Central Bank (series 4389 of the SGS). Swap if you want to test higher or lower interest scenarios.
Below the result appears a table with the same CDB in other deadlines. It makes visible the effect of IR lane changes: Notice how the annual net income jumps when the term goes from 180 to 181 days, from 360 to 361 and from 720 to 721.

How the CDB yields
CDB is the acronym for Bank Deposit Certificate. In practice, you lend money to the bank and receive interest. In the post-fixed model, the most common, interest rates accompany the CDI. The CDI is disclosed as an annual fee on the basis of 252 business days, and the account is made business day:
- Daily rate of the CDI: (1 + annual CDI) raised to 1/252, minus 1.
- Applying the percentage: CDB daily rate = CDI daily rate x contracted percentage. With 110% of the CDI, it multiplies by 1.10.
- Accumulating: factor = (1 + daily rate of the CDB) raised to the number of working days of the period.
- Gross Income: Value applied x (Factor minus 1).
As the calculator works with calendar days, it estimates the working days by the proportion 252/365. In a year, this gives 252 business days. The exact value of your statement will vary a little because of holidays and because the CDI changes with COPOM's decisions.
Income Tax and IOF in the CDB
The IR is withheld at source by the bank in the redemption and is levied only on the income, never on the amount applied. The rates are in article 1 of Law No. 11,033/2004:
| APPLICATION DEADLINE | Aliquot to go |
|---|---|
| Up to 180 days | 22,5% |
| From 181 to 360 days | 20% |
| From 361 to 720 days | 17,5% |
| Over 720 days | 15% |
In 2025, Provisional Measure 1303 even proposed the end of the regressive table with a single rate for financial investments from 2026. It lost its validity, so the table above is still valid.
The IOF only appears if you rescue it before 30 days. It is regressive: it starts at 96% of the yield on the first day and falls up to 3% on the 29th day, zeroing from the 30th. The IOF is calculated before the IR, and the IR is levied on the remaining income.
Example with numbers
With R$ 10,000 to 100% of the CDI for 365 days and CDI of 13.65% per year (Value of the 4389 series of the Central Bank on October 29, 2026):
CDB of R$ 10 thousand to 100% of the CDI for 1 year
The same CDB for 721 days already falls at the 15% rate. So if you know you're going to leave the money for about two years, it's worth waiting for the 721st day to rescue.
Post-fixed, fixed or tied to inflation
This calculator deals with the post-fixed CDB, which comes with the CDI. There are two other formats. The prefixed pays a fixed fee defined on the purchase, for example 13% per year: you know exactly how much you will receive, but loses if the interest goes up later. The CDB linked to inflation pays the IPCA plus a fixed rate, protecting the purchasing power. The choice depends on what you expect for interest and inflation and the term of your goal. To see how much inflation has eroded a value in the past, use the IPCA inflation calculator. To study the subject calmly, the list of best investment books It brings good options on fixed income and compound interest.
CDB or LCI and LCA?
LCI (Letter of Real Estate Credit) and LCA (Agribusiness Credit Letter) are exempt from going to individuals, according to article 3 of the same law. To compare, you need to find the percentage of the CDI that the letter needs to pay to tie with the CDB. The account is: percentage of CDB X (1 minus the IR rate). With 100% of the CDI and the rate of 17.5%, the tie is around 82.5% of the CDI; with 15%, in 85% of the CDI. The calculator already shows this number.
Two caveats: LCI and LCA usually have a minimum deficiency for redemption, which makes them bad for the emergency reserve, and the rules for issuing these papers have changed in recent years. Always check the shortage before applying.
FGC Risks and Warranty
The CDB is guaranteed by the Credit Guarantee Fund (FGC) of up to R$ 250 thousand per CPF and per institution, with a ceiling of R$ 1 million for each period of four years. This protects against bank failure, but payment may take some time. Offers far above the market, such as 130% or 150% of the CDI, usually come from smaller banks with a higher risk. Divide large values between institutions to stay within the limit.
When the CDB makes sense
- Emergency Reserve: CDB of Daily Liquidity of Banco Grande, close to 100% of the CDI. Calculate the size of your emergency booking calculator.
- Objectives with date: CDB with maturity close to the objective date, preferring deadlines above 720 days to pay 15% of IR.
- Portfolio Conservative Part: For those who also invest in variable income or crypto and want a piece without oscillation. see the comparison crypto vs savings e o Investor Profile Quiz.
And to understand how high interest rates affect other markets, such as the stock exchange and Bitcoin, it is worth reading the coverage of October 2026 Fed Decision and the guide risk management. To plan long investments with the net rate you found here, use the first million calculator.
Frequently asked questions
How much does a 100% CDI CDB yield?
Yields the CDI of the period minus the tax. With a CDI of 13.65% per year, R$ 10 thousand for a year yield around R$ 1,365 gross and R$ 1,126 nets, with an IR of 17.5%. Use the calculator for the CDI of the day and your deadline.
What is the IR rate of the CDB in 2026?
The regressive table of Law 11,033/2004 continues: 22.5% up to 180 days, 20% from 181 to 360 days, 17.5% from 361 to 720 days and 15% over 720 days. MP 1,303, which proposed a single rate, lost its validity in October 2025.
CDB pays IOF?
Only if the rescue is done before 30 days. The IOF starts at 96% of income on the first day and falls up to 3% on the 29th day. As of the 30th day, there is no IOF.
What is the difference between CDB and LCI or LCA?
LCI and LCA are exempt from going to individuals, but they tend to be shortaged. To compare, multiply the percentage of the CDB by 1 minus the IR rate: a CDI of 100% of the CDI for more than 720 days tie with an 85% LCI of the CDI.
Is the CDB safe?
It has a guarantee from the FGC of up to R$ 250 thousand per CPF and per institution, with a ceiling of R$ 1 million every four years. The main risk is that of the issuing bank's credit, higher in small institutions that pay very high fees.
References
- Central Bank, SGS Series 4389: Annualized CDI Base 252
- Law No. 11,033/2004, updated text (Chamber of Deputies)
- EQI: Chamber removes MP 1,303 from agenda and measure loses validity (08/10/2025)
- Toro Investments: Treasury Direct and Regressive IOF rates
- FGC: About Warranty
- Tax Portal: Go to source on fixed income applications
This content is informative and is not an investment recommendation. found an error? Write to contato@boletimbitcoin.com.