Capital Gains Tax Asset Sale Calculator
How to Use This Calculator
- 1
Enter the purchase price and current market value
Use the original acquisition price and the amount you expect to receive from selling the asset.
- 2
Add costs, depreciation, and your tax rate
Additional Costs increase basis, while Depreciation Claimed reduces it. Enter your applicable capital gains tax rate; the calculator does not determine your tax bracket.
- 3
Choose the holding period and review the estimate
Select long-term or short-term. The supplied formula adds a 25% depreciation-recapture estimate only for long-term holdings and does not separately calculate state tax or NIIT.
Example Calculation
An investor bought an asset for $50,000, added $5,000 in costs, claimed $2,000 in depreciation, and sells it for $75,000 at a 20% tax rate after a long-term holding.
Original Purchase Price ($)
50,000
Current Market Value ($)
75,000
Additional Costs ($)
5,000
Depreciation Claimed ($)
2,000
Capital Gains Tax Rate (%)
20
Holding Period
Long-Term (held > 1 year)
Results
Capital Gains Tax
$4,900.00
Capital Gain
$22,000.00
Adjusted Basis
$53,000.00
Net Proceeds
$70,100.00
Effective Tax Rate
6.53%
After-Tax ROI
40.20%
Insights card shows the basis adjustment, recapture estimate, and tax burden.
Tips
Without depreciation, this example’s estimated tax falls to $4,000
Change Depreciation Claimed to $0. Adjusted basis rises to $55,000, gain falls to $20,000, and the model no longer adds the $500 recapture estimate.
Test a short-term sale separately
Change Holding Period to Short-Term while keeping the entered 20% rate. The calculator removes its recapture add-on; it does not automatically replace the rate with your ordinary-income bracket.
Additional costs reduce the modeled gain
Increase Additional Costs by $1,000 to test an eligible basis cost. Adjusted basis rises by $1,000 and the gain subject to the entered rate falls by the same amount.
What this calculator estimates
An asset-sale capital gain is the sale value minus the asset’s adjusted tax basis. This calculator estimates tax by applying your entered rate to positive gain and, for long-term holdings, adding a modeled depreciation-recapture amount; it does not calculate state taxes, NIIT, or every asset-specific tax rule.
How the calculation works
Adjusted basis = Purchase price + Additional costs − Depreciation claimed
Capital gain = Current market value − Adjusted basis
Depreciation recapture estimate = Depreciation claimed × 25% (long-term only)
Estimated tax = max(0, Capital gain) × Entered tax rate + Recapture estimate
Net proceeds = Current market value − Estimated tax
After-tax ROI = (Net proceeds − Original purchase price) ÷ Original purchase price × 100
For the example, adjusted basis is $50,000 + $5,000 − $2,000 = $53,000. The gain is $75,000 − $53,000 = $22,000. At an entered 20% rate, the gain tax is $22,000 × 0.20 = $4,400; the long-term recapture estimate is $2,000 × 0.25 = $500. Total modeled tax is $4,400 + $500 = $4,900, and net proceeds are $75,000 − $4,900 = $70,100.
The after-tax ROI uses net proceeds less the original purchase price, divided by the original purchase price. It does not subtract the additional costs as a separate investment cash outflow, so it is not a full return calculation for an asset with substantial transaction costs or cash flows.
How basis and holding period change the estimate
Additional basis costs reduce the modeled gain, while depreciation reduces basis and increases it. Holding period affects the recapture add-on in this calculator’s formula; actual depreciation rules depend on the type of asset and tax treatment.
| Scenario | Adjusted basis | Gain | Modeled recapture | Estimated tax at 20% |
|---|---|---|---|---|
| No depreciation, $5,000 additional costs | $55,000 | $20,000 | $0 | $4,000 |
| $2,000 depreciation, long-term | $53,000 | $22,000 | $500 | $4,900 |
| $2,000 depreciation, short-term | $53,000 | $22,000 | $0 | $4,400 |
The table follows the calculator’s assumptions, not a universal tax rule. In particular, the 25% recapture figure is a simplified model and should not be treated as the final tax rate on depreciation.
What the estimate leaves out
The calculator’s description refers to federal and state rates and NIIT, but the supplied calculation uses only the entered rate plus the long-term recapture estimate. It does not separately add a state rate or NIIT. It also treats the entered rate as a flat percentage rather than calculating tax across income brackets.
For real property, depreciation recapture rules can distinguish types of gain and property. The IRS property-disposition guidance describes these rules. Use the adjusted basis calculator to review basis adjustments, or the capital gains tax calculator for real estate for a real-estate-specific estimate.
When to use a different calculator
- Estimate a home-sale gain with the home-sale exclusion → Capital Gains on Home Sale Calculator
- Estimate tax on a real-estate disposition and depreciation → Capital Gains Tax Calculator for Real Estate
- Compare capital gains tax without this asset-sale formula → Capital Gains Tax Calculator
- Estimate investment gain yield rather than sale tax → Capital Gains Yield Calculator
Frequently Asked Questions
How do I calculate capital gains tax on an asset sale?
1. Calculate adjusted basis as purchase price plus additional costs minus depreciation claimed. 2. Subtract adjusted basis from the sale value to find the gain. 3. Apply the entered tax rate to positive gain and add any modeled depreciation recapture. The calculator does not determine which costs or depreciation amounts qualify.
What is adjusted basis?
Adjusted basis is the asset’s tax basis after adjustments such as capital improvements and depreciation. The IRS basis guidance explains common basis adjustments and why documentation matters.
Is depreciation recapture always taxed at 25%?
No, 25% is not a universal flat tax on every depreciated asset. The tax treatment depends on the asset and the applicable rules; for certain real property, 25% is a maximum rate for unrecaptured section 1250 gain, not necessarily the rate owed on every dollar. See IRS Publication 544 for dispositions of property.
Does this estimate include state tax or the net investment income tax?
No, the supplied calculation does not add a separate state tax or net investment income tax. Those can change the total tax on a sale, so the result is not a complete federal-and-state tax projection.
Does a short-term asset use the same tax rate as a long-term asset?
Not necessarily; short-term gains are generally taxed under ordinary income rules, while long-term gains can qualify for preferential rates. This calculator asks you to enter one rate and does not determine your federal bracket or calculate progressive tax.
