HomeExpertly
www.homeexpertly.com

Capital Gains Tax Calculator

Estimate the federal and state tax on any capital asset sale — stocks, real estate, crypto, or business assets. It applies current IRS brackets, adds the 3.8% net investment income surtax where it lands, and shows exactly how much more a short-term sale costs than waiting past the one-year mark.

Federal rates come from the IRS inflation-adjusted schedules for the tax year you pick. State tax is applied as a flat rate on the gain, which most states approximate but few match exactly. For planning purposes only, not tax advice.

The Sale & Your Tax Picture
1 The Asset You Sold
$
$
$
$
Selling costs are agent commission, title, transfer tax and closing fees. Improvements are capital work that added to the property — a new roof counts, repainting does not.
$
Rental and business property only. It lowers your basis and comes back at up to 25% as unrecaptured Section 1250 gain. Leave at 0 for stocks and crypto.
2 Holding Period & Losses
The clock starts the day after you buy and ends on the sale date. One day short of 366 is a short-term sale.
$
Losses realised this year plus any carryforward from prior years.
3 Your Tax Profile
$
Wages, self-employment, interest and rents — everything except this sale. Capital gains stack on top of it, so this number sets your rate.
$
Filled with the standard deduction for your status. Type over it if you itemize.
%
Tax On This Sale
Total Tax Owed On The Gain
—
Enter your sale to begin
Taxable Gain —
Federal Tax —
State Tax —
From Sale Price To Taxable Gain
Sale price—
Less selling costs—
Net proceeds—
Adjusted basis —
Capital gain—
Less capital losses applied—
TAXABLE GAIN—
What You Owe, Line By Line
Federal capital gains tax—
Depreciation recapture up to 25%—
Net investment income tax —
State tax —
TOTAL TAX ON THE SALE—
GAIN YOU KEEP AFTER TAX—
Effective Rate On Gain —
3.8% Surtax Applies To —
Cash After Tax —
Sell Now Or Wait Past One Year
Sold at a year or less taxed as ordinary income—
Sold after more than a year 0% / 15% / 20% rates—
Effective rate, short-term vs long-term—
COST OF SELLING TOO EARLY—

Same sale, same numbers, one variable: the calendar. Depreciation recapture and the 3.8% surtax apply either way, so the gap you see is purely the rate on the gain itself.

Where The Tax Goes
Federal, surtax and state — both holding periods
Federal Rate Bands On Your Gain
RateTaxable Income BandYour Gain In ItTax

Bands are measured against total taxable income, not the gain alone. Your other income fills the lower bands first, which is why the gain often lands higher than expected.