The two ways stocks generate money for you

Stocks make money in two ways: dividends and capital gains. A dividend is a payment a company sends to shareholders, usually a few dollars per share per year. A capital gain is the profit you make when you sell a stock for more than you paid for it. Most people focus on capital gains — buying low and selling high — but many stocks also pay dividends, which arrive whether the price goes up or down.

You do not have to choose between them. A single stock can do both: pay you a quarterly dividend while also increasing in price. Some stocks pay no dividend at all and rely entirely on price appreciation. Others pay a steady dividend but rarely move much in price. Your brokerage account shows you both the dividend history and the current price of any stock you own.

Key Takeaways

  • Capital gains happen when you sell a stock for more than you paid, and you only owe tax on the profit when you actually sell.
  • Dividends are cash payments companies send to shareholders, usually quarterly, and they arrive automatically in your brokerage account.
  • Reinvesting dividends — using them to buy more shares instead of taking the cash — compounds your gains over time.
  • The tax you pay on stock profits depends on how long you held the stock: less than a year is taxed as ordinary income, one year or longer gets a lower capital gains rate.
  • Losses on stocks can offset gains and reduce your taxable income, so keeping records of what you paid matters.

How capital gains work and when you pay tax on them

A capital gain is the difference between what you paid for a stock and what you sold it for. If you bought 10 shares at $50 each ($500 total) and sold them at $75 each ($750 total), your capital gain is $250. You do not owe any tax until you actually sell — the gain is only on paper until the sale is complete.

The tax rate depends on how long you held the stock. If you held it for less than one year, the gain is taxed as short-term capital gains, which means it is taxed at your ordinary income tax rate (the same rate as your salary). If you held it for one year or longer, it is taxed as long-term capital gains, which has a lower tax rate — usually 0%, 15%, or 20% depending on your total income that year. This is why many investors hold stocks for at least a year before selling.

Your brokerage sends you a tax form (Form 1099-B) at the end of the year listing all your sales and gains. You report these on your tax return. If you sold at a loss, you can use that loss to offset gains from other stocks, and if losses exceed gains, you can deduct up to $3,000 of losses against your other income in that year.

Understanding dividends and how they reach your account

A dividend is a payment a company makes to people who own its stock. Not all companies pay dividends — many younger or faster-growing companies reinvest all their profits back into the business. Established companies, especially in sectors like utilities, banks, and consumer goods, often pay regular dividends.

Dividends are usually paid quarterly (four times a year), though some companies pay monthly or annually. The company announces the dividend amount per share, and your brokerage automatically deposits the cash into your account on the payment date. If you own 100 shares and the dividend is $0.50 per share, you receive $50. The dividend arrives whether the stock price went up, down, or stayed flat that quarter.

Your brokerage reports dividends on a tax form called Form 1099-DIV. Dividends are taxed as income, but the rate depends on the type: may have access to dividends (from U.S. companies and held for a certain period) are taxed at the same lower rate as long-term capital gains, while non-may have access to dividends are taxed at your ordinary income rate. Your brokerage usually labels which dividends are may have access to on your tax forms.

Reinvesting dividends to compound your returns

When you receive a dividend, you have two choices: take the cash or use it to buy more shares of the same stock. Many investors choose to reinvest, which means the dividend automatically buys additional shares. Over time, this compounds — you earn dividends on the original shares, then earn dividends on the new shares those dividends bought, and so on.

Most brokerages offer a feature called dividend reinvestment or DRIP (Dividend Reinvestment Plan). You turn it on in your account settings, and from that point forward, all dividends from that stock automatically purchase new shares at the current market price. You still owe tax on the dividend in the year you receive it, even though you did not take the cash — the IRS taxes the value of the shares you received, not just cash dividends.

Reinvestment works best in accounts where you are not making regular withdrawals, like retirement accounts. In a regular taxable brokerage account, reinvesting can create a lot of tax paperwork because you have to track the cost basis (what you paid) for each batch of shares bought with reinvested dividends.

