CDI Calculator: Understand the Brazilian Interbank Deposit Rate


CDI Calculator: Estimate Your Investment Returns


Enter the annual CDI rate (e.g., 11.65 for 11.65%).


Enter the initial amount invested.


Select the duration of your investment in days.


Choose the applicable income tax rate based on investment duration.


Calculation Results

Gross Return
Taxes Paid
Net Return
Final Investment Value
The CDI (Certificado de Depósito Interbancário) is a key benchmark for fixed-income investments in Brazil. This calculator estimates your potential return based on the CDI rate, investment amount, duration, and applicable income tax.

What is the CDI (Certificado de Depósito Interbancário)?

The CDI (Certificado de Depósito Interbancário) is one of the most important financial indicators in Brazil, serving as a benchmark for a vast portion of fixed-income investments. Essentially, it represents the average daily interest rate paid on loans between banks over a specific period. These interbank operations are crucial for banks to manage their daily liquidity needs, ensuring they meet regulatory reserve requirements.

While the CDI itself is an interbank rate, its true significance for the general investor lies in its widespread use as a reference for investment products. Many savings accounts, CDBs (Certificados de Depósito Bancário), and other fixed-income securities are offered with returns directly tied to a percentage of the CDI (e.g., 100% of the CDI, 110% of the CDI). Therefore, understanding the CDI rate is fundamental for anyone looking to invest in Brazilian fixed income.

Who should use this CDI calculator?

  • Investors in Brazil seeking to understand the potential returns of fixed-income products linked to the CDI.
  • Individuals comparing different investment options that reference the CDI benchmark.
  • Anyone wanting to estimate their earnings after taxes on CDI-related investments.

Common Misunderstandings: A frequent point of confusion is the difference between the CDI rate and the Selic rate (Brazil’s benchmark policy rate). While related and often moving in the same direction, they are distinct. The Selic rate is set by the Central Bank of Brazil, while the CDI rate reflects market liquidity and interbank lending conditions. Another misunderstanding relates to taxation; many investors overlook how income tax significantly impacts the final net return, especially for shorter investment terms. Our calculator addresses both by allowing you to input an estimated annual CDI and the appropriate tax rate.

CDI Formula and Explanation

Calculating the actual return on an investment tied to the CDI involves a few steps, considering compounding interest and income tax. The core idea is to first determine the gross return based on the CDI rate and then deduct taxes.

The daily CDI rate is typically derived from the annualized rate. For simplicity and practical investment calculations, we often use an approximation that considers the number of days in the period.

Approximated Formula Used:

Gross Return = Investment Amount * ( (1 + (Annual CDI Rate / 365)) ^ Number of Days - 1 )

Taxes Paid = Gross Return * Income Tax Rate

Net Return = Gross Return - Taxes Paid

Final Investment Value = Investment Amount + Net Return

Variables Table:

CDI Calculation Variables
Variable Meaning Unit Typical Range/Example
Investment Amount The principal amount invested. BRL (Brazilian Real) R$ 1,000.00 to R$ 1,000,000.00+
Annual CDI Rate The benchmark interbank deposit rate, annualized. Percentage (%) 10.00% to 13.00% (varies with Selic)
Investment Period The duration the money is invested. Days 1 to 730+ days
Income Tax Rate The rate applied to investment earnings based on holding period. Percentage (%) 0% to 22.5%
Gross Return Total profit before taxes. BRL Calculated based on inputs
Taxes Paid Amount deducted for income tax. BRL Calculated based on inputs
Net Return Profit after deducting taxes. BRL Calculated based on inputs
Final Investment Value The total amount after the investment period, including returns and taxes. BRL Calculated based on inputs

Practical Examples

Example 1: Short-Term Investment

An investor places R$ 5,000.00 in a CDB that pays 100% of the CDI. The current annual CDI rate is 11.65% (0.031917% daily). The investment is held for 90 days. The applicable income tax rate for this period is 22.5%.

  • Investment Amount: R$ 5,000.00
  • Annual CDI Rate: 11.65%
  • Investment Period: 90 days
  • Income Tax Rate: 22.5%

Using the calculator with these inputs:

  • Gross Return: Approximately R$ 147.09
  • Taxes Paid: Approximately R$ 33.09
  • Net Return: Approximately R$ 114.00
  • Final Investment Value: Approximately R$ 5,114.00

Example 2: Long-Term Investment

An investor allocates R$ 20,000.00 to a fund yielding 100% of the CDI. The annual CDI rate is 11.65%. The investment is held for 2 years (730 days). Due to the longer term, the applicable income tax rate drops to 14.5%.

  • Investment Amount: R$ 20,000.00
  • Annual CDI Rate: 11.65%
  • Investment Period: 730 days
  • Income Tax Rate: 14.5%

Using the calculator with these inputs:

  • Gross Return: Approximately R$ 2,579.10
  • Taxes Paid: Approximately R$ 373.97
  • Net Return: Approximately R$ 2,205.13
  • Final Investment Value: Approximately R$ 22,205.13

These examples highlight how the investment duration significantly impacts the net return due to the progressive income tax table for fixed-income investments in Brazil.

