Understanding Capital Gains Tax: Definition, Rates, and Calculations

Understanding Capital Gains Tax: Definition, Rates, and Calculations

By
Jason Craine
and
|
June 26, 2025

You've made a profit when you sell something like a stock, a piece of real estate, or even a piece of art for more than you originally paid. That profit is called a capital gain and might be subject to capital gains tax.

This tax applies to a wide range of assets, such as stocks, bonds, homes, digital currencies, and other personal property.1 However, not all profits are taxed the same way. The amount you owe depends on how long you held the asset, how much you made, and your income level.

This article will serve as your comprehensive guide to how capital gains taxes work, including:

Realized vs. Unrealized Gains: What’s the Difference?

You only pay capital gains tax when you sell an asset and make a profit. That’s called a realized gain. Until you actually sell, any increase in value is considered an unrealized gain. This means it exists on paper but hasn’t triggered a tax bill.

For example, if your stock goes up in value but you keep holding it, you don’t owe any tax yet. But once you sell it for more than you paid, the gain becomes realized and is taxable.

Many investors track unrealized gains to see how their portfolio is doing, but they often hold off on selling to delay taxes. Timing when you sell, and when a gain becomes realized, has an impact on your overall tax situation. 

Types of Capital Gains

There are two types of capital gains: short-term and long-term. The type depends on how long you held the asset before selling it, and it affects how much tax you’ll owe. Here’s how they work:

Short-Term Capital Gains

Short-term capital gains come from selling assets you’ve held for one year or less. These gains are taxed at the same rates as your regular income, which means you could pay as much as 37% depending on how much you earn. 2

Let’s say you buy a stock and sell it six months later for a profit. That’s a short-term gain, and it’ll be taxed like a paycheck. This can lead to a bigger tax bill, especially if you’re in a high income bracket. People who trade frequently or sell quickly (like flipping stocks or cryptocurrency) often see more short-term gains.

Long-Term Capital Gains

Long-term capital gains come from selling assets you’ve held for more than a year. These gains are taxed at lower rates (i.e. 0%, 15%, or 20%) depending on your income and filing status.3

For example, if you hold a stock or a piece of real estate for more than a year before selling, you’ll typically pay less tax on the profit. This is one reason why many investors try to hold onto assets longer. It’s a simple way to keep more of the profit from a sale. 

2025 Capital Gains Tax Rates

Capital gains tax rates vary based on how long you held the asset and how much income you make. Long-term gains get lower rates than short-term gains, and the IRS adjusts yearly income brackets. Here’s what the 2025 rates look like:

Long-Term Capital Gains Rates by Filing Status

In 2025, long-term capital gains are taxed at 0%, 15%, or 20%. Your rate depends on your income and how you file your taxes.4

Capital Gains Rates Single Filers Married Filing Jointly Married Filing Separately
0% Up to $48,350 Up to $64,750 Up to $48,350
15% $48,351 to $533,400 $64,751 to $566,700 $48,351 to $300,000
20% $533,401 and above $566,701 and above $300,001 and above

These rates apply only to long-term gains. 

Short-Term Capital Gains and Ordinary Income Tax Brackets

Short-term capital gains are taxed at ordinary income tax rates, which are higher and based on your total taxable income. Here are the 2025 tax brackets5 for single filers.

  • 10%: $0–$11,925
  • 12%: $11,926–$48,475
  • 22%: $48,476–$103,350
  • 24%: $103,351–$197,300
  • 32%: $197,301–$250,525
  • 35%: $250,526–$626,350
  • 37%: $626,351 and above

These rates also apply to short-term gains, which means your profit could be taxed at the same rate as your salary. Other filing statuses follow similar patterns with different income ranges.

Additional Net Investment Income Tax (NIIT)

On top of regular capital gains tax, some high earners owe a 3.8% surtax on their investment income. 6 This is called the Net Investment Income Tax (NIIT). It kicks in when your modified adjusted gross income (MAGI) goes over these limits:7

  • $200,000 for single filers and heads of household
  • $250,000 for married filing jointly
  • $125,000 for married filing separately

This surtax applies to capital gains, dividends, interest, and rental income. So, it’s a good idea to know where your income stands if you’re planning to sell investments.

Related Article: High-Net-Worth Financial Planning: A Comprehensive Guide

If you’re managing a sizable portfolio, review our tips on high-net-worth financial planning. Learn how to balance your goals, reduce taxes, and build a plan that grows with you. Also, you can explore strategies for investing, estate planning, and protecting your wealth.

How to Calculate Capital Gains Tax

Figuring out how much capital gains tax you owe starts with a few basic numbers: 

  • What you paid for the asset
  • What you sold it for
  • How long you held it

Once you have that information, you can walk through the below steps to calculate your gain and apply the correct tax rate.

Step 1: Determine Your Cost Basis

Your cost basis is usually what you paid for the asset. This includes more than just the purchase price. It also covers things like: 

  • Commissions or brokerage fees
  • Reinvested dividends (for stocks or mutual funds)
  • Capital improvements (for real estate)

If you claim depreciation on a real estate asset, that amount gets subtracted from your cost basis. Keeping good records, like receipts, trade confirmations, and statements, makes it easier to track your basis accurately.

