Skip to main content

How Stock Investors Make Money: Dividends, Growth, and When to Sell

The two ways stocks generate money for you

Stock investors make money in two ways: dividends (cash payments a company sends to shareholders) and capital gains (profit from selling a stock for more than you paid). Most individual investors focus on capital gains—buying a stock at $50 and selling it at $75—but many also collect dividends while they hold the shares. You do not need to choose one or the other; a single stock can provide both.

The catch is that neither is may provide. A stock can fall in value, leaving you with a capital loss instead of a gain. A company can cut or eliminate its dividend. And selling at the wrong time can lock in losses. Understanding how each works, and what actually happens when you buy and sell, is the foundation of not losing money while trying to make it.

Key Takeaways

  • Capital gains come from selling a stock for more than you paid, but the stock price can fall, turning your gain into a loss.
  • Dividends are cash payments some companies send to shareholders, usually quarterly, and do not require you to sell the stock.
  • Long-term capital gains (stocks held over one year) are taxed at lower rates than short-term gains in most cases, which affects your actual profit.
  • Reinvesting dividends by buying more shares compounds your returns over time, but requires discipline to avoid spending the cash.
  • Selling at a loss can sometimes reduce your taxes through tax-loss harvesting, but only if you follow IRS wash-sale rules.

Capital gains: buying low and selling high

A capital gain is the difference between what you paid for a stock and what you sell it for. If you buy 100 shares of a company at $50 per share ($5,000 total) and sell them at $75 per share ($7,500 total), your capital gain is $2,500 before taxes and fees.

The tax treatment depends on how long you held the stock. If you held it for more than one year, the gain is long-term and taxed at preferential rates (0%, 15%, or 20% depending on your income). If you sold it within one year, the gain is short-term and taxed as ordinary income at your regular tax bracket, which is usually higher. This difference can be substantial: a $2,500 short-term gain might cost you $625 in taxes at a 25% rate, while the same long-term gain might cost only $375 at 15%.

The risk is that the stock price can fall instead of rise. If you bought at $50 and the price drops to $30, you have a capital loss of $2,000 per 100 shares. You can use capital losses to offset capital gains in the same year, and carry unused losses forward to future years, but you cannot deduct more than $3,000 in net losses against ordinary income in any single year.

Dividends: income while you hold the stock

A dividend is a payment a company makes to its shareholders, usually in cash. Not all stocks pay dividends—growth-focused companies often reinvest all profits back into the business—but mature, profitable companies frequently do. A company might pay a dividend of $0.50 per share four times a year (quarterly), totaling $2.00 annually. If you own 100 shares, you receive $200 per year in dividend income.

Dividends are taxed differently depending on the type. may have access to dividends (from U.S. corporations and certain foreign companies, held for at least 60 days around the ex-dividend date) are taxed at the same preferential rates as long-term capital gains. Non-may have access to dividends are taxed as ordinary income. Most dividends from large U.S. companies are may have access to, but you should check your brokerage statement to be sure.

The dividend does not have to come out of your pocket—you can reinvest it by using the cash to buy more shares of the same stock or a different one. Many brokerages offer dividend reinvestment plans (DRIPs) that do this automatically, compounding your returns over time. If you reinvest $200 in dividends and those new shares also pay dividends next year, you earn dividends on your dividends.

How taxes reduce your actual profit

The profit you see on your brokerage screen is not the profit you keep. Federal income tax, state income tax (in most states), and sometimes local taxes all reduce your gain. A $2,500 capital gain might net you only $1,875 after taxes, depending on your tax bracket and state.

This is why holding period matters. Holding a stock for just over one year instead of selling it at 11 months can save you hundreds of dollars in taxes on the same gain. Similarly, reinvesting dividends in a regular taxable brokerage account means you pay tax on the dividend income each year, even if you do not sell the stock. In a tax-advantaged account like a 401(k) or Roth IRA, dividends and capital gains grow without annual tax, which is one reason these accounts are valuable for long-term investing.

