Capital Gains Tax
Czym jest Capital Gains Tax Calculator?
▾
A capital gains tax calculator estimates the taxable profit that can arise when you sell an investment asset for more than its adjusted basis. In the United States, that usually means comparing what you received from the sale with what the asset effectively cost you after adjustments such as capital improvements, selling costs, and sometimes depreciation. This matters because the federal tax treatment changes based on both the type of asset and how long you held it. Long-term gains, generally from assets held more than one year, can receive lower tax rates than short-term gains, which are usually taxed as ordinary income. The calculation can become more complicated when the asset is a home, rental property, gifted property, inherited property, or a business asset with depreciation recapture. A calculator is useful because it turns a messy pile of purchase records, improvement costs, commissions, and holding-period rules into a cleaner estimate of taxable gain. Investors use these tools before rebalancing portfolios, homeowners use them before selling appreciated property, and real estate investors use them to understand how adjusted basis and depreciation affect their exit math. The result is not just a tax number. It also helps with decisions about timing, loss harvesting, installment planning, and whether a sale is worth doing this year rather than next year. A good capital gains tax calculator should be treated as a planning tool, not a substitute for tax advice, because state taxes, home-sale exclusions, Net Investment Income Tax, and special asset rules can all materially change the final tax owed.
Calkulon makes complex calculations simple — built for students and everyday problem-solvers.
Wzór
▾
General federal planning formula: Gain or Loss = Amount Realized - Adjusted Basis. Amount Realized = Sale Price - Selling Costs. Adjusted Basis = Original Basis + Capital Improvements + Certain Capitalized Costs - Depreciation and other required reductions. Worked example: sell for USD 35,000 with USD 200 of selling costs and a basis of USD 20,000. Amount Realized = 35,000 - 200 = USD 34,800. Gain = 34,800 - 20,000 = USD 14,800. The next step is to determine whether the gain is short-term or long-term and whether any exclusion or special rate applies.Opis zmiennych
▾
| Symbol | Imię | Jednostka | Opis |
|---|---|---|---|
| Gain or Loss | Calculated as Amount | — | Calculated as Amount Realized - Adjusted Basis, which is a key parameter in the capital gains tax calc calculation that directly influences the final computed result |
| Amount Realized | Calculated as 35 | — | Calculated as 35, which is a key parameter in the capital gains tax calc calculation that directly influences the final computed result |
| Adjusted Basis | Obliczone jako oryginalne | — | Calculated as Original Basis + Capital Improvements + Certain Capitalized Costs - Depreciation |
| Gain | Obliczane jako 34 | — | Obliczany jako 34, który jest kluczowym parametrem przy obliczaniu podatku od zysków kapitałowych, który ma bezpośredni wpływ na ostateczny wynik obliczenia |
| Loss | Strata w | — | Strata w kalkulacji, która jest kluczowym parametrem w kalkulacji podatku od zysków kapitałowych i ma bezpośredni wpływ na ostateczny wynik obliczenia |
| Realized | Zrealizowane w | — | Realizowany w kalkulacji, która jest kluczowym parametrem w kalkulacji podatku od zysków kapitałowych, który ma bezpośredni wpływ na ostateczny wynik obliczenia |
| Basis | Podstawa w | — | Podstawa kalkulacji, będąca kluczowym parametrem w kalkulacji podatku od zysków kapitałowych, mającym bezpośredni wpływ na ostateczny wynik obliczenia |
Jak Capital Gains Tax Calculator
▾
- 1Start with the sale price or other amount realized, then subtract selling costs such as commissions and eligible transaction expenses.
- 2Calculate adjusted basis by taking the original basis and adding qualifying capital improvements or acquisition costs while subtracting items such as depreciation when required.
- 3Subtract adjusted basis from the amount realized to determine the raw gain or loss on the sale.
- 4Classify the result as short-term or long-term based on the holding period because federal tax treatment changes once the asset is held for more than one year.
- 5Apply any relevant exclusions, such as the main-home exclusion under Section 121 if the ownership and use rules are met, or special treatment such as depreciation recapture.
- 6Estimate the tax using the applicable federal rate category, then separately consider NIIT and state tax exposure if those rules may apply.
Rozwiązane przykłady
▾
Holding period can change the tax rate even when the dollar gain stays the same.
The sale proceeds are reduced by selling costs to reach the amount realized. Because the asset was held more than one year, the gain is generally eligible for long-term capital gains treatment.
Short holding periods often lose the lower long-term rate benefit.
The math for gain is straightforward here, but the tax category is different because the holding period is one year or less. That distinction often has a larger effect than the raw gain amount.
A qualifying main-home sale is often very different from an investment sale.
The gain exists economically, but federal tax law may exclude up to USD 500,000 for eligible joint filers. This example shows why home-sale calculations should never be assumed to follow ordinary investment-property rules.
Depreciation can reduce basis now but raise tax complexity later.
Adjusted basis is original basis plus improvements minus depreciation. The total gain is simple arithmetic, but the tax breakdown is not, because depreciation-related gain may be taxed differently from the remaining long-term gain.
Zastosowania praktyczne
▾
Planning stock, ETF, and mutual fund sales before year-end tax decisions are finalized..
Estimating the federal effect of selling a home, rental property, or other appreciated asset..
Testing whether basis adjustments, exclusions, or loss offsets materially change a sale decision..
Researchers use capital gains tax calc computations to process experimental data, validate theoretical models, and generate quantitative results for publication in peer-reviewed studies, supporting data-driven evaluation processes where numerical precision is essential for compliance, reporting, and optimization objectives
Przypadki szczególne
▾
Inherited asset basis
Inherited assets often use a basis rule different from ordinary purchase cost, so the gain calculation should not start by assuming the decedent's original price is still the correct basis.
Gifted asset basis
Gifted property can use special basis rules that differ for gains and losses, which means a simple sale price minus your own out-of-pocket cost may be wrong.
Depreciated real estate
Rental or business property can create a gain that is split into ordinary or special recapture-style components and long-term capital gain components, so a one-rate estimate may be misleading.
2025 Federal Long-Term Capital Gains Thresholds
▾
| Stan zgłoszenia | 0% rate up to | 15% rate up to | 20% rate above |
|---|---|---|---|
| Pojedynczy | USD 48,350 | USD 533,400 | More than USD 533,400 |
| Married filing jointly or qualifying surviving spouse | USD 96,700 | USD 600,050 | More than USD 600,050 |
| Head of household | USD 64,750 | USD 566,700 | More than USD 566,700 |
| Małżeństwo składane osobno | USD 48,350 | 300 000 dolarów | More than USD 300,000 |
Często zadawane pytania
▾
What is adjusted basis for capital gains tax?
Adjusted basis is the tax basis of the asset after increases and decreases required by tax rules. It often starts with cost, then rises with qualifying improvements or certain acquisition costs and may fall with depreciation or other adjustments. In practice, this concept is central to capital gains tax calc because it determines the core relationship between the input variables.
How do I know if my gain is short-term or long-term?
In general, a gain is long-term if you held the asset for more than one year before the sale. If you held it for one year or less, it is generally short-term and taxed at ordinary income rates.
What are the federal long-term capital gains rates?
For taxable years beginning in 2025, the IRS Topic 409 page lists 0 percent, 15 percent, and 20 percent as the main federal long-term capital gains rates for most taxpayers. The income thresholds depend on filing status, and some assets can face special rates. This is an important consideration when working with capital gains tax calc calculations in practical applications.
Does selling my main home always trigger capital gains tax?
No. If you meet the ownership and use tests, Section 121 may allow you to exclude up to USD 250,000 of gain for single filers or up to USD 500,000 for certain joint filers. The details matter, especially if part of the property was rented or used for business. This is an important consideration when working with capital gains tax calc calculations in practical applications.
What is depreciation recapture on real estate sales?
When you sell depreciated property, part of the gain may be treated differently because depreciation reduced your basis during ownership. For many real estate sales, the unrecaptured Section 1250 portion can be taxed at a rate up to 25 percent. In practice, this concept is central to capital gains tax calc because it determines the core relationship between the input variables.
Do state taxes or the Net Investment Income Tax matter?
Yes. A federal calculator can still understate the total bill if your state taxes gains or if the 3.8 percent Net Investment Income Tax applies. Those layers are separate from the basic federal gain calculation. This is an important consideration when working with capital gains tax calc calculations in practical applications.
How often should I recalculate capital gains tax before selling?
Recalculate whenever the expected sale price, basis records, filing status, or tax year changes. The estimate should also be refreshed if you discover additional improvements, depreciation records, or loss offsets that affect the final result.
Częste błędy do unikania
▾
- !Ignoring selling costs or basis adjustments and therefore overstating the taxable gain.
- !Treating a short-term sale as if it automatically receives long-term rates.
- !Forgetting that depreciation reduces basis and can change the character of part of the gain.
- !Assuming a federal-only estimate already includes state tax or NIIT.
Wskazówka Pro
Zawsze sprawdzaj wprowadzone wartości przed obliczeniem. W przypadku obliczania podatku od zysków kapitałowych drobne błędy wejściowe mogą się kumulować i znacząco wpływać na wynik końcowy.
Czy wiedziałeś?
The biggest planning win in a capital gains estimate often comes from basis documentation rather than from the formula itself.
Regional Guides
▾
🇺🇸 US▾
🇬🇧 UK▾
🇪🇺 EU▾
Źródła
Read the full guide on how to use this calculator effectively
Czytaj więcej →Ratings & comments
Otrzymuj cotygodniowe porady matematyczne
Dołącz do subskrybentów 12 000+, którzy co tydzień otrzymują wskazówki dotyczące kalkulatora.