Short-Term Capital Gains Tax Calculator
Calculate short-term capital gains tax at ordinary income rates. See federal and state tax on assets held one year or less. Free calculator.
Short-Term Capital Gains Tax Calculator
Background.
Short-term capital gains are profits from selling assets held for one year or less. Unlike long-term gains, which receive preferential tax rates, short-term gains are taxed as ordinary income at the taxpayer's marginal federal rate, which can be as high as 37%. This creates a powerful incentive for investors to hold assets for more than one year, as the tax savings can be substantial. For a taxpayer in the 32% bracket, a $50,000 short-term gain produces $16,000 in federal tax, while the same gain held long-term would cost only $7,500 at the 15% rate—a difference of $8,500 that compounds meaningfully over repeated transactions.
Active traders, day traders, and investors who frequently rebalance portfolios generate predominantly short-term gains. The tax drag can significantly reduce after-tax returns, particularly in high-tax states where state income tax adds another 5% to 13% on top of federal rates. Some traders use tax-advantaged accounts such as IRAs and 401(k)s to avoid short-term gains tax entirely, though these accounts have contribution limits and withdrawal restrictions. High-frequency trading strategies that rely on small price movements can be rendered unprofitable after accounting for the marginal tax on short-term gains.
The marginal bracket stacking is critical for short-term gains. The gain is added on top of the taxpayer's other income, which can push them into a higher bracket. A taxpayer with $85,000 in taxable income who realizes a $30,000 short-term gain moves from the 22% bracket to the 24% bracket for the portion of the gain above $100,525. This means different portions of the same gain may be taxed at different rates. The calculator models this tiered taxation precisely. Understanding short-term gains tax is essential for anyone who trades stocks, flips real estate, or sells business assets within a year of acquisition. The Congressional Budget Office estimates that raising the holding period for long-term treatment would increase federal revenue, though such proposals face strong opposition from investment firms and retail investor advocacy groups.
Short-term gains also affect other tax provisions. They increase adjusted gross income, which can reduce eligibility for deductible IRA contributions, student loan interest deductions, and certain education credits. For retirees, short-term gains can trigger higher Medicare premiums through income-related monthly adjustment amounts. The interaction between short-term gains and the overall tax picture makes it essential to model the full liability before realizing gains.
Professional traders who elect mark-to-market accounting under Section 475(f) can avoid the short-term versus long-term distinction entirely, though this election has significant consequences and must be made by the tax return due date without extension. Understanding the trade-offs between mark-to-market, ordinary capital gains treatment, and entity structures such as S-corporations is essential for full-time traders.
Short-term traders must maintain meticulous records of every transaction, including dates, prices, and commissions, because the IRS can challenge basis calculations during an audit. Tax software specifically designed for active traders can automate much of this record-keeping, but the taxpayer remains responsible for accuracy.
Taxpayers should consult a qualified tax advisor when trading frequently.
Accurate record-keeping is essential for compliance.
What is short-term capital gains tax calculator?
Short-term capital gains are profits from the sale of assets held for one year or less. They are taxed at ordinary income tax rates, which range from 10% to 37% depending on the taxpayer's total taxable income. Short-term gains do not receive the preferential rates available to long-term gains. The holding period is measured from the day after purchase to the sale date.
The statutory framework for short-term gains is found in Internal Revenue Code Section 1222, which defines short-term capital gain as gain from the sale or exchange of a capital asset held for one year or less. Because these gains are taxed as ordinary income, they are subject to the same marginal bracket structure as wages, salaries, and business income. The unit of taxation is the dollar of gain, with no distinction between the source of the gain within the short-term category. Taxpayers report short-term gains on Schedule D of Form 1040, and the tax calculation flows through the ordinary income worksheet. The lack of preferential treatment makes short-term trading particularly costly for high-income taxpayers in states with high marginal rates.
Short-term gains are reported on Schedule D and flow through to Form 1040, Line 7.
Brokers report short-term transactions on Form 1099-B, which is transmitted directly to the IRS.
How to use this calculator.
- Enter the purchase price of the asset.
- Input the sale price.
- Enter your other taxable income for the year.
- Select your filing status.
- Optionally add your state's income tax rate.
- Review the capital gain, marginal rate, and total tax.
- Compare with the long-term capital gains rate to see the tax cost of selling early.
The formula.
Short-term capital gains are taxed using the same marginal bracket system as wages and salaries. The gain is stacked on top of the taxpayer's other taxable income. The first dollar of the gain is taxed at the taxpayer's current marginal rate, and subsequent dollars may push the taxpayer into higher brackets.
The 2024 federal brackets for single filers are 10%, 12%, 22%, 24%, 32%, 35%, and 37%. The exact rate applied to each portion of the gain depends on where the gain falls within these brackets. For example, a single filer with $60,000 in other income realizes a $50,000 short-term gain. The first $40,525 of the gain falls in the 22% bracket (up to $100,525 total income), and the remaining $9,475 falls in the 24% bracket. The effective rate on the entire gain is a weighted average of these marginal rates, in this case approximately 22.38%.
State taxes are typically flat percentages of the gain, though some states have their own tiered systems. The calculator applies a flat state rate for simplicity. The total tax is the sum of federal and state taxes. Net proceeds equal the sale price minus total tax. Dimensional analysis confirms all monetary values are in dollars and rates are dimensionless percentages. The key insight is that short-term gains face the full marginal rate, making them expensive for high-income taxpayers.
Mathematically, the federal tax is the sum over all brackets of min(max(0, total_income minus bracket_floor), bracket_width) multiplied by the bracket rate, minus the tax that would have been owed on other income alone. This subtraction method ensures that only the gain itself is taxed at the incremental brackets. The effective rate equals total tax divided by capital gain, which will always be between the starting marginal rate and the highest bracket reached.
All outputs are denominated in dollars for consistency.
A worked example.
An investor buys stock for $50,000 and sells it eight months later for $65,000. The $15,000 profit is a short-term capital gain because the holding period is less than one year. The investor's other taxable income is $60,000, placing them in the 22% federal bracket. The entire gain is taxed at 22% because it does not push total income above $100,525. Federal tax is $15,000 multiplied by 0.22, which equals $3,300. There is no state tax. Net proceeds are $65,000 minus $3,300, which equals $61,700. If the investor had held the stock for one year and one day, the gain would be long-term and taxed at 15%, producing only $2,250 in federal tax—a savings of $1,050. This example illustrates why tax-conscious investors delay sales when possible and why portfolio turnover is a major determinant of after-tax returns. Even a modest delay of a few weeks can shift treatment from short-term to long-term if the sale is near the one-year anniversary.
Frequently asked questions.
How long is short-term for capital gains?
Can I offset short-term gains with long-term losses?
Do wash sale rules apply to short-term gains?
How do short-term gains affect my tax bracket?
Are short-term gains taxed differently in retirement accounts?
What records do I need for short-term gains?
Can short-term gains trigger the Net Investment Income Tax?
How do I minimize short-term gains tax?
References& sources.
- [1]IRS (2024). Publication 544: Sales and Other Dispositions of Assets.
- [2]IRS (2023). Rev. Proc. 2023-34: Inflation Adjustments for 2024.
- [3]IRS (2024). Topic No. 409: Capital Gains and Losses.
- [4]IRS (2024). Publication 550: Investment Income and Expenses.
- [5]Tax Foundation (2023). State Individual Income Tax Rates and Brackets.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled