Investment Tax Calculator

Calculate dividend and capital gains taxes across US, Korea, and Canada.

Country & Filing

Investment Income

$
$
$
Qualified Dividends

Other

$
$
Total Tax

$2,250.00

On $15,000.00 income

Effective Tax Rate

15.0%

Dividend tax: $750.00

After-Tax Income

$12,750.00

Capital gains tax: $1,500.00

Best Country

Canada

Lowest tax: $1,403.13

Tax Breakdown

CategoryIncomeTax RateTax Amount
Qualified Dividends$5,000.0015.0%$750.00
Long-term Capital Gains$10,000.0015.0%$1,500.00

Country Comparison

CountryTotal TaxEffective RateAfter-Tax Income
United States (selected)$2,250.0015.0%$12,750.00
South Korea $2,571.4517.1%$12,428.55
Canada $1,403.139.4%$13,596.87

Understanding Investment Taxes: A Complete Guide

Investing is one of the most effective ways to build long-term wealth, but taxes on investment income can significantly reduce your actual returns. Whether you earn dividends from stocks, realize capital gains from selling assets, or receive interest from bonds, each type of investment income is taxed differently under U.S. tax law. Understanding how these taxes work is essential for maximizing your after-tax returns and making informed financial decisions.

This investment tax calculator helps you estimate the tax impact on your portfolio returns, including capital gains taxes, dividend taxes, and the Net Investment Income Tax (NIIT). By modeling your expected investment returns alongside applicable tax rates, you can better plan your investment strategy and set realistic financial goals.

Capital Gains Tax: Short-Term vs. Long-Term

Capital gains tax applies when you sell an investment for more than you paid for it. The tax rate depends on how long you held the asset before selling.

Short-Term Capital Gains

If you sell an asset held for one year or less, the profit is classified as a short-term capital gain and taxed at your ordinary income tax rate. For 2024, federal ordinary income tax brackets range from 10% to 37%, depending on your taxable income and filing status. Short-term capital gains can push you into a higher tax bracket, making frequent trading costly from a tax perspective.

Long-Term Capital Gains

Assets held for more than one year before selling qualify for preferential long-term capital gains tax rates. For most taxpayers, these rates are significantly lower than ordinary income rates:

  • 0% — Single filers with taxable income up to $47,025 (2024)
  • 15% — Single filers with taxable income between $47,026 and $518,900
  • 20% — Single filers with taxable income above $518,900

The long-term capital gains tax advantage is one of the strongest incentives for buy-and-hold investing. By holding assets for at least a year, you can save thousands of dollars in taxes compared to short-term trading.

Dividend Taxes: Qualified vs. Ordinary Dividends

Dividends are payments that companies distribute to shareholders from their profits. The tax treatment depends on whether the dividend is classified as qualified or ordinary (non-qualified).

Qualified Dividends

Qualified dividends receive the same preferential tax rates as long-term capital gains (0%, 15%, or 20%). To qualify, the dividend must be paid by a U.S. corporation or a qualified foreign corporation, and you must meet a minimum holding period — generally holding the stock for more than 60 days during the 121-day period that begins 60 days before the ex-dividend date.

Most dividends from major U.S. companies and broad-market ETFs like the S&P 500 index funds are qualified dividends, making them highly tax-efficient for long-term investors.

Ordinary (Non-Qualified) Dividends

Ordinary dividends are taxed at your regular income tax rate, which can be as high as 37%. Common sources of ordinary dividends include:

  • Real Estate Investment Trusts (REITs)
  • Money market funds
  • Dividends from stocks held for less than the minimum holding period
  • Certain foreign corporation dividends

Net Investment Income Tax (NIIT)

High-income earners face an additional 3.8% Net Investment Income Tax on top of regular capital gains and dividend taxes. The NIIT applies to the lesser of your net investment income or the amount by which your modified adjusted gross income (MAGI) exceeds the threshold:

  • $250,000 for married filing jointly
  • $200,000 for single filers
  • $125,000 for married filing separately

Net investment income includes capital gains, dividends, interest, rental income, and royalties. For top earners, this means the effective maximum tax rate on long-term capital gains and qualified dividends is 23.8% (20% + 3.8%).

Tax-Loss Harvesting: Reducing Your Tax Bill

Tax-loss harvesting is a strategy where you sell investments that have declined in value to realize a capital loss. These losses can offset capital gains, reducing your total tax liability. Key rules to keep in mind:

  1. Short-term losses offset short-term gains first, then any remaining losses offset long-term gains.
  2. Long-term losses offset long-term gains first, then any remaining losses offset short-term gains.
  3. If your total capital losses exceed your capital gains, you can deduct up to $3,000 per year against ordinary income.
  4. Unused capital losses can be carried forward indefinitely to future tax years.
  5. The wash sale rule prevents you from claiming a loss if you buy a substantially identical security within 30 days before or after the sale.

Tax-loss harvesting is particularly valuable during market downturns. Rather than simply waiting for recovery, you can strategically realize losses to offset gains elsewhere in your portfolio while maintaining your overall asset allocation by purchasing similar (but not substantially identical) investments.

Tax-Advantaged Investment Accounts

One of the most effective ways to minimize investment taxes is to use tax-advantaged accounts. These accounts offer either tax-deferred or tax-free growth:

Traditional IRA and 401(k)

Contributions are tax-deductible, and investments grow tax-deferred. You pay ordinary income tax on withdrawals in retirement. The 2024 contribution limit is $23,000 for 401(k) plans and $7,000 for IRAs, with additional catch-up contributions for those aged 50 and older.

