CDB Projection: Fixed Rate or Constant CDI
Calculate using the labelled inputs: CDB Projection: Fixed Rate or Constant CDI.
Enter a finite value within the formula’s domain and supported numeric range.
Calculation and assumptions
gross_fixed=P·((1+r/100)^(DU/252)−1); daily_CDI=(1+CDI/100)^(1/252)−1; gross_CDI=P·((1+daily_CDI·participation/100)^DU−1). Round projected gross income to cents; IOF and IR use calendar holding days.
Projection for a single ordinary CDB redemption by a Brazilian-resident individual. Both modes use a 252-business-day year; other contractual day bases are outside this model. Enter business days yourself, separately from calendar holding days used for IOF/IR; business days cannot exceed calendar days. No dates or holiday calendar are inferred. Fixed rate or entered CDI stays constant throughout. In CDI mode participation multiplies the daily rate, not the annual rate. Fixed mode ignores the hidden participation field. Exponentiation uses floating point without B3 daily rounding/truncation; the projected gain rounds to cents and is approximate near half-cent boundaries. This is not a bank settlement engine. IOF and IR then follow the dated tax table with sequential cent rounding; IR base excludes IOF. Rates and participation allow six decimals. Principal and gross gain are capped at 1e12 BRL each. No periodic coupons, fees, losses or exemptions. Amounts in Brazilian reais (BRL). Tax tables checked on 2026-11-16; no current CDI or return forecast supplied.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
IOF uses the smaller of the daily redemption levy and the income-table limit. Rates and rules were checked on 2026-11-16. Sources: https://www.gov.br/receitafederal/pt-br/assuntos/meu-imposto-de-renda/tabelas/2026 https://www.gov.br/investidor/pt-br/educacional/publicacoes-educacionais/livros-cvm/livro-top-planejamento-financeiro-pessoal/
IOF=round(min(gross·IOF_rate(days),days·(principal+gross))/100,2)
Frequently asked questions
How is the result calculated?
gross_fixed=P·((1+r/100)^(DU/252)−1); daily_CDI=(1+CDI/100)^(1/252)−1; gross_CDI=P·((1+daily_CDI·participation/100)^DU−1). Round projected gross income to cents; IOF and IR use calendar holding days.
What assumptions apply?
Projection for a single ordinary CDB redemption by a Brazilian-resident individual. Both modes use a 252-business-day year; other contractual day bases are outside this model. Enter business days yourself, separately from calendar holding days used for IOF/IR; business days cannot exceed calendar days. No dates or holiday calendar are inferred. Fixed rate or entered CDI stays constant throughout. In CDI mode participation multiplies the daily rate, not the annual rate. Fixed mode ignores the hidden participation field. Exponentiation uses floating point without B3 daily rounding/truncation; the projected gain rounds to cents and is approximate near half-cent boundaries. This is not a bank settlement engine. IOF and IR then follow the dated tax table with sequential cent rounding; IR base excludes IOF. Rates and participation allow six decimals. Principal and gross gain are capped at 1e12 BRL each. No periodic coupons, fees, losses or exemptions. Amounts in Brazilian reais (BRL). Tax tables checked on 2026-11-16; no current CDI or return forecast supplied.
How precise are the results?
Monetary totals use two decimal places with the stated rounding rule; other numbers show up to ten significant digits. Display precision does not improve input accuracy. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.