Compound Interest, Dividend Reinvestment and P/E vs PEG: Interactive Calculators for PSX Investors
See how reinvested dividends compound and when they overtake your contributions, then test how a falling P/E can cancel earnings growth. Two live calculators with accessible charts.
Two ideas explain a large share of long-term investing results: compounding (returns earning returns, especially when dividends are reinvested) and valuation (what you pay for each rupee of earnings). This guide gives you the arithmetic, a labelled chart and a live calculator for each. It builds on the PSX dividend investing guide and how to read PSX financial results.
All numbers here are illustrative. They are not forecasts and do not describe any real company.
Compound interest: the three layers of your pot
If money grows at a steady rate r, after n years it is worth the starting amount times (1 + r) to the power n. At 8% a year, Rs 100,000 becomes about Rs 466,000 in 20 years, because each year’s gain is earned on the previous year’s gains too. A handy shortcut, the rule of 72, says money doubles in roughly 72 divided by the rate in years, so about 9 years at 8%.
With shares there are two sources of return, and it helps to separate them:
- Capital appreciation: the share price rising.
- Dividends: cash paid out. If you reinvest them (sometimes called DRIP, a dividend reinvestment plan; on PSX you usually do it yourself by buying more shares) they buy extra shares that grow and pay dividends too.
On top of both sits your own money, the contributions. Early on, contributions are most of the pot. Later, growth does most of the work, which is why starting early matters more than most people expect.
Text version of Figure 1
| Year | Contributed | Capital appreciation | Dividends reinvested | Total |
|---|---|---|---|---|
| 0 | Rs 500,000 | Rs 0 | Rs 0 | Rs 500,000 |
| 6 | Rs 1,940,000 | Rs 793,595 | Rs 616,717 | Rs 3,350,313 |
| 12 | Rs 3,380,000 | Rs 3,619,771 | Rs 2,812,988 | Rs 9,812,759 |
| 18 | Rs 4,820,000 | Rs 11,054,365 | Rs 8,590,545 | Rs 24,464,910 |
| 25 | Rs 6,500,000 | Rs 33,691,179 | Rs 26,182,018 | Rs 66,373,197 |
Reading the chart
- The grey layer is what you put in. It grows in a straight line.
- The purple and green layers compound. They start thin and then curve upward.
- The lower chart shows the crossover. In the example, the yearly dividends first exceed the Rs 240,000 you add each year in year 8. After that the portfolio is paying you more than you are paying it.
Cautions before you trust a number
- Returns are not steady. Real prices fall as well as rise and dividends can be cut. A smooth line hides that.
- Tax and costs. Dividends are taxed at source, so less than the full amount is reinvested. See filer vs non-filer withholding tax and how bank dividends work. Brokerage also applies.
- High yield can be a warning. A yield is dividend divided by price, so it jumps when the price falls. Look at earnings and the payout ratio before chasing it. The high-dividend stocks guide explains what to check.
- Inflation matters. A pot growing at 14% a year with 10% inflation grows much less in real terms. See inflation vs savings.
- The default example adds yield on top of growth. With the same 8% price growth and no dividends the pot would be about Rs 21.6 million, not Rs 66.4 million, because the model’s total return is price growth plus yield.
Show the numbers behind the chart
| Year | Contributed | Appreciation | Dividends reinvested | Total |
|---|
P/E and PEG: why price can lag earnings
The price-to-earnings (P/E) ratio is the share price divided by earnings per share (EPS). A P/E of 15 means you pay Rs 15 for each Rs 1 of yearly profit. The price in the future equals future EPS times the P/E the market is willing to pay then:
Future price = future EPS x future P/E
That gives two ways to be disappointed: earnings can fall short, or the multiple can shrink (multiple compression). Falling interest-rate expectations, a growth scare, or simply a re-rating can all move the multiple even when the business keeps growing.
Worked example. Price Rs 100, P/E 15, so EPS is Rs 6.67. EPS grows 12% a year for five years to Rs 11.75, which is 76% higher. If the P/E stays at 15 the price is Rs 176. If the P/E falls to 10 the price is only Rs 117.49, a gain of 17.5% over five years instead of 76%. You would need an exit P/E of about 8.5 just to get your money back.
The PEG ratio divides the P/E by the growth rate in percent: 15 / 12 = 1.25. A figure near 1 is often quoted as being in line with growth, but it relies on a growth forecast, which is the least certain input. Treat PEG as a rough screen, not a verdict.
Text version of Figure 2
| Year | EPS | P/E | Price (P/E falls to 10) | Price (P/E unchanged) |
|---|---|---|---|---|
| 0 | Rs 6.67 | 15.0x | Rs 100.00 | Rs 100.00 |
| 2 | Rs 8.36 | 13.0x | Rs 108.71 | Rs 125.44 |
| 5 | Rs 11.75 | 10.0x | Rs 117.49 | Rs 176.23 |
Show the numbers behind the chart
| Year | EPS | P/E | Price (scenario) | Price (P/E unchanged) |
|---|
How to use both together
Compounding rewards patience and a sustainable payout. Valuation tells you what you are paying for it. A sensible routine is to check the P/E against the company’s own history and its sector, ask whether earnings can really grow at the assumed rate, look at how much of profit is paid out, and keep position sizes sensible with the position sizing and DCA calculators. Unfamiliar terms are in the glossary.
Checklist
- Is the dividend covered by earnings and cash flow, and has it been paid steadily?
- Is the yield high because the price fell?
- What P/E am I paying compared with the company’s history and its sector?
- If the P/E falls by a third, does my return still make sense?
- What growth rate is the PEG using, and who says it is realistic?
- Have I allowed for dividend tax, brokerage and inflation?
Educational content only, not investment advice. Calculators use made-up numbers and steady rates and do not predict returns. You can lose money investing. Consider speaking to a licensed adviser before making decisions.
Frequently asked questions
What does reinvesting dividends do to returns?
Reinvested dividends buy more shares, which then pay dividends and grow in price themselves. Over many years this compounding can make up a large part of the total return. Tax withheld on dividends and the price you reinvest at both change the result.
When do dividends become bigger than my monthly contributions?
It depends on your yield, growth, starting amount and contribution. In the calculator's default example it happens in year 8. Lower yields or larger contributions push it later, and with no contributions dividends exceed them from the start by definition.
Is a higher dividend yield always better?
No. A yield rises when the price falls, so a very high yield can warn that the market doubts the payout. Check payout ratio, earnings and cash flow, not just the yield.
What is a good P/E ratio?
There is no single good number. P/E varies by sector, interest rates, growth and risk, so compare a company with its own history and with similar companies. A low P/E can be cheap or can reflect falling earnings.
What is multiple compression?
It is when the P/E the market is willing to pay falls. Even if earnings grow, a lower P/E can hold the price back or push it down.
What does the PEG ratio tell me?
PEG is the P/E divided by the expected annual earnings growth rate in percent. Around 1 is often described as in line with growth, but the result depends on a forecast that can be wrong, so treat it as a rough screen.
Sources and further reading
Facts in this guide were last checked against these sources on 22 November 2026.
Found an error or an out-of-date detail? See our editorial policy or tell us.
About Sherjeel Islam
Sherjeel Islam is the founder and lead developer behind PakGains. With an extensive background in software engineering, database architecture, and enterprise data systems, he specializes in building real-time market tracking tools and analytical models for Pakistani investors. Sherjeel focuses on bridging the gap between raw market data and practical financial tools, writing in-depth guides on market indicators, cryptocurrency frameworks, and cross-border financial technology.
Keep reading
Disclaimer: The content on PakGains is for informational and educational purposes only and does not constitute financial, investment, legal, or tax advice. Financial markets, cryptocurrencies, and banking services involve inherent risk. Always conduct your own research or consult with a licensed financial professional before making financial decisions.