California and Federal Combined Capital Gains Tax Calculator
Estimate your combined California state tax, federal capital gains tax, and potential Net Investment Income Tax in one place. This calculator is designed for quick planning and helps you see how much of your gain could be lost to taxes before you sell.
Your estimated capital gains tax result
Enter your figures above and click Calculate Combined Tax to view your California and federal estimate.
Expert Guide: How a California and Federal Combined Capital Gains Tax Calculator Works
A California and federal combined capital gains tax calculator helps investors estimate the true after-tax impact of selling appreciated assets. If you own stocks, mutual funds, cryptocurrency, business interests, investment real estate, or other capital assets, the tax result often involves more than one layer. At the federal level, gains may qualify for favorable long-term capital gains rates of 0%, 15%, or 20%, while short-term gains are generally taxed at ordinary income rates. On top of that, high-income households may also owe the 3.8% Net Investment Income Tax, commonly called NIIT. California adds another major layer because the state generally taxes capital gains as ordinary income and does not provide a separate lower long-term capital gains rate for most taxpayers.
That combination is exactly why a single-layer estimate can be misleading. An investor might hear that federal long-term capital gains are taxed at 15% and assume that is the full story. But a California resident may also owe state income tax on the same gain, which can materially increase the total effective tax burden. A sale that appears attractive before taxes may look very different after stacking federal rates, NIIT exposure, and California brackets together. This is where a combined calculator becomes especially useful for planning.
Why California investors need a combined estimate
California is unusual in the way it treats capital gains. Unlike the federal government, California generally does not reward long-term holding periods with special lower rates. Instead, gains are usually taxed under the regular state income tax system. That means your capital gain can push part of your income into a higher California bracket. Even if your federal long-term rate remains favorable, the state impact can still be significant.
- Federal long-term gains may receive preferential treatment.
- Federal short-term gains are usually taxed like ordinary income.
- California generally taxes capital gains as ordinary income.
- High earners may also face the 3.8% NIIT at the federal level.
- The size of the gain and your existing taxable income both matter.
What this calculator estimates
This calculator is built for practical planning. You enter your filing status, taxable income before the sale, the size of your capital gain, whether the gain is long-term or short-term, and whether to include NIIT. The tool then estimates:
- The additional federal tax created by the gain.
- The additional California tax created by the gain.
- The potential NIIT exposure if your income exceeds the applicable threshold.
- Your total combined tax on the sale.
- Your estimated after-tax proceeds from the gain itself.
This approach is much more useful than simply multiplying the gain by a single rate. In reality, many gains are taxed across more than one bracket. For example, a portion of a long-term gain might fall into the 0% federal bracket, then the next portion into 15%, and perhaps the remainder into 20% depending on your taxable income and filing status. California can also apply multiple marginal rates to the same transaction.
Federal long-term capital gains rates for 2024
The federal long-term capital gains system is based on taxable income and filing status. Long-term means you held the asset for more than one year before selling it. Below is a simplified summary of the 2024 federal long-term capital gains thresholds commonly used for planning.
| Filing Status | 0% Rate Up To | 15% Rate Up To | 20% Rate Above |
|---|---|---|---|
| Single | $47,025 | $518,900 | Above $518,900 |
| Married Filing Jointly | $94,050 | $583,750 | Above $583,750 |
| Married Filing Separately | $47,025 | $291,850 | Above $291,850 |
| Head of Household | $63,000 | $551,350 | Above $551,350 |
These thresholds matter because capital gains are layered on top of your existing taxable income. If your taxable income before the sale is already high, more of the gain may fall into the 15% or 20% range. If your income is relatively modest, some or even all of the gain could land in the 0% range at the federal level. This is one reason tax planning before a sale can be so valuable.
Federal NIIT thresholds
The Net Investment Income Tax is a 3.8% federal surtax that can apply to investment gains when modified adjusted gross income exceeds statutory thresholds. While the calculator uses an estimate based on the information you enter, the thresholds themselves are widely referenced and important for high earners.
| Filing Status | NIIT Threshold |
|---|---|
| Single | $200,000 |
| Head of Household | $200,000 |
| Married Filing Jointly | $250,000 |
| Married Filing Separately | $125,000 |
NIIT is not simply a tax on all investment income. It generally applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds the applicable threshold. For planning purposes, many investors treat a large capital gain as potentially NIIT exposed if the sale pushes overall income above the threshold.
How California capital gains tax differs from federal tax
California does not generally distinguish between short-term and long-term capital gains in the same favorable way the federal government does. In most standard individual cases, a capital gain is included in income and taxed at ordinary state rates. This means a California taxpayer could face a relatively low federal long-term rate but still owe meaningful state tax on the same gain. The combined burden can be much larger than expected.
For investors, the practical consequence is clear: if you are deciding whether to sell this year, defer to next year, harvest losses, spread gains across multiple years, donate appreciated property, or relocate before a liquidity event, you need a combined estimate instead of a federal-only number.
Common scenarios where this calculator is useful
- Selling concentrated stock positions after years of appreciation.
- Estimating the tax impact of rebalancing a taxable portfolio.
- Comparing short-term versus long-term sale timing.
- Reviewing an exit from a startup, private company, or RSU-related stock sale.
- Planning a crypto sale after a substantial run-up.
- Testing whether a large gain might trigger NIIT.
- Determining how much cash to reserve for estimated tax payments.
How to read your result correctly
The most important number is often not the headline tax alone. Investors should also look at the effective tax rate on the gain and the estimated after-tax proceeds. A gain of $100,000 that produces $30,000 or more in combined tax can significantly alter your net cash. In planning conversations, this is often the number that matters most because it helps answer real-world questions such as:
- How much cash will I actually keep?
- Should I sell all at once or over multiple tax years?
- Would waiting for long-term treatment save money?
- Should I offset gains with harvested losses?
- Will I need estimated tax payments to avoid penalties?
Important assumptions in any online capital gains calculator
Even a sophisticated calculator has limits. Tax law contains many details that can affect the final result, including the character of the gain, the source of the income, passive activity rules, excluded gain provisions, installment treatment, AMT considerations, business entity structure, residency issues, and the precise definition of taxable income or modified adjusted gross income. For simplicity, this calculator focuses on the core combined tax impact for a California resident evaluating a standard capital gain.
You should treat the output as a planning estimate, not a filed return calculation. If the sale is large, involves equity compensation, real estate depreciation recapture, QSBS, opportunity zones, carried interests, trust planning, or a move into or out of California, professional review is strongly recommended.
Strategies investors often consider to reduce combined capital gains tax
- Hold long enough to qualify for federal long-term treatment. Moving from short-term to long-term can reduce federal tax dramatically.
- Harvest capital losses. Realized losses can offset realized gains and reduce taxable exposure.
- Spread sales across tax years. Breaking up a sale may keep more gain in lower federal brackets.
- Donate appreciated assets. In some cases, donating directly may avoid realizing the gain while supporting charitable goals.
- Review estimated taxes. Large gains can create underpayment risk if taxes are not prepaid appropriately.
- Coordinate with income timing. Bonuses, business income, and Roth conversions can affect how your gain is taxed.
Authoritative government resources
For official rules and current tax guidance, review primary sources such as the IRS Topic No. 409 on capital gains and losses, the IRS guidance on Net Investment Income Tax, and the California Franchise Tax Board capital gains and losses page. These sources are especially helpful when confirming rate treatment, thresholds, and California-specific rules.
Bottom line
A California and federal combined capital gains tax calculator is one of the most practical planning tools available to investors, business owners, and high-income households. The key advantage is realism. Instead of viewing your capital gain through a single federal lens, you can see how federal tax, California tax, and NIIT may work together. That gives you a better basis for deciding when to sell, how much to sell, and how much of your gain you are likely to keep after taxes.
If your transaction is material, run multiple scenarios before making a decision. Compare selling now versus later, short-term versus long-term timing, and smaller staged sales versus a single large liquidity event. Small changes in timing can produce meaningful tax differences, especially for California residents. A calculator like this does not replace a CPA or tax attorney, but it can help you ask sharper questions and avoid expensive surprises.