What is position size in trading?
Position size is the number of shares, units, contracts or lots assigned to a trade. It connects your stop loss to a fixed account-risk limit, so trade quantity is decided by risk rather than emotion or conviction alone.
A good setup can still damage an account when the quantity is too large. A weaker setup can also consume too much capital when the trader uses a fixed number of shares on every trade. A position size calculator solves this by working backward from the maximum amount you are willing to lose.
The calculation uses four core inputs: account capital, risk percentage, entry price and stop-loss price. QbarTrade also uses the target price to show the planned reward and risk-reward ratio. This makes the calculator useful both for risk control and for deciding whether a trade plan offers enough potential reward.
How is position size calculated?
For share-based trades, divide the rupee amount at risk by the price distance between entry and stop loss.
Core formula
Position size = (Account capital × Risk %) ÷ |Entry price − Stop loss|
Capital
₹5,00,000
Risk
1% = ₹5,000
Stop distance
₹1,000 − ₹950 = ₹50
Example result
₹5,000 ÷ ₹50 = 100 shares
If the stop is triggered, the planned loss is approximately ₹5,000 before brokerage, taxes, slippage and gap risk. The position value at a ₹1,000 entry is ₹1,00,000.
How to use this Position Size Calculator
Use the calculator before order placement so the stop loss, quantity and maximum loss are part of one written trade plan.
Enter your account capital
Use the amount you have actually allocated to trading, not your total savings or unused credit limit.
Choose risk per trade
Set the maximum percentage of trading capital you are prepared to lose if the stop loss is triggered.
Add entry and stop-loss prices
The distance between these prices becomes the risk per share or unit. Use a stop based on your setup, not a stop chosen only to obtain a larger quantity.
Enter the target price
The target is used to estimate potential reward and the planned risk-reward ratio before entering the trade.
Review and round down
Use the calculated whole-share quantity, check the total position value, and reduce the quantity further when liquidity, gap risk or correlated positions increase your exposure.
Why traders calculate position size before every trade
Risk-based sizing makes losses more predictable and keeps trade quantity consistent with the account plan.
Protect trading capital
A fixed percentage limit reduces the chance that one oversized trade causes a major account drawdown.
Keep risk consistent
A ₹20 stop and a ₹100 stop should not normally use the same quantity. Position sizing adjusts exposure automatically.
Plan risk and reward together
Combining quantity, stop loss and target shows the cash risk, potential reward and planned risk-reward ratio before entry.
Position size calculation examples
These examples show how capital, risk percentage and stop-loss distance change the recommended trade quantity.
| Scenario | Capital | Risk | Entry / stop | Position size |
|---|---|---|---|---|
| Indian equity swing trade | ₹2,00,000 | 1% = ₹2,000 | ₹500 / ₹480 | 100 shares |
| Tighter stop, same risk | ₹2,00,000 | 1% = ₹2,000 | ₹500 / ₹490 | 200 shares |
| Wider stop, same risk | ₹2,00,000 | 1% = ₹2,000 | ₹500 / ₹460 | 50 shares |
| Lower-risk setup | ₹5,00,000 | 0.5% = ₹2,500 | ₹1,250 / ₹1,225 | 100 shares |
Risk percentage guidelines
There is no universal risk percentage. Lower risk usually improves account survival, while higher risk makes drawdowns grow faster.
| Risk level | Risk per trade | Typical use |
|---|---|---|
| Very conservative | 0.25%–0.5% | New traders, volatile markets |
| Conservative | 0.5%–1% | Capital preservation |
| Common fixed-risk range | 1%–2% | Experienced, disciplined traders |
| High risk | 2%–3% | Requires tested rules and lower trade frequency |
| Very high risk | Above 3% | Large drawdowns can develop quickly |
These ranges are educational examples, not personal financial advice. Total portfolio risk can be higher than the risk shown for one trade when multiple positions are open or strongly correlated.
Using a position size calculator across markets
The risk principle stays the same, but the unit of measurement changes across stocks, futures, options, forex and crypto.
Stocks and ETFs
Use account capital, risk percentage, entry price and stop price. The result is normally rounded down to whole shares.
Futures and options
Check exchange lot size, contract multiplier, premium behaviour, gap risk and broker margin. A share-based result must be converted into permitted lots or contracts.
Forex
Forex sizing normally requires stop distance in pips, pip value, account currency and lot size. Use the Pip Value Calculator alongside your risk amount.
Crypto
For spot crypto, quantity can be based on entry-to-stop distance. For leveraged derivatives, include contract specifications, fees, funding and liquidation risk.
Common position sizing mistakes
The formula is simple, but incorrect inputs and execution assumptions can still produce excessive risk.
Choosing quantity before the stop loss
The stop should come from the trade setup. Quantity should then adapt to that stop distance.
Using the same share quantity every time
A fixed quantity creates inconsistent rupee risk when volatility and stop-loss distance change.
Ignoring correlated positions
Several trades in the same sector or index can behave like one larger position and increase portfolio-level risk.
Rounding the result upward
Always round down. Rounding up can push the actual loss above the percentage selected in the calculator.
Ignoring slippage, gaps and costs
The realised exit may be worse than the stop price. Brokerage, taxes, spread and slippage should be considered separately.
Using leverage as permission to oversize
Available margin is not the same as acceptable risk. Size the trade from the loss limit, not the maximum leverage offered.
Plan the size, then journal the execution with QbarTrade
A calculated position size is useful only when the trade follows the plan. Save the entry, stop, target and risk in QbarTrade, then review whether the executed quantity matched your intended risk.
Similar calculators
Use these calculators together to check trade cost, margin, risk-reward, pip value and expected profit or loss.
Frequently asked questions
Answers to common questions about trade quantity, risk percentage, stop-loss distance and position value.
What is a position size calculator?
A position size calculator converts your account capital, risk percentage, entry price and stop-loss distance into the number of shares or units you can trade without exceeding your planned loss.
How do you calculate position size for trading?
First calculate the amount you are willing to risk: account capital multiplied by risk percentage. Then divide that amount by the absolute difference between entry price and stop-loss price. Always round the final quantity down.
What is a good risk percentage per trade?
Many traders use a fixed risk between 0.5% and 2% of account capital per trade. The right percentage depends on your experience, strategy, drawdown tolerance and the number of correlated positions you may hold at the same time.
Why does a wider stop loss reduce position size?
A wider stop creates a larger potential loss per share. To keep the total rupee risk unchanged, the calculator reduces the number of shares. A tighter stop does the opposite, but it should still be placed at a technically valid level.
Should I use the same position size for every trade?
Usually no. Different trades have different entry-to-stop distances. Position size should adjust so that the maximum planned loss remains consistent even when the stop-loss distance changes.
How does position sizing help prevent large drawdowns?
Position sizing limits the damage from any one trade. When each trade risks only a controlled fraction of capital, a losing streak is less likely to cause an unrecoverable decline in the account.
Can I use this position size calculator for Indian stocks?
Yes. Enter your trading capital in rupees, your risk percentage, the NSE or BSE share entry price, stop-loss price and target. The result shows the maximum whole-share quantity and estimated position value.
Can this calculator be used for options, futures, forex or crypto?
It works directly for unit-based instruments when the entry and stop values represent the loss per unit. Futures, options and forex may also require contract multipliers, lot sizes, pip values, leverage or broker margin rules, so verify the result with the relevant market-specific calculator.
Why should position size be rounded down?
Rounding up can push the real loss above your chosen risk limit. Rounding down keeps the planned maximum loss at or below the amount you intended to risk.
What is the difference between position size and position value?
Position size is the quantity of shares or units. Position value is that quantity multiplied by the entry price. Two trades can have the same position value but very different risk if their stop-loss distances are different.
Does a position size calculator guarantee that I will not lose more?
No. Slippage, gaps, liquidity, brokerage, taxes and execution delays can make the realised loss different from the planned loss. The calculator is a planning tool, not a guarantee.
How is risk-reward ratio calculated?
Risk-reward ratio compares the distance from entry to target with the distance from entry to stop loss. For example, if you risk ₹20 per share to target ₹40 per share, the planned risk-reward ratio is 1:2.
How does QbarTrade calculate position size?
QbarTrade multiplies account capital by the selected risk percentage to calculate the planned rupee risk. It then divides that risk amount by the absolute distance between entry price and stop loss, rounds the quantity down and limits a cash-equity position to the entered account capital.
How does QbarTrade help after calculating position size?
QbarTrade lets you save the planned entry, stop loss, target, quantity and risk in the Trade Planner. After execution, you can compare the actual trade with the original plan and review whether position sizing remained consistent.