Investing & Wealth

Capital Gains Holding Period Calculator

Classify a gain as short- or long-term from the purchase and sale dates of the asset.

What this calculator does

The Capital Gains Holding Period Calculator estimates your result instantly from the values you enter, using standard investing & wealth formulas. Classify a gain as short- or long-term from the purchase and sale dates of the asset. Calculations run in your browser, so nothing you type is sent to a server, and the output is an estimate for planning rather than financial advice.

Capital Gains Holding Period Calculator

Result

—
Days Held
—
Classification

About Capital Gains Holding Period Calculator

The Capital Gains Holding Period Calculator counts the number of days between a purchase date and a sale date and classifies the holding as long-term or short-term. From the two dates you enter, it computes the days held and labels a holding of more than 365 days as long-term and anything up to a year as short-term.

The holding period matters because assets held beyond a year generally qualify for lower long-term capital-gains treatment, so knowing which side of the one-year line a sale falls on is a common planning question. The calculator reports the day count and the classification from your two dates without applying any tax rate.

Enter the purchase date and the sale date, press Calculate, and read the days held and whether the holding is long-term or short-term.

Formula & Mathematical Calculation

Days Held = Sale Date − Purchase Date

Classification = Long-Term if Days Held > 365, otherwise Short-Term

Calculation Example

Buying on 2023-01-01 and selling on 2024-06-01 is 517 days — more than 365, so the holding is classified Long-term (> 1 year).

Key Benefits

  • Counts the exact number of days between purchase and sale dates.
  • Classifies the holding as long-term or short-term against the 365-day line.
  • Rejects a sale date earlier than the purchase date as invalid.
  • Uses only the two dates you enter, applying no tax rate or assumption.

How to Use this Calculator

  1. Enter the purchase date
    Select or type the date you acquired the asset in the Purchase Date field, for example 2023-01-01.
  2. Enter the sale date
    Select or type the date you sold or plan to sell in the Sale Date field, for example 2024-06-01.
  3. Press Calculate
    The tool subtracts the purchase date from the sale date to count the days held and compares that to 365 for the classification.
  4. Read the classification
    A day count above 365 reads Long-term; anything up to a year reads Short-term.

Assumptions & Limitations

What the calculation assumes

  • Every value you enter is treated as an exact, known amount.
  • Rates and contributions are assumed to stay constant for the whole period unless the form asks for them separately.
  • Results use standard financial formulas and ignore fees, penalties and promotional terms that are not entered above.
  • Inflation, tax changes and market volatility are not modelled unless a field for them is provided.
  • Amounts are unit-agnostic: results are returned in the same currency you enter.

What it does not cover

  • Capital Gains Holding Period Calculator produces estimates for education and planning, not a quote, offer or professional advice.
  • Real-world outcomes differ when fees, taxes, rounding rules or provider-specific terms apply.
  • Local regulations and tax rules vary by country and change over time; verify current rules for your jurisdiction.
  • Figures are only as accurate as the inputs you supply — check them before acting on the result.
  • For decisions with lasting financial impact, confirm the numbers with a qualified professional.

Frequently Asked Questions

It subtracts the purchase date from the sale date to get the number of days held. From 2023-01-01 to 2024-06-01 that is 517 days.

The calculator labels a holding of more than 365 days as long-term and a holding of 365 days or fewer as short-term. The 517-day example is therefore long-term.

Long-term holdings generally qualify for lower capital-gains rates than short-term holdings. The tool shows only the day count and label; it does not compute the tax owed.

That is not a valid holding period, so the calculator stops with 'Sale date must be after purchase date.' Enter dates in the correct order, and make sure both are valid dates.

Free to use, no account needed. Calculations run in your browser, so nothing you type is sent to a server. Results are estimates — how we build and check our calculators.