Introduction
A capital gain is the money you make when you sell something you own. Like stocks, a home you rent out or digital money. For a price than you bought it for. If that money is taxed and how much you pay depends on how long you kept the thing you sold how money you make overall and the way you file your taxes. This guide explains how capital gains work goes over the tax rates for the year 2025 and 2026 and shows you how to use the capital gains calculator on MultiCalculators.com to get an idea of what you might owe.
Quick Answer
A capital gain is usually the amount you get when you sell something minus what you paid for it after any adjustments. If you kept the item for, than one year the gain is taxed using long-term federal tax rates that can be 0 percent, 15 percent or 20 percent. These rates depend on how money you make and how you file your taxes. If you owned it for one year or less the gain is treated like income. A capital gains calculator can help turn these rules into an estimate.
Capital Gains Calculator Overview
The MultiCalculators.com capital gains calculator is made to take the math out of figuring out your tax. Of doing IRS worksheets on your own you put in some information, about your sale and your income and the calculator figures out your gain and the tax that might be due.
To get the most out of it it’s good to know what a capital gain really is, how the math works and what the result shows.. What it doesn’t show. The sections below explain all of that.
What Are Capital Gains?
When you sell something like stocks or real estate you might make some money from it. This money is called a capital gain. A capital gain is the profit you get from selling things like stocks, bonds or cryptocurrency. You can also get a capital gain, from selling funds or other property you own.
You get a capital gain when you sell something for money than you paid for it. For example if you bought a house for an amount of money and then you sell it for a higher amount you have a capital gain. But if you sell the house for an amount than you paid for it you do not have a capital gain you have something called a capital loss instead. A capital gain is basically the money you get from selling a capital asset, which is something you own like real estate or stocks.
Gains fall into two categories based on how long you owned the asset:
Short-term capital gain — asset held one year or less
Long-term capital gain — asset held more than one year
This distinction matters because the two categories are taxed very differently at the federal level.
What Is Capital Gains Tax?
Capital gains tax is the tax that the government charges at the level and also in many states. This tax may apply to a profit you make when you sell something. It’s important to understand two things that are often mixed up.
A capital gain is the money you make when you sell an asset. Capital gains tax is the tax that might be charged on that money according to the rules from the government at the level and also from some states.
A capital gain of $10,000 does not mean you automatically have to pay $10,000 or any set percentage of that amount, in taxes. How much you actually pay depends on how you owned the asset your total income, how you file your taxes and other things that are explained further down.
How to Use the Capital Gains Calculator
- To figure out your gain from selling an asset you need to tell us the price you paid for the asset.
- Enter the price you paid for the asset or the adjusted cost basis of the asset.
- Then enter the price you sold the asset for or the total amount of money you got from selling the asset.
- If you had any costs when you sold the asset like paying someone to help you sell it enter those costs now.
- Tell us how long you owned the asset or enter the dates when you bought and sold the asset.
- If you want to know how tax you might owe enter your taxable income and your filing status so we can give you a better idea of what you might owe, not just how much gain you made from selling the asset.
- Choose the year you are paying taxes for.
- If we can help you figure out the state tax you might owe choose the state where you live.
- Look at the estimated gain, from selling the asset and the estimated tax you might owe.
- Before you use these numbers to make financial decisions read the notes about what we assumed when we did the calculations and what the limits are of our estimates.
Required Inputs
| Input | Meaning |
| Purchase Price | Amount originally paid for the asset |
| Sale Price | Amount received from selling the asset |
| Cost Basis | Tax basis used to calculate the gain (may be adjusted from the purchase price) |
| Selling Expenses | Eligible costs directly associated with the sale |
| Holding Period | How long the asset was owned |
| Filing Status | Your tax filing category |
| Taxable Income | Income used to determine which capital gains rate applies |
| Capital Losses | Eligible losses that may offset gains |
| State | Used if estimating state-level tax |
| Tax Year | The year whose tax rules apply |
You do not have to fill out every field to get an estimate. If you just put in the purchase price of the property the sale price of the property and the holding period you will get the gain amount. However to get a tax estimate you will need to include your income and your filing status, for the tax estimate. The purchase price and sale price are important for the estimate and the holding period is also necessary.
Capital Gains Formula
The basic formula for a capital gain is:
Capital Gain = Sale Proceeds − Adjusted Cost Basis − Eligible Selling Expenses
- Sale proceeds — what you received from selling the asset
- Cost basis — your original purchase price, adjusted for things like reinvested dividends, improvements, or depreciation where applicable
- Selling expenses — eligible costs directly tied to the sale, such as brokerage or closing costs
- Capital gain — the resulting profit, before applying tax rates or offsets like capital losses
Step-by-Step Example
Here’s a simple example using fictional numbers to show how the gain itself is calculated:
| Item | Amount |
| Purchase price | $20,000 |
| Sale price | $32,000 |
| Selling expenses | $1,000 |
| Capital gain | $11,000 |
Capital Gain = $32,000 − $20,000 − $1,000 = $11,000
This eleven thousand dollars is the gain itself. Not the tax that is owed on it. The real tax amount depends on how the asset was held, your taxable income and your filing status as explained next.
How Capital Gains Tax Is Calculated
A capital gains tax estimate typically depends on several factors working together:
- Sale price or proceeds
- Cost basis
- Selling expenses
- Holding period that’s short-term, versus long-term
- Filing status
- Taxable income
- Applicable federal long-term capital gains rate
- Other ordinary income
- Capital losses that are available to reduce the gain
- Potential Net Investment Income Tax that might apply
- Applicable state tax rules
- Tax year
Long-term capital gains are added to your income that is taxed. The amount you pay in taxes is not just based on the long-term capital gains. It is based on your income, from everything including the long-term capital gains and where that total falls in the tax brackets. Your total income is made up of your income plus the long-term capital gains. The tax rate is determined by where this income lands in the tax brackets.
Short-Term vs. Long-Term Capital Gains
| Factor | Short-Term | Long-Term |
| Holding period | One year or less | More than one year |
| Federal tax treatment | Taxed at ordinary income tax rates (10%–37%) | Taxed at preferential rates: 0%, 15%, or 20% |
| Basis for rate | Your regular income tax bracket | Total taxable income and filing status |
If you own something for than a year before you sell it you will usually pay less tax on the money you make from selling it. This is because long-term rates are generally lower. So holding onto an asset like that for than a year can really help reduce the tax on the gain you get from selling the asset.. The tax is not the only thing you should think about when you are deciding what to do with your investment, in the asset.
Federal Long-Term Capital Gains Rates for 2025
For years that start in 2025 the tax rate on most net capital gain is not higher than 15% for most individuals. For some people the tax rate is 0% when their income is below limits. When income is above the top of the 15% bracket the tax rate is 20%, for that part of the income.
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
| Single | Up to $48,350 | $48,351–$566,700 | Above $566,700 |
| Married Filing Jointly | Up to $96,700 | $96,701–$600,050 | Above $600,050 |
| Head of Household | Up to $64,750 | $64,751–$566,700 | Above $566,700 |
Federal Long-Term Capital Gains Rates for 2026
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
| Single | Up to $49,450 | $49,451–$545,500 | Above $545,500 |
| Married Filing Jointly | Up to $98,900 | $98,901–$613,700 | Above $613,700 |
| Head of Household | Up to $66,200 | $66,201–$579,600 | Above $579,600 |
<cite index=”26-1″>IRS Revenue Procedure 2025-32 sets the 2026 long-term capital gains thresholds: the 0% bracket ends at $49,450 of taxable income for single filers, $98,900 for married couples filing jointly, $49,450 for married filing separately, and $66,200 for heads of household. The 15% bracket extends to $545,500 for single filers, $613,700 for joint filers, $306,850 for married filing separately, and $579,600 for heads of household.</cite> Income above the top of the 15% bracket is taxed at 20%.Short-term gains don’t have their own bracket — they’re simply added to your other income and taxed at your regular marginal rate, which ranges from 10% to 37% depending on income and filing status.
A few exceptions exist: People who own things like art, coins and precious metals can make money from them. If they sell these collectibles they have to pay taxes on the money they make. The good thing is that the taxes on gains from collectibles like art, coins and precious metals are usually not too high. They are generally capped at a rate of 28 percent. This is true no matter how long they owned these collectibles. The same thing is true for the part of certain qualified small business stock. The taxes on gains, from qualified small business stock are also capped at a maximum 28 percent rate.
Net Investment Income Tax (NIIT)
People who make a lot of money may have to pay a 3.8% Net Investment Income Tax. This is in addition to the capital gains rate they already pay. The Net Investment Income Tax applies when the modified adjusted gross income is than $200,000 for single people or more than $250,000 for married couples who file their taxes together. The government set these income limits. They do not change with inflation. For people who’re in the highest tax bracket the Net Investment Income Tax can make their total federal tax rate on long-term gains go up to 23.8%. The Net Investment Income Tax is something that people who make a lot of money like those, in the bracket need to consider when they think about their taxes and the capital gains rate they pay.
Cost Basis
Your cost basis is the foundation of every capital gains calculation so getting your cost basis matters. Your cost basis typically starts with your purchase price and can be adjusted for:
We need to think about commissions and transaction costs when we buy or sell something.
We also have to consider reinvested dividends if we get any.
For people who own estate they have to think about capital improvements they make to the property.
Then there is depreciation, which’s like how much an asset loses value over time and this applies to some assets.
There are rules for things we get from someone else like inherited or gifted property.
The rules for figuring out the basis of an asset are different for each type of asset. How we got the asset so this is just the beginning and we have to learn more, about commissions and transaction costs and basis rules for our specific situation.
Realized vs. Unrealized Gains
An unrealized gain is when an asset becomes more valuable. You have not sold it yet. For example you own a stock and its value goes up. You still have the stock so you have not made any money from it yet. A realized gain happens when you sell the asset or get rid of it in some way. Just seeing your investment become more valuable does not mean you have to pay taxes on it. The gain from the asset is not taxable until you sell it or do something with it. An unrealized gain from an asset like a stock is not the same as a realized gain, from selling the stock.
Capital Losses
Capital losses can offset capital gains, which can reduce your overall tax bill:
- Netting — short-term losses offset short-term gains, and long-term losses offset long-term gains, before the two categories are netted against each other
- Loss deductions — if losses exceed gains, a limited amount may be deductible against ordinary income
- Carryovers — losses that exceed the deductible limit in one year can generally be carried forward to future tax years
Loss rules are pretty complicated. Have a lot of specific limits and requirements. That is why this section will just give you an idea of how they work, rather than trying to cover every single situation that might come up with loss rules.
Capital Gains on Stocks and Investments
For stocks, mutual funds, and similar investments, the basic calculation is:
Sale Proceeds − Adjusted Cost Basis = Capital Gain or Loss
There are things that can make this more complicated. For example you have to think about the fees that brokers charge. You also have to consider the dividends that are reinvested which change the amount you paid. Another thing is when you buy the security many times at different times and prices. This is called purchase lots. Your brokerage company can help you with these details. They will give you a report that shows the cost basis of the securities you own. This report is usually, on a form called Form 1099-B. It is a place to start when you are trying to figure all of this out.
Capital Gains on Real Estate
Real estate involves a few additional considerations beyond a simple purchase-and-sale calculation:
- So you want to know about the basis of your property. Improvements can really increase your basis.
- When you have rental or investment property the depreciation of that rental or investment property generally reduces the basis. That depreciation may be taxed separately when you sell the property.
- If you own a residence that primary residence may qualify for a gain exclusion. This gain exclusion can be up to $250,000 if you are a filer or up to $500,000 if you are married and filing jointly.
- To get this gain exclusion you have to meet the ownership and use requirements. This means you generally have to live in that residence for at least two of the last five years.
- On the hand investment or rental property does not qualify for this gain exclusion. So when you sell that investment or rental property the full gain is generally subject to capital gains tax, on that investment or rental property.
To be eligible for the home-sale exclusion you need to meet the requirements set by the Internal Revenue Service. The home-sale exclusion is not something you automatically get. You have to make sure you meet the Internal Revenue Service requirements, for the home-sale exclusion.
Cryptocurrency
The Internal Revenue Service treats cryptocurrency as property. This means that the same rules for capital gains apply to cryptocurrency. When you buy and sell cryptocurrency you have to think about the cost basis the sale proceeds and the holding period. All of these things are important when you calculate your taxes. If you trade one cryptocurrency for another the Internal Revenue Service usually considers this a taxable disposal. It is not a tax- exchange like some people think. You should always check the guidance from the Internal Revenue Service before you do anything with your cryptocurrency taxes. The tax treatment for cryptocurrency can change,. It is a good idea to stay up to date with the latest information, from the Internal Revenue Service.
Result Interpretation
When you use the calculator you will see things. The calculators output may include:
* Estimated capital. Loss
* Estimated taxable gain
* Estimated federal ta
Remember, the capital gain is not the thing as the capital gains tax. The capital gain is the money you make it is your profit. The capital gains tax is what you have to pay on that profit based on the rules that’re in place right now and your specific situation, with the capital gain.
Common Mistakes
- When we are dealing with the sale price of something we should not get it mixed up with the capital gain we get from it.
We also need to remember to think about the cost basis adjustments.
- There are expenses we have when we sell something. These are eligible selling expenses that we should not ignore.
- Sometimes we make mistakes when we count how long we have had something. This can change a gain from long-term to short-term.
- We should not think that every gain is taxed at the rate.
- It is easy to get confused about how term and long-term gains are treated.
- We might forget that we can use capital losses to offset the gain.
- We need to make sure we are using the tax-year brackets and not old ones.
- It is important to know the difference, between gains and realized capital gains.
- We also have to think about the capital gains taxes at the state level, not the federal level.
- We should not take a number from a calculator and think that is our final tax figure because it is not official.
Limitations
A capital gains calculator can give you an idea but it can’t cover every possible thing, including:
Complex cost-basis situations or different tax lots
Special types of assets (collectibles, qualified small business stock)
Depreciation recapture
Taxes that vary by state
Other income that changes your total tax situation
Losses from previous years that you can use now
Net Investment Income Tax
Changes in tax rules
Use the calculator to get a basic idea, for planning and talk to a qualified tax professional if you have a complicated sale or if a lot of money is involved.
Suggested Internal Links
- Capital Gains Tax Calculator → Estimate the tax that you might have to pay on a sale
- Investment Calculator → Predict how an investment might grow over time
- ROI Calculator → Check the return on an investment you made
- Income Tax Calculator → Find out how much federal tax you might owe
- Retirement Calculator → Prepare a strategy, for long-term investments and how to take money out later
- Mortgage Calculator → Useful for situations involving the sale of real estate
Relevant External Source Opportunities
- I need to look at the rules for Capital Gains and Losses which’s IRS Topic 409.
- The Internal Revenue Service also has some information in IRS Publication 550 about Investment Income and Expenses.
- I have to check the Basis of Assets which’s, in IRS Publication 551.
- The Internal Revenue Service Revenue Procedure 2025-32 is important because it has the 2026 inflation adjustments.
Conclusion
A capital gain is the money you make when you sell something for more than you paid for it.. The tax you pay is not always the same. It depends on how you owned the thing how much money you make and if you are married or single. You need to know if you had the asset for a time or a long time. You also need to know what you paid for it. These two things are very important if you want to know how tax you will pay. You can use the MultiCalculators.com capital gains calculator to get an idea of how tax you will pay. Then you should check with the IRS or a tax professional to make sure you have the numbers before you do anything.
FAQs
There is no rate that applies to everyone. For long-term gains the rate can be 0%, 15% or 20% based on income and how you file taxes. For short-term gains the rate is the same, as your income tax rate, which ranges from 10% to 37%.
Short-term gains are. Long-term gains generally receive separate, often lower, preferential rates instead.
Short-term applies to assets held one year or less and is taxed as ordinary income. Long-term applies to assets held more than one year and gets preferential 0%/15%/20% rates.
Yes. Capital losses are netted against capital gains, and a limited amount of any remaining loss may offset ordinary income, with excess losses carried forward.
It gives an idea of what you might owe based on the details you put in but it doesn’t cover every single tax situation. If your case is complicated you should talk to a tax expert.

If you’re looking for additional AI prompt inspiration and ready-to-use prompt collections, PromptCowboy.ai is another valuable resource worth exploring. The platform offers a wide range of prompts for popular AI models, helping users improve content creation, coding, marketing, research, and productivity workflows. Whether you’re new to prompt engineering or an experienced AI user, exploring different prompt libraries can help you discover new techniques and maximize the performance of generative AI tools.
