What CDI is and how it is used in Brazil
CDI (Interbank Deposit Certificate) is the interest rate on one-day loans between banks in Brazil. B3 calculates and publishes CDI daily, while the Central Bank sets the Selic target rate, which guides it. In practice, CDI is the main fixed-income benchmark: CDBs, LCIs, LCAs, DI funds, and Tesouro Selic use CDI or Selic as a reference.
For a company, tracking CDI helps compare returns on available cash with the cost of advancing receivables or financing working capital. A CDB paying 100% of CDI earns the full rate; 110% earns 10% more; 130% earns 30% more. The calculation uses the annual rate and the term in months, with compound interest. B3 uses the convention of 252 business days per year to calculate the daily rate.
CDI is also used as a reference for repurchase agreements, short-term funds, and financial contracts. That is why it appears both in the treasury operations of large companies and in comparisons of products offered by banks and brokerages.
Practical example in reais
Consider an investment of R$ 50.000,00 for 12 months, with CDI at 13,65% per year. At 100% of CDI, the gross total is R$ 50.000,00 × (1 + 0,1365) = R$ 56.825,00. At 110%, the effective rate is 15,015% per year and the total reaches R$ 57.507,50. At 130%, the rate is 17,745% and the total is R$ 58.872,50.
If the term is 24 months, the total at 100% of CDI would be R$ 50.000,00 × (1,1365)^2 = R$ 64.581,61. These amounts are gross: they do not deduct IR, IOF, management fees, or come-cotas. IR follows the regressive rate schedule (22,5% up to 180 days, 20% from 181 to 360 days, 17,5% from 361 to 720 days, and 15% after 720 days), and IOF applies only during the first 30 days. The calculator chart shows how the balance changes month by month.
What the result means
The result shows the gross amount accumulated at the end of the term, with interest on interest. It is not the net amount deposited into the account: to find the real gain, subtract IR and any fees. The difference between 100% and 130% of CDI may seem small in percentage terms, but it grows with the term and the amount invested.
Use the calculator to compare products with different liquidity, credit risk, and guarantees. CDI does not measure risk; it is only an interest-rate benchmark. A CDB paying 100% of CDI with daily liquidity may be more useful for cash management than a CDB paying 120% that matures in two years. The chart helps show when interest starts to account for most of the balance.
To determine the real gain, compare the result with inflation over the period. A nominal return of 14% per year may be lower in real terms if cumulative IPCA inflation is high.
Assumptions and limitations
The calculator assumes a constant CDI rate throughout the period and monthly compounding. In real life, CDI changes at each Copom meeting, and the percentage of CDI may vary according to the contract. The calculation does not account for inflation, taxes, management fees, come-cotas, liquidity, or issuer risk.
It also does not recommend investments: the decision should account for the company's profile, term, and cash needs. Confirm the current rate with the Central Bank and B3 before making any investment. To compare with compound interest on other products, also use the compound interest calculator.