Step 2: Calculate Your Proceeds:

Your proceeds are what you made from the sale, minus any selling costs like commissions or transaction fees.

For example, if you sold a stock for $12,000 and paid $100 in fees, your net proceeds are $11,900. Always use the net amount when comparing it to your cost basis.

Step 3: Compute Your Capital Gains or Loss

Now subtract your cost basis from your proceeds:

Capital Gain = Sale Price - Cost Basis

If the number is positive, you’ve got a gain. If it’s negative, you’ve got a capital loss. Capital losses can help lower your tax bill. You can use them to offset gains, and if your losses are bigger than your gains, you can deduct up to $3,000 per year from your ordinary income.

Step 4: Apply the Correct Tax Rate

Once you know your gain, figure out how it will be taxed. It depends on:

  • Whether the gain is short-term or long-term
  • Your income and filing status

Remember that long-term gains are taxed at 0%, 15%, or 20%, depending on your income. Short-term gains are taxed at the same rate as your regular income, which could be as high as 37%. 

This step helps you understand how much you’ll owe and if timing your sale differently could reduce the tax.

Example Capital Gains Tax Calculation

Here’s a quick example for a single filer in 2025:

  • You bought stock for $10,000
  • You sold it for $25,000 after more than a year
  • Your capital gain is $15,000
  • You also earned $50,000 in other income
  • Your total taxable income is $65,000

That puts you in the 15% capital gains bracket, so your tax gain would be:

$15,000 x 15% = $2,250

This example shows how holding an asset for more than a year and understanding your income bracket can impact how much tax you pay. 

Special Considerations for Capital Gains Tax

Some capital gains rules come with exceptions or special situations. These don’t apply to everyone, but they affect you depending on the asset you’re selling or how you use your losses. Below are a few cases to keep in mind.

Related Article: Understanding Trusts: What Is It, Types of Trusts, & Beneficiaries

If you’re thinking about how to protect your assets and plan your estate, explore our guide to understanding trusts. Learn how trusts work, the different types available, and how to choose one that fits your goals. See why they’re a key tool in long-term planning.

Home Sale Exclusion

If you sell your primary home, you might not have to pay capital gains tax on all of the profit. Here’s how it works:8

  • You must have owned and lived in the home for at least two of the past five years.
  • You can’t have used this exclusion on another home in the last two years.

If you meet these rules, you can exclude up to:9

  • $250,000 in gains if you’re single
  • $500,000 in gains if you’re married and filing jointly

This helps immensely when selling a home you’ve lived in for a while.

Capital Losses and Carryforwards

If you sell an investment for less than what you paid, you’ve got a capital loss. These losses lower your taxes in a couple of ways:10

  • You can use losses to cancel out capital gains from other sales.
  • If your losses are bigger than your gains, you can deduct up to $3,000 from your regular income ($1,500 if married filing separately).
  • Any leftover losses can be carried forward to future tax years until they’re used up.

One thing to know: you can’t deduct losses on personal items, like cars or furniture.

Special Tax Rates for Collectibles and Real Property

Not all capital assets follow the usual 0%/15%/20% long-term tax rates. Some have their own rules:11

  • Collectibles like art, coins, antiques, and jewelry can be taxed up to 28%.
  • Depreciation recapture on real estate (called Section 1250 gains) can be taxed up to 25%.
  • Qualified small business stock (QSBS) may also have a special 28% rate for gains that aren’t excluded.

If you’re selling one of these, the standard long-term capital gains rates might not apply, so be sure to check the specific rules. 

How to Report Capital Gains on Your Tax Return

If you sold an investment during the year, you must report it when you file your taxes. The IRS has a few forms to help you break down each sale and show the total amount gained or lost. Good records make this process much easier. Below, we’ll go over what to expect.

Key IRS Forms to Know (8949, Schedule D, 4797)

You’ll usually start with Form 894912, which is where you list each sale. For every asset sold, you’ll include:

  • Purchase and sale dates
  • Sale price (proceeds)
  • Cost basis
  • Type of gain (short-term or long-term)

Next, you’ll use Schedule D (Form 1040)13 to total everything from Form 8949. This is where you calculate your net gain or loss that year.

If you sold a business or rental property, like commercial real estate or equipment, you might also need Form 479714. This form handles sales or depreciable property and can include special tax rules.

Even if you qualify for a gain exclusion (like from selling your home), you may still need to report the sale. The IRS wants to see that it was properly excluded.

Recordkeeping and Documentation Best Practices

Keeping organized records makes tax season a lot simpler. For each investment, try to hold onto:

  • Purchase and sale dates
  • Purchase price, plus any fees or commissions
  • Sale price (after fees)
  • Statements or receipts from brokers or platforms

You can keep these records digitally or on paper. Having this info ready helps you report everything accurately and comes in handy if the IRS has questions later.

Strategies to Reduce or Manage Capital Gains Tax

There are a few ways to lower the capital gains tax you owe. These strategies don’t eliminate taxes completely, but they help you keep more of your investment returns over time. Below are a few common approaches.

