Skip to content
Personal Finance

Position Sizing, Risk of Ruin and DCA vs Lump Sum: Interactive Calculators for PSX Investors

How many shares should you buy, and does DCA beat a lump sum? Use two live calculators with accessible charts to size trades and test a monthly plan.

S
Written bySherjeel Islam
Published • Updated • 18 min read• Founder & Lead Developer
Facts last checked 22 November 2026

Two questions decide whether a small investor survives long enough to benefit from good ideas: how much do I buy, and how do I put the money in? This guide answers both with the arithmetic, a labelled chart, and a live calculator for each. It builds on risk management for retail investors and the PSX beginner’s guide.

All numbers on this page are illustrative. They are not forecasts and do not describe any real company.

Position sizing: decide the loss first

Most beginners decide how many shares to buy by how much money they feel like using. Position sizing flips that: you choose the most you are willing to lose on the trade, and the stop-loss distance sets the share count.

Shares = (capital x risk %) / (entry price - stop-loss price)

Worked example. Capital Rs 1,000,000, risk 1% (Rs 10,000), entry Rs 100, stop Rs 95. The risk per share is Rs 5, so you buy 10,000 / 5 = 2,000 shares. That position costs Rs 200,000, or 20% of your capital, but if the stop is hit you lose about Rs 10,000, not Rs 200,000.

Why small risk per trade matters: the maths of losses

Losses compound, and recovering from them is asymmetric. A fall of d needs a gain of 1 / (1 - d) - 1 to get back to even:

DrawdownGain needed to recover
10%11.1%
20%25.0%
30%42.9%
50%100%
70%233%

Risk of ruin is the chance of falling into the deep end of that table. It grows quickly when each trade puts a large slice of the account at stake, because a normal losing streak then becomes a catastrophe.

Losing streak at 1 percent versus 10 percent risk per trade (example)Top chart: equity as a percent of starting capital over ten losing trades in a row. At 1 percent risk equity falls to 90.4 percent. At 10 percent risk it falls to 34.9 percent. Bottom chart: the gain needed to recover rises steeply as the drawdown deepens, reaching 187 percent after a 65 percent drawdown.0%20%40%60%80%100%Equity (% of start)1% risk: 90.4%10% risk: 34.9%012345678910Consecutive losing tradesGain needed to get back to break-even0%100%200%300%400%Gain needed65% down needs +187%0%10%20%30%40%50%60%70%Drawdown from peak
Figure 1. Ten losing trades in a row. Risking 1% each time leaves 90.4% of capital; risking 10% leaves 34.9% and needs a 187% gain just to get back to even. Illustrative arithmetic, compounding losses on the remaining balance.
Text version of Figure 1
Risk per tradeEquity after 10 lossesDrawdownGain to recover
1%90.4%9.6%10.6%
2%81.7%18.3%22.4%
5%59.9%40.1%67.0%
10%34.9%65.1%186.8%

Using it sensibly

  • 1% to 2% per trade is a common guideline, not a law. Beginners often start at the low end. Your own number should reflect your capital and temperament.
  • Positions that move together count as one. Three bank shares are not three independent bets. See diversification and position sizing.
  • Stops are plans, not guarantees. Shares can gap past your price, trade thinly or hit a daily price limit, so your real loss can exceed the planned one.
  • Costs and tax reduce your edge. Brokerage and capital gains tax come out of every winner.
Position-size calculator: how many shares, and how bad can a losing streak get?
Educational calculator. Enter your capital, entry and stop. It sizes the trade and draws what ten losses in a row would do.
1. Enter your trade
The live chart needs JavaScript. The static diagram above shows the same idea.
Shares to buy-
Position value-
% of capital-
Loss if stopped out-
Drawdown after 10 losses-
Gain to recover-
Winners needed (2 to 1)-
Loading
Show the numbers behind the chart
Losses in a rowEquityDrawdown
Educational simulation. Numbers are illustrative, not a forecast or advice.

DCA vs lump sum: how to put the money in

