Glossary

Capital Gains

A capital gain is the profit you earn when you sell an asset for more than you paid. Capital gains are taxed differently depending on how long you held the asset — short-term (under one year) vs. long-term (over one year).

Why it matters

The tax difference is significant: short-term gains are taxed as ordinary income (up to 37%), while long-term gains are taxed at preferential rates (0%, 15%, or 20%). Simply holding an investment for one year and one day instead of eleven months can cut your tax bill dramatically.

Example

Buying stock at $1,000 and selling at $1,500 produces a $500 capital gain. Held for 14 months, you'd pay ~$75 in tax (15% rate) vs. ~$120 at the 24% ordinary income rate.

How Ray helps

Ray can help you understand the tax implications of your investment gains. Ask to see unrealized gains across your connected brokerage accounts.

Terminal
$ ray "how much have my investments gained this year?"

Related terms

Try Ray free

Open source, local-first, and takes five minutes to set up.

View on GitHub