Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Estimate tax owed on an investment gain, using separate short-term and long-term capital gains rates.
Rate applied: 15%
$1500.00
How long you hold an investment before selling it significantly changes how the resulting gain is taxed. Gains on assets held one year or less (short-term) are taxed as ordinary income at your regular marginal rate -- the same bracket structure as wages. Gains on assets held longer than one year (long-term) qualify for separate, generally lower preferential rates instead. This is a genuinely different tax regime from ordinary income tax, not just a different rate applied to the same formula.
Enter your capital gain amount, select short-term or long-term holding period, your ordinary marginal tax rate (for short-term gains), and the long-term capital gains rate that applies to your income level (commonly 0%, 15%, or 20% depending on total taxable income).
Short-Term: Tax Owed = Gain × Ordinary Marginal Rate
Long-Term: Tax Owed = Gain × Long-Term Capital Gains Rate
The identical gain results in $900 less tax simply by qualifying for long-term treatment -- a real incentive to hold investments beyond the one-year mark when practical.
Use this before selling an investment near the one-year holding mark to see the real tax difference between selling now (short-term) versus waiting (long-term).
The calculator asks for the gain, so you first need to compute it. A gain is the sale price minus your cost basis, which is generally what you paid plus purchase costs, and less selling costs. As a hypothetical example, you buy shares for $8,000, sell them for $11,500, and pay $50 in fees. The gain is $3,450. Entering that with a 24% ordinary rate for a short-term sale gives $828, while a 15% long-term rate gives $517.50. The difference is $310.50 for holding past the one-year line.
The tool applies a single rate to the gain you enter. Actual tax can be affected by how your gain stacks on top of your other income, which decides where it falls in the long-term rate tiers. Additional taxes, such as the net investment income tax at higher income levels, state income tax on gains, and special rates for collectibles or certain real estate depreciation, are not included. Retirement accounts like IRAs and 401(k)s follow different rules, since gains inside them are generally not taxed as capital gains when sold within the account.
If a sale is close to the one-year mark, compare the two outcomes before selling, but do not let tax alone drive the decision. A price drop while waiting can easily outweigh the tax saved. For large or complex sales, such as business interests or property, talk with a tax professional and confirm rates and thresholds on IRS.gov.
An asset held for more than one year before being sold -- exactly one year or less is still considered short-term.
Your total taxable income for the year determines which bracket (commonly 0%, 15%, or 20% in the US) your long-term gains fall into -- check current IRS thresholds for your filing status.
Primary home sales have special exclusion rules (a significant amount of gain can often be excluded entirely) that this general calculator doesn't model -- consult specific home-sale tax guidance for that case.
Subtract your cost basis, including purchase costs, from the sale price after selling costs. The remainder is the gain to enter.
Generally yes, capital losses can offset capital gains, and limited amounts may reduce other income. The rules are detailed, so check IRS guidance.
Usually yes. Reinvesting in another investment does not by itself defer the tax, except in specific cases the law provides for.
Then there is no gain to enter. The loss may help offset other gains on your return.
Reference: Internal Revenue Service