Position Size Calculator
Calculate how many shares, coins, or price-based units fit your planned risk. Enter your account balance, risk percentage, entry price, and stop-loss price to estimate your maximum loss and position size before placing a trade.
How the calculator determines position size
The calculation limits the planned loss to a percentage of your account balance. It does not predict whether a trade will win, account for gaps or slippage, or guarantee that an order will close at the stop price.
Five steps to calculate a position
Define the trade and its invalidation level before calculating size. The calculator should be the final step in planning, not a substitute for a trading plan.
Position size calculation examples
These simplified examples assume a USD account and an instrument quoted in USD. Fees, spreads, slippage, taxes, and leverage are excluded.
Risk: 1% = $100
Entry: $100 | Stop: $95
Risk per share: $5
Risk: 0.5% = $125
Entry: $500 | Stop: $505
Risk per share: $5
Risk: 2% = $400
Entry: $105,000 | Stop: $103,000
Risk per BTC: $2,000
Risk: 0.5% = $5
Entry: $50 | Stop: $48
Risk per share: $2
*If fractional shares are unavailable, round down to two shares. Never round up beyond the calculated position size.
The mathematics of a 1% risk example
Using a constant percentage means position risk decreases as the account declines. The examples below illustrate compounding; they are not a recommended risk level or a promise of performance.
Position sizing controls the amount planned for loss; it cannot control execution. Price gaps, slippage, liquidity, leverage, and correlated positions can make realized losses larger than the calculator’s estimate.
Position sizing errors to avoid
A correct formula can still produce an unsuitable trade if the inputs or assumptions are wrong.
Position size calculator questions
What does a position size calculator do?
It estimates the number of shares or price-based units that fit a chosen maximum loss. The calculation uses account balance, risk percentage, entry price, and stop-loss price.
Does this calculator work for both long and short trades?
Yes. It uses the absolute difference between entry and stop prices, so the stop can be below the entry for a long trade or above the entry for a short trade.
Can I use this as a forex lot size calculator?
Not by itself. Forex results depend on the currency pair, account currency, pip value, and contract size. Use the pip calculator and confirm the final lot size against your broker’s specifications.
Why can the calculated position value exceed my account balance?
The formula limits loss at the stop; it does not limit purchase value. A position value above the account balance would require margin or leverage and may be unavailable or unsuitable. Confirm buying-power and margin requirements with your broker.
Should I round the position size up or down?
Round down to the nearest share, fractional-share increment, coin increment, or supported unit. Rounding up increases the planned loss beyond the selected risk percentage.
Does a stop-loss guarantee the calculated maximum loss?
No. A stop order can execute at a worse price because of gaps, volatility, slippage, or limited liquidity. Treat the result as an estimate rather than a guaranteed loss limit.
Continue planning the trade
These calculators and guides cover the next parts of trade planning, chart analysis, and risk evaluation.
Educational use only: This calculator and its examples are general information, not individualized financial, investment, tax, or trading advice. Trading can result in losses, including losses beyond deposited funds when leverage is used.