You also pay transaction costs: brokerage commissions (often $0 now, but check your firm's policy for certain trades), bid-ask spreads (the difference between what buyers will pay and what sellers ask), and potentially short-term trading fees if you trade frequently.

When to sell: timing and tax-loss harvesting

Deciding when to sell is harder than deciding when to buy. Selling too early means missing future gains; selling too late means watching profits evaporate. There is no formula that works for everyone, but a few principles help. If a stock has risen sharply and you need the money, selling some shares and locking in gains is reasonable. If a stock has fallen and you believe the company's fundamentals have deteriorated (not just that the market is temporarily down), selling to cut losses can prevent further damage.

Tax-loss harvesting is a strategy where you sell a losing stock specifically to offset capital gains from winners. If you sold Stock A for a $2,000 gain and Stock B for a $1,500 loss, you can net the two and pay tax on only $500 of gain. The IRS has a wash-sale rule that prevents you from immediately buying back the same stock (or a substantially identical one) within 30 days before or after the sale, so you have to either wait or buy a different stock in the same sector.

Selling also triggers the need to track your cost basis—the original price you paid. If you bought shares at different times, you can choose which shares to sell (using specific identification) to minimize taxes. Your brokerage tracks this, but you should verify it matches your records, especially if you have held the stock for many years or received shares through a company plan.

Reinvestment and compounding over time

The longer you hold stocks and reinvest dividends, the more compounding works in your favor. If you buy $5,000 of a stock that pays a 2% dividend annually and reinvest that dividend, after 10 years you will have more shares earning dividends, and those new shares also pay dividends. Over 20 or 30 years, this effect becomes substantial.

The tradeoff is that compounding requires patience and discipline. You have to resist the urge to sell during downturns, and you have to actually reinvest the dividends rather than spend them. Many investors use automatic dividend reinvestment to remove the temptation to cash out.

Compounding also works against you if you are paying high fees or taxes. A 1% annual fee on a $100,000 portfolio costs $1,000 per year, and over 20 years that compounds into tens of thousands of dollars in lost gains. This is why low-cost index funds and tax-efficient investing matter, especially for long-term holdings.

Real examples: what the math looks like

Suppose you invest $10,000 in a stock at $50 per share (200 shares). The stock pays a $1 annual dividend per share ($200 per year) and grows at an average of 7% per year. After 10 years without reinvesting dividends, the stock is worth roughly $19,700, and you have collected $2,000 in dividends. Your total return is $11,700, or 117%.

Now suppose you reinvest those dividends. After 10 years, you have roughly 280 shares (because the dividends bought more shares each year), worth about $21,800. Your total return is $11,800, or 118%. The difference looks small in year 10, but over 20 or 30 years, reinvestment compounds into significantly higher wealth.

Taxes change the picture. If you are in a 24% federal tax bracket and your state taxes at 5%, a $1,000 long-term capital gain nets you about $710 after taxes. A $1,000 dividend might net $710 as well (if it is may have access to), or as little as $590 (if it is non-may have access to and taxed at your full rate). Holding stocks in a 401(k) or Roth IRA avoids these annual taxes, which is why maximizing tax-advantaged accounts comes before investing in taxable accounts.

Frequently Asked Questions

Do I have to hold a stock for a full year to get the lower tax rate?

You must hold the stock for more than one year for the gain to may have access to as long-term. If you buy on January 15 and sell on January 15 of the next year, it is long-term. If you sell on January 14, it is short-term. The holding period is measured from the purchase date to the sale date, and the IRS counts the purchase date but not the sale date.

What happens if a company cuts its dividend?

The stock price usually falls when a dividend is cut, because investors who bought the stock partly for the dividend income will sell. You do not lose the dividends you already received, but future dividend income drops. If you believe the company will restore the dividend later, you might hold; if you think the cut signals deeper problems, you might sell to avoid further losses.

Can I make money if a stock price stays flat?

Yes, if the stock pays dividends. A stock that does not move in price but pays a 3% annual dividend still generates income. Over 10 years, those dividends compound into real wealth even if the stock never appreciates. This is why dividend-paying stocks appeal to investors who want income, not just price growth.

What is the difference between selling at a loss and holding and hoping the price recovers?

Selling locks in the loss and lets you use it to offset gains, but you miss any recovery. Holding keeps the possibility of recovery alive, but ties up your money and you pay tax on any dividends. There is no right answer; it depends on whether you believe the company will recover and whether you have better uses for the money elsewhere.

Do I owe taxes on dividends if I reinvest them?

Yes. Reinvesting the dividend does not defer the tax. You owe tax on the dividend income in the year you receive it, whether you take the cash or buy more shares. This is one reason tax-advantaged accounts (401(k), Roth IRA) are valuable—dividends and gains grow without annual tax bills.