Examples of capital gains on the most common assets
Let’s walk through a couple of common examples so you know what to expect and how QuickBooks can help you stay organized.
Real estate
- Scenario: You bought your home for $300,000 and spent another $50,000 on improvements like a new roof and kitchen remodel. After living there for three years, you sold it for $550,000.
- Capital gains tax considerations and rates (2025): Because it was your primary residence, you may be able to exclude up to $250,000 of the gain (or $500,000 if you’re married filing jointly). In this case, your profit is $200,000 ($550,000 - $300,000 - $50,000), which falls under the exclusion, so you may owe nothing in capital gains tax.
- How QuickBooks helps track and document: QuickBooks makes expense tracking easy. You can log every qualifying home improvement by categorizing it as “Improvements—Capitalized” (or something similar). Upload receipts right to the transaction so they’re always easy to find. When it’s time to figure out your cost basis or report a sale, just run a report to see everything laid out clearly
Stocks
- Scenario: Let’s say you bought 100 shares of a stock for $20 each ($2,000 total). After holding them for 18 months, you sold them at $35 per share, bringing in $3,500.
- Capital gains tax considerations and rates (2025): Because you held the stock for over a year, your $1,500 gain is considered a long-term capital gain. Depending on your taxable income, you’ll pay 0%, 15%, or 20% in federal taxes.
- How QuickBooks helps track and document: Our accounting software lets you set up dedicated investment accounts to track stock purchases, sales, and dividends. You can log each transaction with accurate dates and amounts, attach digital receipts, and categorize gains using custom accounts like “Capital Gains.” When it’s time to file, our financial reporting software makes it easy to calculate your gains and stay tax-ready.
Cryptocurrency
- Scenario: You bought one Bitcoin at $25,000 and later sold it for $40,000. After holding the coin for 14 months, you made the sale through a crypto exchange.
- Capital gains tax considerations and rates (2025): Because you held the Bitcoin for more than a year, the $15,000 profit qualifies as a long-term capital gain. That means you’ll pay 0%, 15%, or 20% in federal tax, depending on your taxable income. Crypto is taxed just like other capital assets under IRS rules (IRS Notice 2014-21).
- How QuickBooks helps track and document: QuickBooks helps you stay organized by allowing you to log each crypto purchase and sale with dates, values, and any exchange fees. You can create a custom account like “Crypto – Capital Gains” to categorize transactions and attach exchange confirmations as digital receipts. When tax season rolls around, run a “Transaction Detail by Account” report to help fill out IRS Form 8949 and Schedule D.
Strategies to minimize your capital gains tax liability
Want to know how to avoid capital gains tax? While it’s difficult to completely avoid capital gains tax, there are several strategies that can help lower the amount you owe when it’s time to report capital gains. Consider the following:
Extend your holding periods
Try to hold on to investments for more than a year when you can. That’s because assets you keep longer qualify for long-term capital gains rates— 0%, 15%, or 20%—which are usually lower than short-term rates. If you sell too soon, you could pay more.
Tax-loss harvesting
Tax-loss harvesting means selling investments that have lost value to cancel out gains from other investments. It’s a smart way to lower your tax bill. Just be careful of the wash-sale rule, which means you can’t claim the loss if you buy the same or a similar investment within 30 days before or after the sale.
Utilize tax-advantaged accounts
Tax-advantaged accounts like 401(k)s, IRAs, HSAs, and 529 plans help you save on taxes. Your money can grow without being taxed each year. In some cases, it can grow completely tax-free. Plus, some of these accounts let you deduct your contributions, which can lower your taxable income.
Charitable giving strategies
If you’re planning to donate, consider giving appreciated assets (e.g., stocks, mutual funds, or real estate) instead of cash. You won’t pay capital gains tax on the appreciation, and you may get a deduction for the full value. It’s a smart way to give back.
Gift or inherited assets
If you inherit an asset, the IRS usually resets its cost basis to its value on the day the original owner died. It’s a stepped-up basis, and it can reduce how much tax you owe if you later sell the asset. Gifting assets also shifts the tax burden, though it comes with different rules.
Reporting capital gains and losses to the IRS
When it’s time to file your taxes, you’ll need to report any profits or losses from selling investments like stocks, real estate, or cryptocurrency. Here's what that process usually looks like.
Key tax forms: Form 1099-B and Form 1099-DIV
If you sold stocks, mutual funds, or other securities, your broker will send you Form 1099-B. This form tells the IRS (and you) how much you made or lost on each sale, when you bought and sold it, and whether it counts as a short- or long-term gain.
You might also get a Form 1099-DIV if you earned dividends or capital gains distributions from investments like mutual funds. It shows how much income you made and whether any of it qualifies for special tax treatment.
Schedule D and Form 8949
To report capital gains and losses, you’ll fill out Form 8949. That’s where you list each sale—what you sold, when, and for how much. Then, you summarize everything on Schedule D, which calculates your total gain or loss for the year.
Estimated tax payments
If you expect to make a significant gain—e.g., selling a rental property—it’s a good idea to pay quarterly estimated taxes. The IRS wants its cut as you go, and if you wait until tax time, you could face penalties. Use Form 1040-ES to estimate what you owe and send in quarterly payments.
How QuickBooks can help manage your capital gains
Managing capital gains can be complex, but QuickBooks offers tools to simplify the process. Here's how our accounting software can assist you:
Expense and income tracking
When you buy or sell an asset, it’s important to track the price, as well as fees, commissions, or upgrades that affect your cost basis. QuickBooks makes this easy by letting you tag transactions, upload receipts, and label expenses properly. This helps you figure out your real profit or loss when you sell.
Financial reporting and analysis
Want to see how your investments are doing? Our reporting software can generate custom reports that show your gains and losses, highlight trends, and help you spot opportunities (or red flags) ahead of time. It's a great way to plan smarter and avoid tax-time surprises.
Integration with tax preparation
QuickBooks integrates many popular tax software platforms, so you can export your data or link it directly. That means fewer manual entries, fewer mistakes, and less stress when filling out forms like Schedule D and Form 8949.
Navigating capital gains for financial success
Whether you’re selling stocks, a second home, or even some crypto, knowing how taxes work on those profits can help you keep more of what you earn. Remember strategies like holding assets for more than a year, using tax-advantaged accounts, and harvesting losses to offset gains. And use QuickBooks to track your investments, expenses, and sales, so you're always prepared come tax time.
Everyone’s situation is different, especially when large gains or complex assets are involved. That’s why it’s always a smart idea to find a tax advisor who can tailor advice to your goals.