Calculators › Trading
Position Size Calculator
Decide how much you'll risk and the calculator works backwards to the number of shares, units or contracts that keeps that risk fixed.
Risk inputs
Your size
How it works
What this calculator does
It works backwards from the risk you're willing to take to the position size that keeps that risk fixed. You decide what fraction of your account you'll lose if the stop is hit, and the tool returns how many shares, units, or contracts that allows.
The formula
units = (account × risk%) / |entry − stop|
The numerator is your risk budget in dollars; the denominator is the per-unit loss between entry and stop. Dividing one by the other holds your total loss at the budget no matter how wide the stop is.
Worked example
With a $25,000 account, a 1% risk budget is $250. If you enter at $50 and place a stop at $48, the per-share risk is $2. Then 250 / 2 = 125 shares. Your position is 125 × 50 = $6,250, but your loss if stopped out is still just $250 — the risk, not the position value, is what you fixed.
What it deliberately does not do
It assumes your stop fills at the price you set; gaps and slippage can make the real loss larger. It does not size for fees, leverage limits, or correlated positions, and it offers sizing math for education, not investment advice.
Frequently asked questions
How do I calculate position size from risk?
(account × risk%) / |entry − stop|. A wider stop means a smaller position for the same risk.What percentage of my account should I risk per trade?
Why does a wider stop give me a smaller position?
Does position size depend on my stop-loss?
Does this guarantee I'll only lose the amount I set?
Related calculators
Information tool only — not investment, trading, tax, or financial advice. All computation runs in your browser.