MyMoneyLocal
Tax guide

Capital Gains Tax: Basis, Holding Periods, and Sale Planning

A capital gain is not the sale price. It is generally the difference between what an asset realizes on sale and its adjusted tax basis, after applying the rules for the asset and transaction. Good planning starts by proving basis before choosing a sale date.

Practical focus

A capital gain is not the sale price. It is generally the difference between what an asset realizes on sale and its adjusted tax basis, after applying the rules for the asset and transaction. Good planning starts by proving basis before choosing a sale date.

Calculate the gain from reliable basis records

Basis may include purchase cost and certain transaction costs, then change through reinvested distributions, improvements, depreciation, return of capital, gifts, inheritance, wash-sale adjustments, or prior corporate actions. Brokerage reports help, but older holdings and transferred accounts may need reconstruction.

Estimate proceeds, selling costs, adjusted basis, and any special adjustments separately. A missing basis can make a manageable transaction look far more taxable than it is.

Understand holding period and income interaction

Short-term and long-term gains are separated because federal treatment can differ. Long-term rates also interact with taxable income; the gain is not analyzed in isolation. State treatment may differ, and special assets can have separate rules.

Do not hold a poor investment solely for a tax milestone without comparing the investment risk. Tax cost is one input in the sell decision, alongside concentration, liquidity needs, and expected downside.

Net gains, losses, and payment needs

Capital losses generally offset capital gains under ordering rules, and a limited amount of net loss may offset other income with remaining losses carried forward. Selling multiple positions therefore requires a portfolio-level view, not a one-trade estimate.

A large gain may require an estimated payment or withholding adjustment. Run the projection before spending the proceeds, and keep the trade confirmations and basis support with the tax file.

Worked Example

An investor sells shares for $42,000. The original purchases cost $28,000, reinvested dividends added $2,000 to basis, and selling costs were $100. The preliminary gain is $11,900—not $14,000—before applying other gains, losses, holding-period rules, and the investor's broader tax picture.

Action Checklist

  • Verify basis before placing the trade.
  • Check acquisition dates by tax lot.
  • Review other realized gains and loss carryforwards.
  • Estimate federal and state effects together.
  • Reserve cash before using sale proceeds.
Tax boundary

Tax outcomes depend on the tax year, filing status, account or entity type, state law, documentation, and transaction sequence. Verify current rules and use a qualified tax professional before an irreversible transaction or filing decision.

Frequently Asked Questions

Does moving money out of a brokerage account create a gain?

Usually the taxable event is the sale or other disposition, not simply withdrawing cash, but account and asset rules matter.

Are all long-term gains taxed at one rate?

No. Rates can depend on taxable income, asset type, and other rules.

Can losses always erase gains dollar for dollar?

Capital losses can offset capital gains subject to netting and limitation rules; wash sales and other adjustments can delay or change the result.

Authoritative Sources