How Do You Make Money From Investing in Stocks?

You make money from stocks in two main ways: selling shares for more than you paid (capital gains) and collecting dividend payments that companies distribute to shareholders. Most long-term investors rely on a combination of both, and understanding how each works helps you set realistic expectations for what your portfolio can actually produce.

Selling Shares at a Higher Price

The most straightforward way to profit from stocks is capital appreciation. You buy shares at one price, the stock rises, and you sell at the higher price. The difference is your gain. If you buy 50 shares of a company at $40 each ($2,000 total) and later sell them at $60 each ($3,000 total), you’ve made $1,000 before taxes and fees.

An important distinction here is between unrealized and realized gains. If that stock climbs to $60 but you haven’t sold, your $1,000 profit exists only on paper. It’s an unrealized gain, and it can shrink or disappear if the price drops. You don’t actually lock in the profit, or owe taxes on it, until you sell. At that point it becomes a realized gain.

This means timing matters. Not in the day-trading sense of trying to predict short-term price swings, but in the practical sense that your profit isn’t real until you choose to take it. Plenty of investors have watched paper gains evaporate during market downturns because they never sold. On the flip side, selling too early means missing further upside. There’s no formula that eliminates this tension, but having a clear reason for each investment helps you decide when it makes sense to cash out.

Collecting Dividends

Many companies share a portion of their profits with shareholders through dividends. These are typically cash payments deposited directly into your brokerage account. Most publicly traded companies that pay dividends do so quarterly, timed around their earnings announcements. Some pay monthly, semiannually, or annually, and occasionally a company will issue a special one-time dividend outside its regular schedule.

Not every stock pays dividends. Younger, fast-growing companies often reinvest all their profits back into the business. Mature, stable companies in sectors like utilities, consumer goods, and banking are more likely to pay consistent dividends. Real estate investment trusts (REITs) and master limited partnerships (MLPs) are actually required to distribute a large portion of their income to shareholders, which often results in higher and more frequent payouts. Some REITs pay monthly.

Dividend yields vary widely. A yield is simply the annual dividend payment divided by the stock price. A company paying $2 per share annually on a $50 stock has a 4% yield. Yields in the 2% to 4% range are common among large, established companies, while REITs and MLPs sometimes offer higher yields. An unusually high yield can be a warning sign that the market expects the company to cut its dividend, so a big number isn’t automatically better.

Reinvesting Dividends to Compound Growth

One of the most powerful ways to build wealth from stocks over time is reinvesting your dividends to buy more shares. Instead of taking the cash, you use it to purchase additional stock, which then generates its own dividends, which buy even more shares. This compounding cycle accelerates your returns the longer you stay invested.

Many brokerages and individual companies offer dividend reinvestment plans, commonly called DRIPs. These automatically use your dividend payments to purchase additional shares, often without charging a commission. Because you’re buying small amounts at regular intervals regardless of the current price, you also benefit from dollar-cost averaging, which smooths out the impact of price fluctuations over time.

You can set up a DRIP directly through a company’s investor relations department or, more commonly, through your brokerage account. Most major online brokerages offer automatic dividend reinvestment as a free feature you simply toggle on. The difference over decades can be dramatic: an investor who reinvests dividends will own significantly more shares than one who pockets the cash, and those extra shares generate their own gains and dividends going forward.

How Taxes Affect Your Returns

The profit you keep depends heavily on how long you held the stock before selling. The IRS draws a sharp line at one year. If you sell a stock you’ve owned for one year or less, your gain is a short-term capital gain, taxed at the same rates as your regular income. Depending on your tax bracket, that can range from 10% to 37%.

Hold the stock for longer than one year and you qualify for long-term capital gains rates, which are significantly lower. Most investors fall into the 15% bracket for long-term gains. If your taxable income is relatively low, you may owe 0% on long-term gains. High earners face a top rate of 20%. For someone in the 24% ordinary income bracket, the difference between selling at 11 months versus 13 months could mean paying 24% instead of 15% on the same profit.

Dividends have their own tax treatment. “Qualified” dividends, which include most payments from U.S. companies you’ve held for a minimum period, are taxed at the same favorable long-term capital gains rates. “Ordinary” or non-qualified dividends are taxed at your regular income tax rate. Your brokerage will report which type you received at tax time. Keep in mind that dividends are taxable in the year you receive them, even if you reinvest them through a DRIP. The IRS treats reinvested dividends the same as cash dividends for tax purposes.

What Fees and Costs Eat Into Profits

Trading costs have dropped dramatically in recent years. Most major online brokerages charge $0 commissions on U.S.-listed stocks and ETFs for trades placed online. If you place a trade by phone or through a broker-assisted service, you may pay $5 to $25 per transaction. Options contracts typically carry a per-contract fee of around $0.65.

If you invest through exchange-traded funds (ETFs) or mutual funds rather than picking individual stocks, you’ll also pay an expense ratio. This is an annual fee expressed as a percentage of your investment, deducted automatically from the fund’s returns. Low-cost index ETFs that track broad market benchmarks often charge less than 0.10% per year, meaning you’d pay under $10 annually for every $10,000 invested. Actively managed funds and niche ETFs can charge significantly more, with some exceeding 1%. Over decades of compounding, even a seemingly small difference in expense ratios can cost you thousands of dollars in lost growth.

Putting It All Together

In practice, most stock market investors earn money through some combination of price appreciation and dividends. A growth-focused investor might own stocks that pay little or no dividends, betting on rising share prices. An income-focused investor might prioritize high-dividend stocks and REITs for steady cash flow. Many people blend both approaches, owning a diversified portfolio where some holdings grow in value while others throw off regular income.

The math works best over long time horizons. Reinvesting dividends, minimizing fees, and holding positions long enough to qualify for lower tax rates all tilt the odds in your favor. None of this guarantees a profit in any given year, since stock prices can and do decline. But understanding exactly where stock market returns come from helps you build a portfolio that matches your goals, whether that’s growing your wealth over decades or generating income you can spend today.