Brazil Tesouro Direto Simulator
Choose a Tesouro bond, the amount, rate and term to see the net value at maturity, the effect of selling early at a different market rate, custody fees and income tax.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Choose the bond
Selic, Prefixado, IPCA+.
- 2Enter the amount
To invest.
- 3Enter the rate
At purchase.
- 4Set the term
Years to maturity.
- 5Simulate a sale
Year and market rate.
- 6Compare results
Hold or sell.
About this tool
Tesouro Direto is the federal government programme that lets individuals buy Brazilian government bonds online, from about R$30, through any bank or broker. There are three main families. Tesouro Selic pays the Selic rate, the basic interest rate of the economy; its price changes very little, so it suits emergency funds and short-term goals. Tesouro Prefixado pays a fixed rate agreed on the day of purchase, so you know exactly how much you will receive at maturity. Tesouro IPCA+ pays inflation measured by the IPCA plus a fixed real rate, protecting purchasing power over long periods, with versions that pay half-yearly coupons. The rate is guaranteed only if you hold the bond until maturity. Before that, the Treasury buys bonds back every day at the market price, which depends on current rates: this is called mark-to-market (marcação a mercado). If market rates rise after you buy a Prefixado or IPCA+ bond, its price falls and selling early may mean a loss; if rates fall, the price rises and you can sell with a gain above the contracted rate. Income tax on the gain follows the regressive table, from 22.5% to 15%, with IOF in the first 30 days, and B3 charges a custody fee of 0.20% a year on the amount invested, waived for Tesouro Selic up to R$10,000. This simulator projects your bond to maturity, deducts custody and income tax, and simulates an early sale at a different market rate to show the price, the mark-to-market effect and the net result.
Who this is for
New investors choosing their first bond, people planning retirement with IPCA+, and anyone who wants to understand why their Tesouro balance moves.
Bond types
| Bond | Pays | Best for | |---|---|---| | Tesouro Selic | Selic | Emergency fund, short goals | | Tesouro Prefixado | Fixed rate | Known amount at a date | | Tesouro IPCA+ | Inflation + real rate | Long-term goals, retirement |
Why prices move
For a Prefixado, the price is the value at maturity divided by (1 + market rate) raised to the remaining years. When the market rate rises, the denominator grows and the price falls. Longer bonds move more.
Practical tips
Match the maturity to your goal, so you do not need to sell early. Spread purchases over time. Check the rate and the price on the Tesouro Direto site before buying.
Coupons
Some IPCA+ and Prefixado bonds pay half-yearly interest (juros semestrais). Each coupon is taxed when paid, at the regressive rate for the time since purchase, which reduces compounding but provides regular income.
Limits
Rates in the example are illustrations. Real prices use business days and the official rounding. Not investment advice.
Worked example
A R$30,000 Prefixado at 13.2% for four years nets about R$46,168 at maturity; selling after 18 months when rates rise to 15% gives about R$1,397 less than the accrued value.
Quick facts
- Category: Money & Tax
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: Tesouro Direto; B3
Frequently asked questions
What is Tesouro Direto?
A programme to buy federal government bonds online from about R$30.
Which bond is best for an emergency fund?
Tesouro Selic, because its price barely changes.
Can I lose money in Tesouro?
Only if you sell Prefixado or IPCA+ bonds early after rates rise.
What is the custody fee?
0.20% a year charged by B3, waived for Tesouro Selic up to R$10,000.
How is income tax charged?
On the gain, with the regressive table from 22.5% to 15%.
Is my data stored online?
No, it stays in this browser.
