Capital Gains Holding Period Calculator
See whether your gain is short-term or long-term, and what you'll owe.
Result
How it is calculated
The tool takes prices and a day count, not dates. gain = sale_price − purchase_price. The holding period is long-term when holding_period_days is greater than 365; 365 days or fewer is short-term. It then picks the matching rate you typed and computes tax = max(gain, 0) × rate ÷ 100 and net_after_tax = gain − tax. A loss produces a negative gain, $0.00 tax and a net equal to the loss; it does not model offsetting losses against other gains. Both rates are your own percentages, because the correct rate depends on country, year and your total income; the 365-day cut-off is built in and may not match your jurisdiction. Fees, cost-basis adjustments and surtaxes are not included. Negative prices or days, and rates below 0 or above 100, return no result.
Worked example
You bought shares for $10,000 and sold them for $14,000 after 400 days. Your short-term rate is 24% and your long-term rate is 15% (example rates). Gain: 14,000 − 10,000 = $4,000.00. Since 400 is more than 365, the sale counts as long-term, so the 15% rate applies. Tax owed: 4,000 × 15% = $600.00. Net after tax: 4,000 − 600 = $3,400.00.
At exactly 365 days the same sale would be short-term and cost $960.00.
Common mistakes
- Entering a long-term rate in both rate boxes. The boxes are separate on purpose: the short-term rate is used for 365 days or fewer, and the long-term rate above that.
- Counting from the wrong day. The tool needs the number of days between purchase and sale, and exactly 365 days is still short-term here, so one extra day changes the rate.
- Entering the gain instead of the purchase and sale prices. Both fields are prices; the tool subtracts them itself.
- Using the unit price instead of the total. For 100 shares enter the total paid and the total received, not the price of one share.
- Reading the figures for a loss as an error. A sale at $7,500 against a $10,000 purchase shows a gain of -$2,500.00, $0.00 tax and a net of -$2,500.00; whether that loss is deductible depends on your tax rules.
- Typing a rate as a fraction such as 0.15 for 15%. The fields are percentages, and anything above 100 gives no result.
Sources
- Topic no. 409, Capital gains and losses — Internal Revenue Service
About this calculator
The capital gains holding period determines whether a profit from selling an asset is taxed as a short-term or long-term capital gain. Under U.S. federal tax rules, an asset held for one year or less generates a short-term gain, taxed at your ordinary marginal income tax rate (as high as 37% at the top federal bracket), while an asset held for more than one year qualifies for preferential long-term capital gains rates (0%, 15%, or 20% depending on taxable income) — a difference that can easily be worth thousands of dollars on the same profit.
Investors, traders, and tax preparers use this calculation to decide whether to hold an appreciated position a little longer to cross the one-year threshold before selling, a strategy sometimes explicitly planned around in year-end tax planning, since selling one day before the anniversary of purchase versus one day after can move the same dollar of gain from the top ordinary rate down to a much lower long-term rate.
This calculator takes your purchase price, sale price, the number of days you held the asset, and the short-term and long-term tax rates you enter yourself. It treats a holding period of more than 365 days as long-term, applies the matching rate to the gain, and returns the tax owed and the net amount after tax. It does not look up your bracket, so enter the rates that apply to you; if you only have dates, count the days between them first.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments