Direct treasure calculator
Simulate Selic Treasury, fixed-rate or IPCA+ with regressive IR, IOF and the B3 custody rate.
Looking for the Selic Meta at the Central Bank...
It supposes that you take the title up to the deadline entered with a constant rate. Before expiration, fixed rate and IPCA+ are sold at market price and can yield more or less (even negative). Custody of 0.20% per year (B3), with exemption for up to R$ 10 thousand at the Selic Treasury. educational simulation.
In short: Treasury Direct is the program that allows individuals to buy federal government bonds over the internet. The income paid goes by the regressive table (22.5% to 15%, according to the term), IOF in redemptions with less than 30 days and a custody fee of 0.20% per year charged by B3, with exemption for those who have up to R$ 10 thousand at the Selic Treasury. The calculator seeks the Selic Meta at the Central Bank and shows the net value of its investment.
How to use the calculator
- Choose titleSelic Treasury (post-fixed), fixed-rate Treasury (fixed fee) or IPCA+ Treasury (inflation plus a real rate). Fields change as per choice.
- Value and termHow much will you invest and how many calendar days do you want to stay. The deadline defines the IR rate.
- FeesAt the Selic Treasury, the Selic is filled by the Central Bank (Series 432 of the SGS). In the prefixed and in the IPCA+, enter the fee that appears on the Treasury Direct website on the day of purchase.
- SimulateThe result shows gross income, IR, estimated custody, IOF when any and net profitability per year.

The three title types
| Title | How it yields | What is it for |
|---|---|---|
| Selic Treasure | Accompanies the Selic rate, with very small oscillation | Emergency booking and short-term money |
| PRESENTED TREASURY | Fixed fee set on purchase | Objectives with date, for those who think that interest will fall |
| IPCA Treasure+ | IPCA plus a real rate defined in the purchase | Retirement and long goals, protecting purchasing power |
There are also versions that pay semi-annual interest and the Treasury Educa+ and Treasury Income+ programs, aimed at education and retirement, with their own payment rules. The calculator simulates the coupon version of the three main titles.
The B3 custody rate
B3, which keeps the bonds on behalf of investors, charges 0.20% per year on the amount invested. This rate dropped from 0.25% to 0.20% in January 2022 and is charged twice a year, on the first working day of January and July, or at the redemption. In the Selic Treasury there is an exemption: those who have up to R$ 10 thousand in the title do not pay custody, and those who have the most pay more only on the amount that exceeds R$ 10 thousand. The other securities pay the fee on the entire balance.
Direct Treasury Costs
The calculator estimates the custody month by month on the balance, discounting the exemption when the security is the Selic Treasury. It is an approximation: the exact amount depends on the billing dates and the price of the title on each date.
Go and IOF at Treasury Direct
The securities follow the same regressive fixed income table, provided for in Law No. 361 to 720 days and 15% over 720 days. The proposal for a single rate of MP 1,303/2025 did not come into force, because the measure lost its validity in October 2025. The IOF is only levied on redemptions with less than 30 days, regressively, of 96% of income on the first day up to 3% on the 29th.
Example: R$ 10 thousand at the Selic Treasury for two years
With the Selic target of 13.75% per year (Serie 432 of the Central Bank in October 2026), R$ 10,000 for 730 days and without a premium on the Selic, the calculator estimates about R$ 2,939 of gross income and R$ 441 from IR (15%, because the period exceeded 720 days). As the balance starts at R$ 10,000, custody is close to zero: it is only levied on what interest rates add above that amount. The net is around R$ 2,493, or about 11.8% per year.
With R$50,000 at the IPCA+ Treasury, supposed inflation of 4.5% and a real rate of 7% per year for the same period, the custody on the entire balance exceeds R$ 200 in the two years. It seems little, but in 20 or 30 years of retirement this cost accumulates, and so it's worth including it in the account.
Attention to market marking
The National Treasury buys back the bonds every day, so you can redeem before expiration. But, in the prefixed and IPCA+, the repurchase price depends on the market rates that day. If the interest has risen from your purchase, the security is worth less and you can redeem it with lower income than the contracted one, even negative. If interest rates have fallen, you can earn more. This effect is called mark-to-market. The contracted fee is only guaranteed for those who carry the title to the expiration date.
Direct Treasury or CDB?
The two pay the same to go. The Treasury has the lowest credit risk in the country, because it is the federal government's debt, but it charges custody outside the exemption. The CDB does not have custody at most brokers, it has the FGC guarantee up to R$ 250 thousand per CPF and per institution, and can pay more than 100% of the CDI in smaller banks. To compare with numbers, turn the same value and term in the CDB calculator.
Compare with a CBDSame value and term, with the CDI of the day and the equivalence for LCI and LCA.Open CDB calculatorWhere the treasure enters your plan
- Reservation: The Selic Treasury is the reference. Calculate the right size in emergency booking calculator.
- Long term: The IPCA+ Treasury helps plan the financial independence in today's cash, because it pays real interest.
- Inflation: To understand the IPCA that corrects the title, use the inflation calculator.
- Compare with other assets: vide crypto vs savings, How to invest in gold e How to buy shares to set up a wallet that does not depend on a single type of risk.
The Selic, which moves the Treasury Selic and the CDI, is defined by Copom, the Central Bank's Monetary Policy Committee, in meetings throughout the year. High interest rates in Brazil and the US also mess with dollars, purses and crypto. To follow this context, see the quotation of the dollar today, o Ibovespa and the guide risk management. And if you think about protecting part of the equity in hard currency, the Exchange Calculator with IOF Shows the real cost of buying dollar.
Frequently asked questions
How much does the Selic Treasury earn today?
It yields the Selic rate of the period, more or less a small prize defined at the time of purchase, minus IR and custody. The calculator seeks the current Selic Meta at the Central Bank and shows the net value for its term.
What is the Treasury Direct Custody Rate?
B3 charges 0.20% per year on the amount invested, since January 2022. In the Selic Treasury, up to R$ 10 thousand are exempt, and above that the rate is levied only on the surplus.
Direct Treasury Pay Income Tax?
Yes. The yield follows the regressive table: 22.5% up to 180 days, 20% from 181 to 360, 17.5% from 361 to 720 and 15% over 720 days. Redemptions under 30 days also pay IOF.
Can I lose money at Treasury Direct?
In the Selic Treasury the risk is very low. In the fixed rate and in the IPCA+, those who redeem before the due date can have lower income than the contracted one, even negative, because of the mark-to-market.
Treasury Selic or CDB for the emergency reserve?
Both serve. The Selic Treasury has a federal government credit risk. The solid banking daily liquidity CDB is guaranteed by the FGC and sometimes yields a little more. Compare the numbers in the two calculators.
References
- Central Bank, SGS Series 432: Meta Selic
- Serasa: Treasury Direct, Fees and Taxes (26/03/2026)
- TradeMap: Treasury Direct Custody Rate drops to 0.20% per year (28/10/2021)
- SUNO: Custody fee and exemption from the Selic Treasury up to R$10,000
- Law No. 11,033/2004, updated text (Chamber of Deputies)
- EQI: Chamber removes MP 1,303 from agenda and measure loses validity (08/10/2025)
- Toro Investments: Treasury Direct and Regressive IOF rates
This content is informative and is not an investment recommendation. found an error? Write to contato@boletimbitcoin.com.