Hold Assets Longer Than One Year

One of the easiest ways to pay less in capital gains tax is to hold your investments for more than a year. That turns a short-term gain into a long-term gain, which gets a lower tax rate.

This strategy works well for stocks, mutual funds, real estate, and other investments you’re not in a hurry to sell. If you need to sell, double-check how long you’ve owned the asset. Waiting just a bit longer could lower your tax rate. 

Harvest Tax Losses Strategically

Tax-loss harvesting means selling investments at a loss to offset gains you’ve already made. If your losses are more than your gains, you can deduct up to $3,000 from your income for the year ($1,500 if married filing separately).15

Any leftover losses carry over to future years.

One thing to watch out for is the wash sale rule. If you sell a losing investment and buy the same one (or something very similar) within 30 days, the IRS won’t let you deduct the loss. So it’s important to plan the timing carefully.

Related Article: Direct Indexing: What It Is & How It Works

Explore our direct indexing guide for a more personalized way to invest. Learn how this strategy gives you more control, supports tax savings, and helps align your portfolio with your goals or values. See how direct indexing compares to traditional funds and if it’s right for you.

Use Tax-Advantaged Accounts

IRAs, 401(k)s, and other retirement accounts offer tax benefits that can help with capital gains:

  • In Traditional IRAs or 401(k)s, gains grow tax-deferred, meaning you don’t pay taxes until you withdraw money later.
  • In Roth IRAs, qualified withdrawals are tax-free, which means no capital gains tax at all.

Holding high-growth investments in these accounts lets you reduce the taxes you pay during your working years.

Donate Appreciated Assets

If you plan to make charitable donations, you might consider giving appreciated stocks or other assets instead of cash.

When you donate an investment you’ve held longer than a year:

  • You don’t have to pay capital gains tax on the appreciation.
  • You may get a charitable donation for the full market value (if you itemize your taxes).

This approach works well if you already support causes and want to do so in a more tax-friendly way.

Related Article: Estate Planning Strategies for High-Net-Worth Individuals

If you plan to pass on significant wealth, explore our estate planning strategies for high-net-worth individuals. Learn how trusts, gifting, and tax-smart tools reduce taxes and protect your legacy. See how early planning makes things easier for your family and future generations.

Time Your Sales for Maximum Advantage

The timing of a sale can also affect how much tax you’ll owe. Here are a few situations where it may make sense to wait:

  • Your income might drop in the future (such as retirement or a career change).
  • You plan to move to a state with lower or no income tax.
  • You can spread out sales across multiple years to avoid moving into a higher tax bracket.

In some cases, waiting just a few months leads to a lower tax rate, especially for large investment gains.

What You Can Do Today to Manage Capital Gains Tax Smarter

Capital gains tax can greatly impact your investment returns, but solid knowledge and strategic timing can help you take control. Staying informed is your best strategy for planning a future sale or reducing your tax bill. 

Key Takeaways

  • You only owe capital gains tax when a gain is realized
  • Short-term gains are taxed at your ordinary income rate, while long-term gains get lower, preferential rates.
  • The amount you pay depends on your income, filing status, and how long you held the asset.
  • There are smart ways to lower your tax bill, including holding assets longer, using tax-loss harvesting, and donating appreciated investments.
  • Reporting capital gains accurately means keeping solid records and using the right IRS forms.

Action Items

  • Review your current portfolio and identify any short vs. long-term holdings.
  • Look into strategies like tax-loss harvesting and charitable donations to reduce potential taxes.
  • Double-check your cost basis and sales records so you’re ready for tax time.
  • Talk to a financial advisor about timing asset sales or using tax-advantaged accounts.
  • Revisit your plan often, especially ahead of big life changes or major investment decisions.

SHARE
author
Jason Craine

With over a decade of experience, Jason Craine helps families achieve their financial goals through personalized, comprehensive planning. His career in finance began in 2010 and includes a diverse background in banking, investment management, accounting, and insurance. In 2019, he relocated to Wichita to open Mariner Wealth Advisors’ first office in the area, where he has built a successful planning practice. He holds a B.S. in Business Administration from William Jewell College, is a Certified Financial Planner™ (CFP®), and maintains several additional industry credentials. Outside of work, he is active in the community, serving on the boards of Exploration Place, the Andover YMCA, and the Financial Planning Association of Kansas, as well as contributing to his local elementary school council.

Schedule a call today
Schedule a call todaySend an email
author

Schedule a call today
Schedule a call todaySend an email

Material prepared herein has been created for informational purposes only and should not be considered investment advice or a recommendation.  Information was obtained from sources believed to be reliable but was not verified for accuracy.  All advisory services are offered through Savvy Advisors, Inc. (“Savvy Advisors”), an investment advisor registered with the Securities and Exchange Commission (“SEC”).

All investments involve risk, including loss of principal invested. Material prepared herein has been created for informational purposes only and should not be considered investment advice or a recommendation.  Information was obtained from sources believed to be reliable but was not verified for accuracy.  All advisory services are offered through Savvy Advisors, Inc. (“Savvy Advisors”), an investment advisor registered with the Securities and Exchange Commission (“SEC”).

Works Cited