Roth IRA and Roth 401(k)

Contributions are made with after-tax dollars, but qualified withdrawals in retirement are completely tax-free — including all investment gains. This makes Roth accounts ideal for investors who expect to be in a higher tax bracket in retirement or who want tax-free income in their later years.

Health Savings Account (HSA)

HSAs offer a triple tax advantage: contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are also tax-free. After age 65, you can withdraw funds for any purpose, paying only ordinary income tax — making an HSA function like an additional retirement account.

State Taxes on Investment Income

In addition to federal taxes, many states impose their own taxes on investment income. State tax rates on capital gains and dividends vary widely:

  • No state income tax: Alaska, Florida, Nevada, New Hampshire (limited), South Dakota, Tennessee (limited), Texas, Washington, Wyoming
  • High state taxes: California (up to 13.3%), New York (up to 10.9%), New Jersey (up to 10.75%)

When planning your investment tax strategy, always consider your state tax liability in addition to federal taxes. Investors in high-tax states may benefit even more from tax-advantaged accounts and tax-loss harvesting strategies.

How to Use This Investment Tax Calculator

  1. Enter your investment amount and expected annual return rate.
  2. Set your dividend yield and select whether dividends are qualified or ordinary.
  3. Choose your tax filing status and enter your estimated taxable income.
  4. The calculator will determine your applicable capital gains tax rate, dividend tax rate, and whether the NIIT applies.
  5. View your projected after-tax returns, effective tax rate, and the total tax impact over your investment horizon.
  6. Compare scenarios to find the most tax-efficient strategy for your situation.

Tips for Minimizing Investment Taxes

Reducing your tax burden does not require complex schemes. These straightforward strategies can make a meaningful difference over time:

  • Hold investments for at least one year to qualify for long-term capital gains rates.
  • Maximize contributions to tax-advantaged accounts (401k, IRA, Roth IRA, HSA) before investing in taxable accounts.
  • Place tax-inefficient assets (bonds, REITs) in tax-advantaged accounts and keep tax-efficient assets (index funds, growth stocks) in taxable accounts — a practice known as asset location.
  • Use tax-loss harvesting to offset realized gains with realized losses.
  • Avoid frequent trading — every sale is a potential taxable event.
  • Consider municipal bonds for fixed income in taxable accounts, since their interest is exempt from federal income tax.
  • Donate appreciated securities to charity instead of cash to avoid capital gains tax entirely while receiving a full fair-market-value deduction.

Tax-efficient investing is not about avoiding taxes altogether — it is about keeping more of your hard-earned returns. By understanding how investment income is taxed and using the strategies above, you can significantly improve your long-term wealth accumulation. Use this calculator to model different scenarios and find the optimal approach for your financial goals.

Frequently Asked Questions

What is the capital gains tax rate for 2024?
For 2024, long-term capital gains (assets held over one year) are taxed at 0%, 15%, or 20% depending on your taxable income. Short-term capital gains (assets held one year or less) are taxed at your ordinary income tax rate, which ranges from 10% to 37%. High-income earners may also owe an additional 3.8% Net Investment Income Tax.
What is the difference between qualified and ordinary dividends?
Qualified dividends are taxed at the lower long-term capital gains rates (0%, 15%, or 20%), while ordinary dividends are taxed at your regular income tax rate (up to 37%). To be classified as qualified, dividends must come from a U.S. or qualifying foreign corporation and you must meet minimum holding period requirements — generally holding the stock for more than 60 days around the ex-dividend date.
How does tax-loss harvesting work?
Tax-loss harvesting involves selling investments at a loss to offset capital gains elsewhere in your portfolio. If your losses exceed your gains, you can deduct up to $3,000 per year against ordinary income, with remaining losses carried forward to future years. Be aware of the wash sale rule, which disallows the loss if you repurchase a substantially identical security within 30 days.
What is the Net Investment Income Tax (NIIT)?
The NIIT is an additional 3.8% tax on net investment income (capital gains, dividends, interest, rental income) for individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). This means the maximum effective federal rate on long-term capital gains and qualified dividends is 23.8%.
Should I use a Roth IRA or Traditional IRA to minimize investment taxes?
It depends on your current and expected future tax rates. A Traditional IRA provides a tax deduction now but withdrawals are taxed in retirement. A Roth IRA offers no upfront deduction but all qualified withdrawals — including investment gains — are completely tax-free. If you expect to be in a higher tax bracket in retirement, a Roth IRA is generally more advantageous.
Are ETF dividends taxed differently than individual stock dividends?
The tax treatment is the same — what matters is whether the dividend is classified as qualified or ordinary. Most dividends from broad-market U.S. equity ETFs (such as S&P 500 index funds) are qualified dividends taxed at preferential rates. However, ETFs holding REITs, bonds, or certain foreign stocks may distribute ordinary dividends taxed at higher rates.
How can I reduce taxes on my investment portfolio?
Key strategies include: maximizing tax-advantaged accounts (401k, IRA, Roth IRA, HSA), holding investments for over one year for long-term capital gains rates, using tax-loss harvesting, placing tax-inefficient assets in tax-advantaged accounts (asset location), avoiding frequent trading, and considering municipal bonds for tax-free interest income.
Do I have to pay state taxes on investment income?
It depends on your state. Nine states have no state income tax (including Florida, Texas, and Nevada), while others like California (up to 13.3%) and New York (up to 10.9%) impose significant state taxes on investment income. Most states tax capital gains and dividends as ordinary income without the preferential rates available at the federal level.

Related Calculators