Brazil Tesouro Direto Calculator: Government Bond Growth
Estimate what a Brazilian Tesouro Direto investment grows to at a given annual rate over time — the government bond programme that lets individuals lend to the Treasury at attractive rates, with the gross return before tax.
Adjust the inputs and select Calculate for a full breakdown.
Compare Common Scenarios
How the numbers shift across typical situations for this calculator:
| Scenario | Gross value at maturity | Gross return |
|---|---|---|
| R$10k · 10% · 10yr | $25,937.42 | $15,937.42 |
| R$5k · 12% · 5yr (Prefixado) | $8,811.71 | $3,811.71 |
| R$50k · 8% · 15yr | $158,608.46 | $108,608.46 |
| R$20k · 11% · 20yr | $161,246.23 | $141,246.23 |
How This Calculator Works
Enter the amount invested, the bond's annual rate, and the years to maturity. The calculator compounds the investment and shows the gross value at maturity and the gross return. Tesouro Direto offers different bond types — fixed-rate (Prefixado), Selic-tracking, and inflation-linked (IPCA+) — so use the rate that matches your chosen bond, and remember income tax applies to the gain.
The Formula
Future Value of a Lump Sum
PV = present value, r = annual rate, n = number of years
Worked Example
R$10,000 in Tesouro Direto at 10% a year for 10 years grows to about R$25,937 gross — roughly R$15,937 of return, before income tax. Tesouro Direto is Brazil's online platform for buying federal government bonds in small amounts. The main types are Tesouro Selic (tracks the overnight Selic rate, low volatility, good for reserves), Tesouro Prefixado (a fixed rate locked at purchase), and Tesouro IPCA+ (pays inflation plus a fixed real rate, protecting purchasing power). Because Brazilian policy rates are often high, these government bonds can offer strong nominal yields with sovereign-level safety.
Key Insight
Tesouro Direto democratised access to Brazilian government bonds, and a few features explain its popularity and the gap between gross and net return. Bond types serve different goals: Tesouro Selic floats with the Selic policy rate and barely moves in price, making it the standard home for an emergency reserve; Tesouro Prefixado locks a fixed nominal rate at purchase, so you know the exact maturity value if held to the end (but its market price swings if rates change before maturity); and Tesouro IPCA+ pays the official inflation index (IPCA) plus a fixed real rate, guaranteeing a return above inflation — valuable in a country with an inflation history. Safety is sovereign — these are direct obligations of the National Treasury, considered the lowest-risk investment in Brazil. The crucial things this gross calculator omits are taxes and fees: income tax (IR) on the gain is regressive by holding period — from 22.5% for under 180 days down to 15% for over 720 days — so longer holdings keep more; the IOF tax hits gains on very short holdings (under 30 days) and then disappears; and there's a small annual custody fee charged by B3 (the exchange) on most bonds, plus possibly a broker fee. Liquidity is good — the Treasury guarantees daily buyback — but selling a Prefixado or IPCA+ bond before maturity means accepting the current market price, which can be below purchase if rates rose (marcação a mercado), so 'held to maturity' is when the contracted rate is assured. This calculator shows the gross compounded value at the rate you enter; for your net outcome, subtract the regressive IR on the gain (15% if held over two years), the small custody fee, and note that IPCA+ returns here are nominal only if you've included inflation in the rate.
Tesouro Selic vs Prefixado vs IPCA+: qual escolher
Os três principais títulos do Tesouro Direto atendem objetivos diferentes. Tesouro Selic: pós-fixado atrelado à taxa Selic (taxa básica do Brasil), com liquidez diária e baixa volatilidade de preço. É o título ideal para reserva de emergência — não tem 'marcação a mercado' agressiva e pode ser vendido a qualquer momento próximo ao valor investido.
Tesouro Prefixado: define a rentabilidade no momento da compra (ex: 'Tesouro Prefixado 2030 a 11%/ano'). Se mantido até o vencimento, você sabe exatamente quanto receberá — garantia de rentabilidade nominal. Mas sujeito a marcação a mercado durante o prazo: se a Selic subir, o preço cai (você perde se vender antes do vencimento); se a Selic cair, o preço sobe (você ganha mais que o contratado se vender antes).
Tesouro IPCA+ (NTN-B Principal): híbrido que paga IPCA (inflação oficial) + juro real prefixado (ex: 'IPCA+ 2035 a 6,5%'). Garante poder de compra real ao longo do tempo, ideal para objetivos de longo prazo (aposentadoria, educação dos filhos). Também sujeito a marcação a mercado, mas com proteção contra inflação no horizonte.
Tributação: IR regressivo e isenção de IOF após 30 dias
Os títulos do Tesouro Direto seguem a tabela regressiva do IR sobre renda fixa, baseada no tempo de aplicação. Quanto mais tempo você mantém o investimento, menor a alíquota: 22,5% até 180 dias, 20% entre 181-360 dias, 17,5% entre 361-720 dias, e 15% acima de 720 dias.
Para um investimento mantido por mais de 2 anos, a alíquota efetiva de 15% sobre os ganhos torna o Tesouro Direto fiscalmente competitivo com fundos imobiliários (que são isentos para pessoa física) e mais favorável que ações (15% acima de R$ 20k vendidos no mês, sem prazo mínimo).
IOF: incide apenas se você resgatar nos primeiros 30 dias, seguindo tabela regressiva (96% no dia 1 caindo para 0% no dia 30). Após 30 dias, IOF zero — é mais um motivo para evitar vendas antes do prazo. Custódia da B3: 0,2%/ano sobre o valor investido, cobrada semestralmente — mas isenta para investimentos em Tesouro Selic até R$ 10 mil (desde 2020), o que torna a reserva de emergência praticamente sem custos.
Marcação a mercado: o risco e a oportunidade dos prefixados
Diferença crítica entre Tesouro Selic e os títulos prefixados/IPCA+: a marcação a mercado. O Tesouro Selic acompanha a Selic vigente, então seu preço se ajusta automaticamente — risco mínimo de perda nominal. Os prefixados e IPCA+ têm taxas contratadas que ficam 'travadas', e o preço de mercado oscila conforme a curva de juros se move.
Exemplo: você compra um Tesouro Prefixado 2030 quando a Selic é 11% e a taxa do título é 11,5%. Se a Selic sobe para 14% no ano seguinte, o mercado exige rentabilidades mais altas — o preço do seu título cai porque novos investidores não comprariam algo a 11,5% quando o mercado oferece 14%+. Se você vender, perde. Se mantiver até o vencimento, recebe os 11,5% contratados.
Estratégia : prefixados e IPCA+ são para objetivos com prazo definido (compra de imóvel em 5 anos, aposentadoria em 20 anos). Em cenários de juros altos esperados para cair, comprar prefixado é atrativo porque você 'trava' uma taxa elevada e ainda pode lucrar com a marcação a mercado positiva. Em cenários de juros baixos esperados para subir, prefixado é arriscado — Tesouro Selic é a escolha mais conservadora.
Tabela regressiva do IR sobre Tesouro Direto
Alíquota de IR sobre o RENDIMENTO (não sobre o valor total), retida na fonte no momento do resgate ou vencimento. Quanto mais tempo, menor o IR.
| Tempo da aplicação | Alíquota IR | Em R$ 1.000 de rendimento | Líquido recebido |
|---|---|---|---|
| Até 180 dias | 22,5% | R$ 225 de IR | R$ 775 |
| De 181 a 360 dias | 20,0% | R$ 200 de IR | R$ 800 |
| De 361 a 720 dias | 17,5% | R$ 175 de IR | R$ 825 |
| Acima de 720 dias (2 anos) | 15,0% | R$ 150 de IR | R$ 850 |
IOF zero após 30 dias (tabela regressiva nos primeiros 30 dias). Custódia B3: 0,2%/ano semestral, isenta para Tesouro Selic até R$ 10 mil. Para horizonte de longo prazo (>2 anos), a alíquota efetiva de 15% torna o Tesouro Direto muito competitivo.
Tesouro Selic vs Prefixado vs IPCA+ — quando usar cada um
Os três principais títulos atendem objetivos diferentes. A escolha depende do horizonte de tempo, da expectativa de juros e da tolerância à oscilação de preço.
| Aspect | Tesouro Selic | Tesouro Prefixado | Tesouro IPCA+ |
|---|---|---|---|
| Rentabilidade | Pós-fixada (Selic) | Prefixada nominal (ex: 11,5%) | IPCA + juro real prefixado |
| Risco de perda nominal antes do vencimento | Mínimo | Alto (se juros sobem) | Médio-alto (se juros sobem) |
| Proteção contra inflação | Indireta (Selic segue inflação) | Não protege se inflação >prefixado | Protege automaticamente (IPCA) |
| Liquidez para resgate | Excelente (próximo ao investido) | OK, mas com marcação a mercado | OK, mas com marcação a mercado |
| Ideal para | Reserva de emergência, curto prazo | Objetivo prazo médio (3-5 anos) | Aposentadoria, longo prazo (10+ anos) |
Frequently Asked Questions
How is Tesouro Direto growth calculated?
Compound the amount at the annual rate over the years: value = amount × (1 + rate)^years. R$10,000 at 10% for 10 years grows to about R$25,937 gross, roughly R$15,937 of return — before income tax (IR) on the gain and the small custody fee.
What is Tesouro Direto?
Brazil's online platform for individuals to buy federal government bonds in small amounts. The main types are Tesouro Selic (tracks the Selic rate), Tesouro Prefixado (fixed rate locked at purchase), and Tesouro IPCA+ (inflation plus a real rate). They're the lowest-risk investments in Brazil, backed by the National Treasury.
How is the gain taxed?
By a regressive income tax (IR) based on holding period: 22.5% for under 180 days, falling in steps to 15% for over 720 days. There's also IOF on gains from holdings under 30 days. So the longer you hold, the less tax you pay — this calculator shows the gross return before these taxes.
Which Tesouro bond should I choose?
It depends on your goal. Tesouro Selic suits an emergency reserve (stable price, tracks the policy rate); Tesouro Prefixado locks a known fixed return if held to maturity; Tesouro IPCA+ guarantees a real return above inflation, good for long-term goals. Match the bond — and the rate you enter — to your objective.
Can I sell before maturity?
Yes — the Treasury guarantees daily buyback, so liquidity is good. But selling a Prefixado or IPCA+ bond early means accepting the current market price (marcação a mercado), which can be below what you paid if interest rates rose. The contracted rate is only assured if you hold to maturity.
References & Authoritative Sources
- Tesouro Nacional — Tesouro Direto — programa oficial · consulted May 31, 2026 · Issuer and operator — bond types, current rates, daily liquidity guarantee
- B3 — Brasil, Bolsa, Balcão — Custódia do Tesouro Direto — taxa de 0.2% ao ano · consulted May 31, 2026 · Custodian — semestral fee, exemption for Tesouro Selic up to R$10k
- Receita Federal — IN RFB nº 1.585/2015 — Regressive IR rate on fixed-income investments · consulted May 31, 2026 · Tax authority — regressive IR table (22.5% → 15% by holding period)
Related Calculators
Methodology & Review
The future value compounds a lump sum at the annual rate over the years, compounded annually. It assumes a single investment held to maturity at a constant rate and does not model the regressive income tax (IR) on the gain, the IOF tax on very short holdings, custody fees, or inflation indexing on IPCA-linked bonds.
Updated