Capital Gains Holding Period Calculator
Free capital gains holding period calculator: estimate tax savings from holding investments beyond one year and compare short-term vs long-term capital gains rates.
Like this tool? Help keep portfolios.tools free forever.
How It Works
The U.S. tax code treats capital gains differently based on how long you held the asset. If you sell an investment before holding it for one full year (365 days), the profit is considered a short term capital gain and is taxed at your ordinary income tax rate, which can be as high as 37 percent. However, if you hold the investment for at least one year and one day, the profit qualifies as a long term capital gain and is taxed at reduced rates of 0 percent, 15 percent, or 20 percent, depending on your taxable income. Enter a position 350 days old to see the countdown and projected savings from waiting two more weeks. RSU and ESPP lots may have different acquisition dates than purchase date shown on your statement. Specific identification of lots lets you sell higher cost shares first when you cannot wait for long term status on the entire position.
This calculator estimates the tax savings you can capture by waiting until the investment reaches long term status. Enter your purchase price (cost basis), the current or expected sale price, the number of days you have held the asset, and your income tax bracket. The tool instantly shows your short term tax bill, the projected long term tax, and the absolute dollar savings. A countdown shows how many days remain until you qualify for the lower long term rate, or confirms that you are already long term. Compare savings to expected price movement before delaying a sale purely for tax status. A volatile stock that may drop 10 percent before your long term date can cost more than the tax you save by waiting. Tax loss harvesting in other lots may offset gains if you must sell early.
The countdown shows how many days remain until you qualify for the lower long term rate, or confirms that you are already long term. Compare tax savings to expected price movement before delaying a sale purely for tax reasons. A volatile stock that may drop 10 percent before your long term date can cost more than the tax you save by waiting. Tax loss harvesting in other lots may offset gains if you must sell early.
Use Capital Gains Holding Period whenever inputs change: after market moves, new contributions, or revised personal assumptions. Bookmark the page for quick reruns without installing software.
Step by step
- Open Capital Gains Holding Period and enter your current inputs.
- Review calculated outputs and summary tables.
- Adjust assumptions and compare scenarios side by side.
Worked example
The U. Enter the sample inputs described in How it works to reproduce the scenario step by step.
Adjust one input at a time to see sensitivity. Capital Gains Holding Period updates instantly so you can stress test optimistic and conservative assumptions before acting.
When to use this calculator
Reach for Capital Gains Holding Period when estimate tax savings from holding your investment beyond one year: compare short-term vs long-term capital gains rates.. It suits quick what if analysis before trades, allocation changes, or plan updates.
Pair with related tools when the decision spans taxes, liquidity, or multi year projections beyond what one formula captures.
Common mistakes
Copying outputs without checking input units or stale market prices is a frequent error with Capital Gains Holding Period. Confirm tickers, percentages, and dates before acting.
Running a single baseline scenario ignores tail risks. Stress test with conservative inputs and compare against related tools listed below when the decision is material.
The Formula
Short-Term Tax = Gain × Ordinary_Income_Rate
Long-Term Tax = Gain × Capital_Gains_Rate
Tax Savings = Short-Term Tax − Long-Term Tax
Holding Period: ≥ 1 year = long-term, < 1 year = short-term
US federal rates shown. Net Investment Income Tax (3.8 percent) may apply above thresholds. State taxes are additional. Holding period measured trade date to trade date. Cryptocurrency and collectibles may follow different rate schedules not modeled here. Long term rate tier depends on total taxable income including the gain itself.
Limitations and assumptions
US federal rates shown. Net Investment Income Tax (3.8 percent) may apply above thresholds. State taxes are additional. Holding period measured trade date to trade date. Cryptocurrency and collectibles may follow different rate schedules not modeled here. Long term rate tier depends on total taxable income including the gain itself. Capital Gains Holding Period does not replace personalized advice. Fees, slippage, account specific rules, and behavioral constraints may change real world outcomes.
Key terms
- What is the difference between short-term and long-term capital gains
- Short term capital gains are profits from assets held for less than one year and are taxed at your ordinary income tax rate (10 to 37 percent).
- When does a capital gain become long-term
- A capital gain becomes long term after you have held the asset for more than one year (365 days).
- Model assumption
- Selling before the one year mark means your gain is taxed as ordinary income, which can be as high as 37 percent.
Compare alternatives
Use Post Retirement Tax Optimizer when selling appreciated brokerage lots to fund withdrawals in lower bracket years. Use those calculators when capital gains holding period alone does not capture the full decision.
Internal links on portfolios.tools help you chain calculators: run Capital Gains Holding Period first, then validate edge cases with a specialized tool from the related section below.
FAQ
What is the difference between short-term and long-term capital gains?
Short term capital gains are profits from assets held for less than one year and are taxed at your ordinary income tax rate (10 to 37 percent). Long term capital gains apply to assets held for one year or longer and are taxed at preferential rates of 0 percent, 15 percent, or 20 percent depending on your income. The spread can exceed fifteen percentage points for high earners. State taxes may apply on top at ordinary or preferential rates depending on jurisdiction. Some states mirror federal long term treatment while others tax all gains as ordinary income. Always model both layers when deciding whether to defer a sale across a year boundary.
When does a capital gain become long-term?
A capital gain becomes long term after you have held the asset for more than one year (365 days). The holding period starts the day after you acquire the asset and ends on the day you sell it. Wash sale adjustments can reset the clock on repurchased shares, which this calculator does not model. Gifted or inherited shares may use different holding period rules not covered here. Inherited assets generally receive long term treatment regardless of how long the estate held them, with basis often stepped up to date of death value under current federal rules.
How much can I save by waiting for long-term treatment?
Selling before the one year mark means your gain is taxed as ordinary income, which can be as high as 37 percent. Waiting until 365 days qualifies you for long term capital gains rates as low as 0 percent. The exact savings depend on your tax bracket and the size of your gain. A $50,000 gain at the 32 percent ordinary rate versus 15 percent long term saves $8,500 in federal tax alone. Opportunity cost of waiting matters if the stock may fall before you qualify. Run a sensitivity on sale price minus 5 percent to see whether tax savings still justify holding. For large concentrated positions, partial sales below the one year mark while other lots mature can balance liquidity and tax.
Does this calculator include state taxes or the NIIT surtax?
No. This calculator focuses on the tax rate difference between short term and long term capital gains. It does not account for state taxes, the 3.8 percent Net Investment Income Tax (NIIT), or other surtaxes that may apply to high income taxpayers. Add state and NIIT manually when planning sales for high earners above NIIT thresholds. Medicare surtax applies to net investment income including capital gains when modified adjusted gross income exceeds $200,000 single or $250,000 married filing jointly under current federal rules.
What tax brackets does this calculator use?
The 2025 tax brackets used in this calculator are: 10 percent (income at or below $11,925), 12 percent ($11,926 to $48,475), 22 percent ($48,476 to $103,350), 24 percent ($103,351 to $197,300), 32 percent ($197,301 to $250,525), 35 percent ($250,526 to $626,350), and 37 percent (above $626,350). Long term rates map to 0 percent for 10 and 12 percent brackets, 15 percent for 22 through 35 percent brackets, and 20 percent for the 37 percent bracket. Thresholds adjust annually for inflation. Verify current year tables on IRS publications before executing trades near year end.
How do I use the capital gains holding period calculator on a phone or tablet?
The capital gains holding period calculator runs entirely in your mobile browser with the same formulas as desktop. Optional localStorage may remember inputs on your device when enabled in browser settings.
Where is my data stored when I use Capital Gains Holding Period?
Nowhere on our servers. Calculations execute locally in your browser. Optional localStorage saves form fields on your device only and never transmits portfolio numbers over the network.
Should I rely on Capital Gains Holding Period for tax or legal decisions?
No. Capital Gains Holding Period provides educational math only. Tax law, account rules, and personal circumstances vary. Consult a qualified tax or legal professional before transactions with material consequences.
Related Tools
Use Post Retirement Tax Optimizer when selling appreciated brokerage lots to fund withdrawals in lower bracket years. DCA Price Averager helps track blended cost basis across many purchase dates before you pick lots to sell. Pair with Dividend Tax Comparator when planning asset location between taxable and retirement accounts.