How Do You Invest in Stocks?
To invest in stocks, Investor.gov, the investor education site of the U.S. Securities and Exchange Commission (SEC), says you can buy and sell them through a direct stock plan, a dividend reinvestment plan, a discount or full-service broker, or a stock fund. Stocks are a type of security that gives stockholders a share of ownership in a company. Buying and selling stocks entails fees, and you can lose money you invest in stocks.
By FiftyCalc · Updated November 14, 2026, first published November 14, 2026
Open the Investment Calculator
How it is calculated
Investors buy stocks for various reasons, including capital appreciation, which occurs when a stock rises in price, and dividend payments, which come when the company distributes some of its earnings to stockholders. There are two main kinds of stocks, common stock and preferred stock. Common stock entitles owners to vote at shareholder meetings and receive dividends. Preferred stockholders usually don't have voting rights, but they receive dividend payments before common stockholders do and have priority over them if the company goes bankrupt and its assets are liquidated.
With a direct stock plan, some companies let you buy or sell their stock directly through them without using a broker. This saves on commissions, but you may have to pay other fees to the plan, including if you transfer shares to a broker to sell them. Direct stock plans usually will not allow you to buy or sell shares at a specific market price or at a specific time. Dividend reinvestment plans allow you to buy more shares of a stock you already own by reinvesting dividend payments into the company. Brokers buy and sell shares for customers for a fee, known as a commission. Stock funds are a type of mutual fund that invests primarily in stocks, and they can be purchased directly from investment companies or through a broker or adviser.
A direct stock plan or a dividend reinvestment plan may charge you a fee for that service, and brokers who buy and sell stocks for you charge a commission. A discount brokerage charges lower commissions than a full-service brokerage, but generally you have to research and choose investments by yourself. A full-service brokerage costs more, but the higher commissions pay for investment advice based on that firm's research.
Stocks offer investors the greatest potential for growth over the long haul, and investors willing to stick with stocks over long periods of time, say 15 years, generally have been rewarded with strong, positive returns. But stock prices move down as well as up, and large company stocks as a group have lost money on average about one out of every three years. If a company goes bankrupt and its assets are liquidated, common stockholders are the last in line to share in the proceeds, after bondholders and holders of preferred stock. The risks of stock holdings can be offset in part by investing in a number of different stocks, or in other kinds of assets such as bonds. If you are young and saving for a long-term goal such as retirement, you may want to hold more stocks than bonds, while investors nearing or in retirement may want to hold more bonds than stocks.
In the calculator, you enter a starting amount, a monthly contribution, an expected average annual return, a number of years and whether contributions come at the start or end of each month, and it shows the value at the end, your total contributions and the investment earnings. Because stock prices move down as well as up, the return you enter is an assumption, not a forecast. The calculator has no input for commissions, plan fees, taxes or inflation, so its results are before those costs and are not adjusted for inflation.
Worked example
Assumptions: $10,000 invested at the start, $500 added at the end of each month for 20 years and an assumed nominal average return of 7% a year; the return is an example, not an SEC figure or a forecast. Over 20 years, or 240 months, the calculator counts $10,000 + $500 × 240 = $130,000 put in and shows a value of $300,851 at the end, so earnings of $300,851 − $130,000 = $170,851. With a 0% return, the same plan ends at the $130,000 put in, with no earnings.
| Starting amount | $10,000 |
|---|---|
| Monthly contribution | $500 |
| Expected annual return | 7% |
| Years | 20 |
| Contributions made at | End of each month |
| Value at the end | $300,851 |
|---|---|
| Total contributions | $130,000 |
| Investment earnings | $170,851 |
Figures computed by this site's calculator from the inputs above. Run your own numbers: Investment Calculator
Frequently asked questions
How do I invest in stocks?
You can buy and sell stocks through a direct stock plan, a dividend reinvestment plan, a discount or full-service broker, or a stock fund.
Can you lose money investing in stocks?
Yes: there's no guarantee that the company whose stock you hold will grow and do well, so you can lose money you invest in stocks. If you have to sell shares on a day when the stock price is below the price you paid for the shares, you will lose money on the sale.
Where can I find information on public companies?
Stocks in public companies are registered with the SEC, and in most cases public companies are required to file reports to the SEC quarterly and annually. Information on public companies can be found on the SEC's EDGAR system.
Sources
- Stocks U.S. Securities and Exchange Commission (Investor.gov) checked on 2026-11-13
General information drawn from the official sources above, not tax or legal advice. Amounts change from year to year: check the source for your tax year.