NChartProNChartProNChartPro
Account & tools

Calculator

Two calculators about risk. One sizes a single trade so a loss stays inside what you accept. The other shows how deep the losing runs of a whole system can go.

Open the page5 parts/tools/calculator
Calculator — the live page, with each part numbered
Calculator — captured from the live page. Hover a number to see what it is.
What

What this page is

Position size takes your account, the share of it you accept losing on one trade, an entry price and a stop price. It returns the largest share count where buying at the entry and selling at the stop loses no more than that budget, with costs on both sides counted.

The costs are the same ones the Buy / Sell calculator uses: broker commission by slab, the SEBON fee of 0.015 % and the DP charge of Rs 25, on the buy and on the sell. With a target, the page also shows the profit after costs and capital gains tax, and the reward divided by the risk.

A gap risk card shows what happens when the price falls past your stop in one jump. NEPSE lets a stock move up to 15 % from the previous close in a session (from 20 April 2026), so one or two limit-down days can cost several times your budget.

Risk of ruin takes a win rate, an average win and an average loss in R (R is the money risked on one trade), the share of the account risked each time, and the number of trades. It plays that system 5,000 times in random order and counts how many runs fell to your ruin line.

Why

Why it helps you

If you trade
Days to weeks · you care about timing and the crowd.
  • Size before you buy. The share count comes from the stop, not from how much money you have or how sure you feel.
  • Look at the gap card on thinly traded stocks. A stop is a plan, not a promise: if the stock is locked at its lower limit with no buyers, you sell lower, later.
  • In Risk of ruin, put your real numbers from past trades, after costs. A system with a small positive expectancy can still fall 30 % or more on the way; the worst 5 % rows show how far.
If you invest
Months to years · you care about quality and price paid.
  • Even a long-term buy has a price where you would admit you were wrong. Sizing to it keeps one bad company from hurting the whole account.
  • Risk of ruin shows why the risk per trade matters more than the win rate: the same system at 2 % and at 10 % per trade gives very different worst cases.
When · Where

When to use it, and where to find it

  • Before placing a trade, to know how many shares to buy.
  • When you change your stop, to see how the share count changes.
  • After a month of trading, to test your own win rate and average win and loss.
Where — Top navigation → Account & tools → Calculator
How to

Try it — a short walkthrough

  1. 1
    Choose a tab
    Position size is for one trade. Risk of ruin is for many trades in a row.
    See this part in detail →
  2. 2
    Type your plan
    Account, risk %, entry and stop. The stop must be below the entry. A target is optional.
    See this part in detail →
  3. 3
    Read the share count
    Shares is the number to buy. Compare it with Shares without costs to see what the costs take.
    See this part in detail →
  4. 4
    Check the gap risk
    Read the loss after one and two limit-down days. If it is far above your budget, a smaller size or a different stock may suit you better.
    See this part in detail →
  5. 5
    Test a system in Risk of ruin
    Type a win rate, average win and loss in R, the risk per trade and the number of trades. Press "Run again with new random draws" to draw new random orders.
    See this part in detail →
Prefer to be shown?
Open Calculator and press ? in the top bar. The guided tour walks the same parts on the live screen, in English or नेपाली, and you can pause it at any step.
In detail

Every part of the page

In the order you meet them on screen, each with a close-up of the real thing. The numbers match the dots on the figure above.

1

Pick a calculator

Position size is for one trade. Risk of ruin is for many trades in a row.

How — Click a tab to switch. Your numbers in the other tab stay until you leave the page.

  • Risk of ruin plays your win rate and average win and loss 5,000 times in random order.
2

Your plan

Your whole account, the part of it you accept losing on this trade, and three prices: entry, stop and an optional target.

How — Type the numbers. The stop must be below the entry.

  • Risk budget = account × risk % ÷ 100.
  • Holding time only changes the tax on a profit: 5 % for 365 days or less, 3.75 % for more than 365 days (sales from 22 Sep 2026).
3

How many shares

The largest share count where buying at the entry and selling at the stop loses no more than your budget, with costs on both sides.

How — Compare "Shares" with "Shares without costs" to see how much the costs take.

  • Costs: broker commission, SEBON fee 0.015 % and DP charge Rs 25, on the buy and on the sell.
  • Net at the target is after costs and capital gains tax.
4

Gap risk

A stock can fall up to 15 % from the previous close in one session. If the price jumps past your stop, you sell lower than you planned.

How — Read the loss after one and after two limit-down days, and how many times your budget it is.

  • A stop is a plan, not a promise.
  • The ±15 % limit is the NEPSE rule from 20 April 2026.
Detail

Reading the numbers

  • Risk budget = account × risk % ÷ 100.
  • Loss at the stop = (buy amount + buy costs) − (sell amount − sell costs).
  • Expectancy (R) = win rate × average win − loss rate × average loss. Above 0, the system makes money on average.
  • Break-even win rate = average loss ÷ (average win + average loss).
  • In Risk of ruin each trade risks the stated % of the account at that moment, so the risk shrinks after losses and grows after wins.