How to Use This CDI Calculator

  1. Enter the Annual CDI Rate: Input the current or projected annual CDI rate. This rate fluctuates daily but is often based on the Central Bank’s Selic rate. You can usually find the historical and current CDI rates on financial news websites or your broker’s platform.
  2. Input Your Investment Amount: Enter the total principal amount you plan to invest or have already invested.
  3. Select the Investment Period: Choose the duration of your investment in days from the dropdown menu. Common options like 1 day, 30 days, 180 days, 1 year (365 days), and 2 years (730 days) are provided.
  4. Choose the Income Tax Rate: Select the income tax bracket that applies to your investment’s holding period. Brazil has a regressive tax table for fixed-income investments, meaning longer terms result in lower tax rates. Common rates are 22.5% (up to 180 days), 19.5% (181-360 days), 16.5% (361-720 days), and 14.5% (over 720 days). If your investment is exempt or falls under special circumstances, select 0%.
  5. Click ‘Calculate’: The calculator will instantly display your estimated Gross Return, Taxes Paid, Net Return, and the Final Investment Value.
  6. Use the ‘Reset’ Button: If you need to start over or clear the fields, click the ‘Reset’ button.
  7. Copy Results: Use the ‘Copy Results’ button to easily transfer the calculated figures for reporting or sharing.

Interpreting Results: The calculator provides a clear breakdown of how your investment grows. The Gross Return is the total profit generated. Taxes Paid shows the portion that goes to the government. The Net Return is your actual take-home profit. Final Investment Value is your initial investment plus the net return. Remember that these are estimates; actual returns may vary slightly due to daily fluctuations in the CDI and specific rounding methods used by financial institutions.

Key Factors That Affect CDI Investment Returns

  1. Annual CDI Rate Fluctuations: The most direct factor. Higher CDI rates lead to higher gross returns. The CDI closely tracks the Selic rate, which is influenced by inflation targets, economic growth, and monetary policy decisions by the Central Bank of Brazil.
  2. Investment Horizon (Duration): Crucial for net returns. Longer periods benefit from lower income tax rates (progressive table), significantly increasing the final yield compared to shorter terms, even with the same gross return.
  3. Income Tax Rate: Directly reduces the net profit. The regressive tax table incentivizes longer investments. Choosing the correct tax rate based on the holding period is vital for accurate calculations.
  4. Compounding Effect: Reinvesting earnings (gross returns) allows them to generate further returns over time. The longer the investment, the more pronounced the effect of compounding becomes, accelerating wealth growth.
  5. Inflation: While the CDI is a nominal rate, its real return (after inflation) is what truly matters for purchasing power. A high CDI rate might still yield a low real return if inflation is even higher. Investors often seek investments that consistently beat inflation.
  6. Spread/Fee (for specific products): For products like CDBs or investment funds, the advertised rate is often a percentage *of* the CDI (e.g., 100% CDI, 105% CDI). The difference between the CDI rate and the rate you receive is the spread or fee. A 105% CDI investment will yield more than a 100% CDI investment, assuming the same base CDI rate.
  7. Liquidity: While not directly affecting the rate calculation, the ease with which you can access your funds (liquidity) is a key consideration. Investments with daily liquidity often have slightly lower rates than those with longer lock-in periods.

FAQ: Understanding CDI and Investments

Q1: What is the difference between CDI and Selic?

The Selic rate is Brazil’s benchmark monetary policy interest rate, set by the Central Bank. The CDI rate is the average rate for interbank loans, heavily influenced by the Selic but also by market liquidity. They tend to move together.

Q2: How often is the CDI rate updated?

The CDI rate is calculated daily based on actual interbank transactions. Financial news outlets and data providers typically publish the historical daily, monthly, and annual CDI rates.

Q3: Is 100% of the CDI a good return?

Whether 100% of the CDI is “good” depends on the prevailing CDI rate, inflation, and your investment goals. If the CDI is high (e.g., 11.65%) and inflation is moderate, it can be a solid, low-risk return. However, always compare it to inflation and other investment opportunities.

Q4: Does the calculator consider daily compounding?

Yes, the calculator uses a daily rate derived from the annual CDI and applies it over the specified number of days, approximating compounding. For precise calculations, financial institutions may use slightly different methodologies.

Q5: What happens if I withdraw my investment before the end of the period?

If you withdraw early, you will typically be subject to the income tax rate corresponding to the shorter period you actually held the investment. This could mean a higher tax burden and a lower net return than initially projected for the full term. Some investments might also incur penalties or have reduced yields if withdrawn early.

Q6: Are there any other taxes besides income tax on CDI investments?

For most common fixed-income products like CDBs and funds linked to CDI, income tax (Imposto de Renda) is the primary tax deducted at source upon redemption. IOF (Tax on Financial Operations) may apply only if the investment is redeemed within the first 30 days.

Q7: How does the calculator handle negative CDI rates?

Historically, the CDI rate in Brazil has been positive. In extremely rare hypothetical scenarios of negative rates, the calculator would reflect this, resulting in a negative gross return. The current implementation assumes positive rates.

Q8: Can I use this calculator for investments that pay *more* than the CDI (e.g., 110% CDI)?

This calculator assumes the input rate *is* the CDI rate. To calculate for 110% CDI, you would first calculate the effective rate: 110% of the entered CDI rate (e.g., 11.65% * 1.10 = 12.815%). Then, input this calculated effective rate (12.815%) into the ‘Annual CDI Rate’ field.

© 2023 CDI Calculator. All rights reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *