This calculator follows one capital gain down two paths under the OZ 2.0 rules, which govern amounts invested in a Qualified Opportunity Fund (QOF) after December 31, 2026. One path invests the whole gain in a QOF and defers the tax. The other pays the tax now and invests what is left at the same pre-tax return. On the default inputs the OZ path ends about $300,241 ahead after 10 years.
How this calculator works
- Deferral
- Up to 5 years
- Step-up
- 10%, or 30% rural
- Exclusion
- After 10 years
- Cap
- 30th anniversary
Each rule comes from section 70421 of Public Law 119-21, as codified in 26 U.S.C. 1400Z-2. The model runs these steps:
- Growth. The investment's value grows once a year at the return you enter: value in year t equals the gain times (1 + return) to the power t.
- Inclusion. Deferred gain is included in the tax year that includes the earlier of a sale or the 5-year anniversary. The model uses year 5, or the exit year if you hold less than 5 years. The amount included is the lesser of the deferred gain or the investment's value at that point, minus your basis. Basis starts at zero.
- Step-up. If you hold at least 5 years, basis rises by 10 percent of the deferred gain, or 30 percent for a Qualified Rural Opportunity Fund. The statute treats the increase as happening before the 5-year inclusion, so it reduces the amount taxed. The tax at inclusion is the included amount times your later rate.
- Exit. Held 10 years or more, the model treats appreciation through the earlier of the sale or the 30th anniversary as excluded, since the investor may elect a basis equal to fair market value. Growth after year 30 is taxed. Held less than 10 years, the gain at exit (exit value minus the included amount and step-up) is taxed at the later rate.
- Compare. OZ result: exit value, minus exit tax, minus the tax paid at inclusion. Pay-now result: the gain minus today's tax, grown at the same return, with the growth taxed at the later rate at exit. The difference is the headline figure.
The result also prints three dates from your investment date: the 5-year inclusion, the 10-year mark and the 30-year cap.
Inputs explained
- Capital gain to invest. The eligible gain you would put into the QOF. If only part of an investment comes from deferred gain, the law treats it as two investments, and only the deferred-gain part gets the benefits. Enter only that part.
- Tax rate on the gain today. Your combined rate if you paid now: federal, net investment income tax and state. The 23.8 percent starting value is a placeholder; replace it with your own.
- Tax rate when deferred gain comes due. The rate at inclusion. The model also uses it for exit gains and for the growth in the pay-now path.
- Annual return before tax. One rate for both paths, compounded yearly.
- Years held. More than 0 and no more than 40.
- Investment date. Used only to print the three dates. The model applies OZ 2.0 rules to any date you enter.
- Discount rate. Optional. It feeds a present-value version of the difference that the API returns as
advantage_pv. The results on this page are in nominal dollars. - Qualified rural opportunity fund. Check it for the 30 percent step-up. A QROF must hold at least 90 percent of its assets in property in zones made up entirely of rural areas.
Worked example: the default inputs
Hypothetical example
Suppose an investor puts a $1,000,000 gain into a QOF on March 1, 2027. Both tax rates are 23.8 percent, the return is 6 percent a year, and the investor sells after 10 years.
| Step | OZ 2.0 path | Pay-now path |
|---|---|---|
| Tax paid at the start | $0 | $238,000 |
| Amount invested | $1,000,000 | $762,000 |
| Value at year 5 | $1,338,226 | n/a |
| Gain included at year 5 (after 10% step-up) | $900,000 | n/a |
| Tax at year 5 | $214,200 | n/a |
| Value at year 10 | $1,790,848 | $1,364,626 |
| Tax at exit | $0 (all $790,848 of growth excluded) | $143,425 |
| Growth given up on the $214,200 paid at year 5 (after tax, years 5 to 10) | $55,205 | n/a |
| After tax | $1,521,442 | $1,221,201 |
The difference is $300,241 in the OZ path's favor. The calculator prints inclusion on Mar 1, 2032 and the 10-year mark on Mar 1, 2037; the 30-year cap date appears only for holds of 30 years or more. With the rural box checked, the included amount falls to $700,000, the year-5 tax to $166,600, and the difference rises to $360,109.
Limits and assumptions
- Both paths earn the same pre-tax return, compounded yearly. Fees, borrowing, depreciation and recapture are ignored.
- The year-5 tax is paid from outside funds. The calculator charges the OZ path for the after-tax growth that cash would have earned in the alternative from year 5 to exit. Enter a discount rate to see the difference in today's dollars.
- Inclusion is assumed at year 5 or at exit. A gift, distribution or other inclusion event could end the deferral earlier.
- The tax rates are yours. The model does not know your bracket, future law or how your state treats the investment. North Carolina, California and New York, for example, do not follow the federal deferral in full. See state tax conformity.
- For the rural step-up, the model assumes the fund qualifies as a QROF throughout. It does not test the 90 percent rural requirement.
- The Treasury regulations have not yet been updated for the 2025 law, and Notice 2026-55 asks how the 10-year election should work for investments held past their 30th anniversary. Results past year 30 rest on the statute alone.
- For an investment made on or before December 31, 2026, use the 2026 gain inclusion calculator instead. Those OZ 1.0 investments have no 5-year rolling deferral.
What to confirm with a tax adviser
- Whether your gain is eligible and when your 180-day window opens.
- Your federal and state rates at inclusion and at exit.
- How you will pay the year-5 tax, and how the fund's distributions, debt and depreciation change your numbers.
- Whether a rural fund will meet the 90 percent rural test for as long as you hold.
This model estimates how the rules work on the numbers you enter. It is not tax or investment advice, and it does not evaluate any fund.
Common questions
How much tax does an OZ 2.0 investment save?
It depends on the gain, your tax rates, the fund's return and how long you hold. With the calculator's defaults (a $1,000,000 gain, 23.8 percent rates, 6 percent annual return, 10 years), the OZ path ends about $300,241 ahead of paying the tax now, after counting the growth the year-5 tax payment gives up. Change any input and the result changes.
When is the deferred gain taxed under OZ 2.0?
For money invested after December 31, 2026, deferred gain is included in income in the tax year that includes the earlier of a sale of the investment or the date 5 years after the investment was made. Other inclusion events can end the deferral early. The calculator assumes inclusion at year 5, or at exit if you hold less than 5 years.
Does the calculator work for investments made in 2026?
No. It applies the OZ 2.0 rules whatever date you enter. Investments made on or before December 31, 2026 are OZ 1.0 investments whose deferred gain is included on December 31, 2026. Use the 2026 gain inclusion calculator for those.
What does the 30-year cap mean?
For OZ 2.0 investments held at least 10 years, the investor can elect a basis equal to fair market value at sale. If the investment is held past its 30th anniversary, basis is fixed at fair market value on that anniversary, so growth after year 30 is taxed. The calculator taxes that later growth at the rate you enter.