The difference between stock price appreciation and dividend income

Price appreciation and dividends serve different purposes in a portfolio. Price appreciation is the upside — you hope the company grows and the stock becomes worth more. Dividend income is steady cash flow — you get paid regularly just for owning the stock. Some investors prioritize one over the other depending on their goals.

A young investor with decades until retirement might focus on growth stocks that do not pay dividends, betting that the stock price will rise significantly over time. An investor nearing retirement might prefer dividend-paying stocks because they want regular income they can live on. Many investors own both types: growth stocks for long-term appreciation and dividend stocks for current income.

The total return on a stock combines both. If you bought a stock at $100, it rose to $120, and you received $5 in dividends, your total return is $25 (a 25% gain). Your brokerage account usually shows you the total return, but it is worth understanding that it comes from two separate sources.

How to track your cost basis and calculate your actual profit

Your cost basis is what you paid for a stock, including any fees. If you bought 50 shares at $40 each plus a $10 commission, your cost basis is $2,010 total, or $40.20 per share. When you sell, you subtract your cost basis from the sale price to find your gain or loss. This matters for taxes — you only owe tax on the gain, not the entire sale price.

If you bought shares at different times and prices, you need to track which shares you are selling. Most brokerages use a method called FIFO (First In, First Out) by default, which means the oldest shares are sold first. But you can usually choose a different method, like selling the highest-cost shares first, which can lower your taxable gain. Tell your brokerage which method you want before you sell.

Your brokerage keeps a record of your cost basis and calculates your gain or loss when you sell. They report this on your tax form. But you should keep your own records too — screenshots of your purchase confirmations, dividend statements, and sale confirmations. If you ever need to prove what you paid, these records are your proof.

Common mistakes that reduce your stock earnings

One common mistake is holding a losing stock too long, hoping to break even, while missing better opportunities elsewhere. Another is selling a winning stock too early to lock in a small gain, then watching it rise much further. Neither is wrong in itself, but they often come from emotion rather than a plan.

A tax-related mistake is not tracking cost basis carefully, especially if you reinvest dividends or buy shares gradually over time. This creates confusion at tax time and can lead to overpaying taxes or underpaying and facing penalties. Another mistake is not considering the tax impact of selling — selling a stock with a huge gain in a year when your income is already high might push you into a higher tax bracket, while selling in a lower-income year costs less in taxes.

Paying too much in trading fees and commissions also eats into returns. Most major brokerages now offer commission-free stock trading, but some still charge. If you are paying $5 to $10 per trade, those fees add up quickly, especially if you trade frequently. Lower fees mean more of your money stays invested and working for you.

Frequently Asked Questions

Do I have to sell a stock to make money from it?

No. If a stock pays dividends, you make money from it every quarter without selling. You only have to sell if you want to lock in a capital gain or move your money elsewhere. Many investors hold dividend stocks for years and never sell, living off the dividend payments.

What is the difference between a stock split and a dividend?

A stock split divides your shares into more shares at a lower price per share — if you own 100 shares at $100 and the stock splits 2-for-1, you now own 200 shares at $50. A dividend is a cash or stock payment the company makes to shareholders. A stock split does not change your total value; a dividend adds value to your account.

Can I lose money on a stock I own?

Yes. If you buy a stock at $50 and it falls to $30, you have a $20 loss per share. You only lock in that loss if you sell. If you hold it, the loss is unrealized and could recover. Losses can offset gains on other stocks for tax purposes, which is one reason to keep records of all your trades.

How often do companies pay dividends?

Most companies pay dividends quarterly, meaning four times a year. Some pay monthly or annually. The company sets the schedule and announces it in advance. Your brokerage shows you the dividend history and the next payment date for any stock you own.

What happens to my dividends if I sell the stock?

You receive dividends only if you own the stock on the ex-dividend date, which is the cutoff date the company sets. If you sell before that date, you do not get that dividend. If you sell after, you do. Your brokerage shows the ex-dividend date for each upcoming dividend payment.