HomeLearnInvesting Basics › How Does the Stock Market Work? (Beginner Guide)

How Does the Stock Market Work?

Beginner-friendly Updated June 2026

Short answer: The stock market is a public marketplace where people buy and sell tiny ownership pieces of companies, called shares. When you own a share of a company like OGDC or Apple, you own a small slice of that business, and your share's price rises or falls based on how much other buyers and sellers think the company is worth. The market simply matches buyers with sellers and settles on a price, the same way a busy bazaar settles on a price for mangoes.
How a share price is set by buyers and sellers A company issues shares at its IPO. Buyers and sellers meet at the stock market. When buyers outnumber sellers the price rises; when sellers outnumber buyers the price falls. Supply and demand set the price. How a share price is set Company sells shares (IPO) Stock market PSX, NYSE, NASDAQ You buy via a broker Supply and demand set the price More buyers than sellers price goes up More sellers than buyers price goes down
Diagram showing how the stock market works: a company sells shares at its IPO, then those shares trade on the stock market between buyers and sellers, and you buy through a broker. Below, two panels show that more buyers push the price up in green and more sellers push the price down in red, because supply and demand set the price.

What is the stock market, really?

Imagine a giant marketplace. But instead of selling mangoes, phones, or cloth, this market sells tiny pieces of companies. That is the stock market.

Each tiny piece is called a share (also called a stock). When you buy one share of a company, you become a part-owner of that company. A very small owner, yes, but a real one. If you want the full picture of what a single piece actually is, read what is a stock or share.

So the stock market is just the place where buyers and sellers come together to trade these shares. In Pakistan, that place is the PSX (Pakistan Stock Exchange). In the US, the big ones are the NYSE and the NASDAQ. They do the same job in different countries. We compare them in PSX vs the US stock market.

Why do companies sell shares at all?

Companies need money to grow. Building a factory, hiring people, or launching a product all cost cash.

One way to raise that cash is to sell small pieces of the company to the public. In return, the public gives them money. This first sale is called an IPO (Initial Public Offering, the first time a company offers shares to everyone).

After the IPO, those shares can be bought and sold again and again between regular people like you. The company does not get money from these later trades. That money flows between buyers and sellers.

How is a share price actually decided?

Here is the part that confuses most beginners, so let us make it click.

A share price is simply the price that a buyer and a seller agree on right now. Nobody sets it from above. It moves like the price of vegetables in a busy bazaar:

That constant tug-of-war between buyers and sellers is what makes prices move every second the market is open. When you see OGDC (Oil and Gas Development Company) jump or LUCK (Lucky Cement) fall, that is just the live result of this tug-of-war.

A simple worked example

Let us walk through one trade slowly.

Say a share of Lucky Cement (LUCK) is trading at Rs 1,000. You believe the company will do well, so you buy 10 shares.

A few months later, the company reports strong profits. More people want to own it. Buyers compete, and the price rises to Rs 1,200.

But prices can also fall. If profits had been weak and the price dropped to Rs 850, your shares would be worth Rs 8,500, a loss of Rs 1,500. This is the honest truth of investing: prices go both ways, and you only lock in a gain or loss when you actually sell.

What are dividends?

There is a second way to make money from shares, beyond the price going up.

When a company earns a profit, it can share some of that profit with its owners. This cash payment is called a dividend. If you own shares, the money lands in your account, just for holding the stock.

Not every company pays one. Younger, fast-growing companies often keep their profits to grow further. Older, steady companies like many cement, oil, and bank stocks on the PSX often pay regular dividends.

How do you actually buy a share?

You cannot walk up to the stock exchange and buy directly. You go through a middleman called a broker (a licensed firm allowed to trade on the exchange for you).

The steps are simple:

What is a stock index, like the KSE-100?

You will often hear "the market went up today." But there are hundreds of companies. So how do we measure the whole market in one number?

We use an index: a single number that tracks a basket of important companies together. Pakistan's most famous index is the KSE-100, which follows 100 of the largest PSX companies. In the US, the S&P 500 tracks 500 big companies like Apple.

When the index rises, most big companies rose that day, on average. We explain this fully in what is a stock index (KSE-100 and KMI-30).

Is the stock market just gambling?

No, though it can feel that way if you guess randomly. Gambling has no real ownership behind it. A share is a real piece of a real business that earns real profits.

Over the long run, good companies grow, earn more, and tend to become more valuable. Short-term prices bounce around with emotion and news. The investors who do best usually buy solid companies and hold them patiently for years, rather than jumping in and out every day.

If you also care about whether a stock is Sharia-compliant (allowed under Islamic finance rules), you can screen for that too. See our guide on halal stocks on the PSX. When you are ready to track real companies, you can create a free account on Market Canvas AI and start exploring with live data.

Quick recap

Key takeaways

Track your halal portfolio free

Screen any PSX or US stock for Sharia compliance, track your portfolio, and get weekly AI picks — free.

Get started free

Frequently asked questions

How does the stock market work in simple terms?

The stock market is a marketplace where people buy and sell shares, which are tiny ownership pieces of companies. Prices move based on supply and demand: when more people want to buy a share, its price rises, and when more want to sell, it falls. You trade through a broker, and you make money if the share price goes up or if the company pays you a dividend.

Can I lose money in the stock market?

Yes. If you buy a share and its price falls below what you paid, you have a loss on paper, and that loss becomes real if you sell at the lower price. Prices move both up and down. This is why most experienced investors buy solid companies and hold them for years rather than trading on quick guesses.

How much money do I need to start investing?

Less than most people think. On the PSX you can often start with a few thousand rupees, since you only need enough to buy at least one share plus small fees. Many US apps even allow fractional shares, so you can buy a small slice of a company like Apple. Start small, learn how it works, and add more over time.

What is the difference between a stock and a share?

They mean almost the same thing in everyday use. A stock usually refers to ownership in companies in general, while a share is one single unit of that ownership. So you might say you own stock in Lucky Cement, and that you specifically hold 10 shares of it.

What is a dividend?

A dividend is a cash payment a company sends to its shareholders out of its profits, just for owning the shares. Not all companies pay them; fast-growing firms often reinvest profits instead, while steady older companies like many banks and cement makers on the PSX tend to pay regular dividends.

Keep learning

← Previous
What Is a Stock (Share)? A Beginner's Guide
Next →
PSX vs US Stock Market: What's the Difference?
Sources & further reading: Pakistan Stock Exchange · SECP Jamapunji — investor education · US SEC — Investor.gov

Educational only — not financial advice.