Every box

Every input and result, one by one

Position size: Your plan

The first tab. Type your account, the loss you accept, and the prices of your plan. The page starts with an example: Rs 5,00,000, 1 %, entry 500, stop 470, target 560.

Account (Rs)All the money in your trading account, not only what goes into this stock. Up to Rs 10 crore.
Risk on this trade (%)The part of the account you accept losing if the stop is reached. Risk budget = account × this % ÷ 100. At 1 % of Rs 5,00,000 the budget is Rs 5,000.
Entry price (Rs)Your planned buy price.
Stop price (Rs)The price where you plan to sell if the trade goes wrong. It must be below the entry.
Target price (Rs)Optional. With it, the result also shows the profit at the target.
Planned holding365 days or less, or More than 365 days. It only changes the tax on a profit at the target: for sales from 22 Sep 2026 a person pays 5 % or 3.75 %.

Position size: Result

How many shares fit your risk budget once costs are counted.

SharesThe largest share count where buying at the entry and selling at the stop loses no more than your budget.
Risk budgetAccount × risk % ÷ 100.
Loss at the stopWhat you lose if you buy at the entry and sell at the stop, costs included. Red if it is above the budget.
Costs inside that lossCommission, SEBON fee and DP charge on both sides.
Stop distanceHow far the stop is below the entry, in percent.
Shares without costsBudget ÷ (entry − stop). Costs make the real number smaller.
Net at the target, Tax in thatProfit if you sell at the target, after costs and capital gains tax, and the tax part of it.
Reward ÷ risk, after costsNet at the target ÷ loss at the stop, shown as "2.00 : 1".
WarningsIf the budget does not cover even one share, the page says to raise the risk or move the stop. Fewer than 10 shares is an odd lot, which does not trade like a normal order.

Position size: Gap risk — the ±15% daily limit

A stop does not cap your loss when the price falls past it in one jump.

One limit-down day: price / lossThe price after one 15 % fall from the entry, and your loss if you sell there, with how many times your budget it is.
Two limit-down days: price / lossThe same after two 15 % falls in a row.
Stop below one limitIf your stop is more than 15 % below the entry, the page says one session cannot reach it; it needs at least two.

Risk of ruin: Your system

The second tab. The page starts with an example: win rate 40 %, average win 2 R, average loss 1 R, 2 % per trade, 100 trades, ruin at 50 % down.

Win rate (%)The share of trades that make money.
Average win (R)The usual win, in R. R is the money risked on one trade.
Average loss (R)1 means the stop held. More than 1 means you often sold below your stop.
Risk per trade (%)Of the account at that time, so the risk shrinks after losses and grows after wins.
TradesHow many trades in one run, up to 1000.
Ruin means down (%)How far below the start counts as ruined.
Run again with new random draws5,000 runs are played. The same inputs give the same answer until you press this button for new random orders.

Risk of ruin: What the runs show

The share of 5,000 random runs that fell to your ruin line, and how the account ended.

Runs that hit the ruin lineThe share of runs that fell to your ruin line at any point.
Expectancy per tradeWin rate × average win − loss rate × average loss, in R.
Break-even win rateAverage loss ÷ (average win + average loss).
Runs that end below the startThe share of runs that finished with less than they started.
Ending account — middle / worst 5 % / best 5 %Where the account ended (start = 100) in the middle run, and at the bad and good edges.
Deepest fall from a peakThe biggest drop from a high, in the middle run and the worst 5 %.
Longest losing runThe longest row of losses, middle / worst 5 %.
Account pathA chart of the middle run and the band between the worst 5 % and the best 5 %, trade by trade. The dashed line is your ruin line.
Honest limits

What it does not do

  • Long trades only: the stop must be below the entry.
  • The page does not know your holdings or prices. It uses only what you type.
  • Risk of ruin uses the same win and loss size every time. Real trades vary, so real results spread wider.
  • Rates are the ones written into the app. Check an unusual result against your broker's bill.
  • Nothing here is a reason to buy or sell. It only does the arithmetic of a plan you made.
FAQ

Questions people ask

Is the Calculator free?

Yes. From 28 Nov 2026 the Tools pages (all calculators) are free for everyone.

Why is the share count lower than budget ÷ (entry − stop)?

Because the costs on the buy and the sell are part of the loss. The DP charge alone is Rs 50 for a round trip.

What does "ruined" mean here?

A run is counted as ruined the first time the account falls the percentage you set below where it started. You choose the line; 50 % is the default.

Where are the Buy / Sell and Break-Even calculators?

Under Experimental, then Tools. The "Trade costs:" line at the bottom of this page links straight to Buy / Sell, Break-Even and Round-Trip, and "All calculators" opens the full list.


Market Closed
--:--:--NPT
○FollowerData updated: --:--:--