Dollar-cost averaging (DCA) means investing a fixed amount at regular intervals, regardless of price. Your average cost is total invested divided by units bought. When the price falls, the same money buys more units, which pulls the average cost down. The average cost per unit is always at or below the simple average of the prices you paid, which is why DCA feels comfortable in volatile markets.

  • Rising market: a lump sum is invested for longer, so it usually ends ahead. Studies of developed markets have often found lump sum ahead more often than not.
  • Falling or V-shaped market: DCA buys more units at the lows and can finish well ahead.
  • Your cash flow decides a lot. If your salary arrives monthly, you do not have a lump sum to choose between, so DCA is simply how you invest.
  • Costs matter. Many small share purchases can be expensive if your broker charges a minimum commission. Funds that accept small regular investments can be cheaper. See how to start investing in mutual funds and the fund categories.
DCA in a V-shaped market: average cost falls below the latest price (example)Top chart: total invested, DCA portfolio value and lump-sum value over 36 months in a made-up V-shaped market. Bottom chart: the price falls about 40 percent then recovers, while the DCA average cost per unit ends near 81 against a latest price near 113.0200k400k600k800k1M1.2MValue (Rs)Price and your average cost per unit406080100120Price147101316192225283134Month
Figure 2. A made-up V-shaped market over 36 months with Rs 20,000 invested monthly. The DCA average cost (81.3) ends well below the latest price (113.3) because more units were bought at the lows. Illustrative scenario, not a forecast.
Text version of Figure 2
ReadingDCALump sum
Total investedRs 720,000Rs 720,000
Final valueRs 1,003,546Rs 815,727
Return+39.4%+13.3%
DCA vs lump-sum simulator: does spreading it out help?
Made-up price paths for learning. Pick a scenario and change the monthly amount and the duration.
1. Pick a market scenario
2. Adjust the plan
The live chart needs JavaScript. The static diagram above shows the same idea.
Total invested-
DCA value-
DCA return-
Lump-sum value-
Lump-sum return-
Avg cost vs price-
Loading
Show the numbers behind the chart
MonthPriceInvestedDCA valueLump value
Educational simulation. Numbers are illustrative, not a forecast or advice.

Putting both together

Decide your risk per trade, size each position from its stop, and add money on a schedule you can keep. If you are investing monthly, a simple plan is to fix the amount, fix the date and review once a quarter, not once a day. Also compare returns with inflation and savings rates, and use the glossary for any unfamiliar term.

Checklist

  • What is the most I can lose on this trade in rupees, and what percent of my capital is that?
  • Where is my stop, and have I allowed for gaps and thin trading?
  • Do my open positions all depend on the same thing (sector, interest rates, one news event)?
  • Do brokerage and tax still leave a sensible reward-to-risk?
  • If investing monthly: is the amount affordable, and are fees small relative to each purchase?

Educational content only, not investment advice. Calculators use made-up numbers and scenarios and do not predict returns. You can lose money investing. Consider speaking to a licensed adviser before making decisions.

Frequently asked questions

How much of my capital should I risk on one trade?

Many risk guides suggest keeping it to around 1% to 2% of capital per trade, but there is no universal rule. The right figure depends on your capital, how correlated your positions are and how much of a drawdown you can live with.

What is risk of ruin?

It is the chance of losing so much of your capital that you can no longer trade or recover. It rises quickly when each trade risks a large share of your account, because losses compound.

Why does a 50% loss need a 100% gain to recover?

Because the gain is measured on a smaller balance. Rs 100 that falls 50% is Rs 50, and you need to double Rs 50 to get back to Rs 100.

Is dollar-cost averaging better than investing a lump sum?

Not always. In rising markets a lump sum is invested for longer and often wins, while DCA tends to help in falling or volatile markets and reduces the risk of investing everything just before a drop. The better choice depends on your cash flow and your tolerance for regret.

Does DCA work for PSX shares?

The idea works, but check your broker's minimum commission, because many small purchases can add up in fees. Mutual funds often allow small regular investments, which can be cheaper for a monthly plan.

Will my stop-loss always execute at my price?

No. A stop-loss is a plan, not a guarantee. A share can gap past your stop, trade thinly or be locked at a price limit, so the real loss can be larger than planned.

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.

S

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.

Financial & Investment Disclaimer

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.