Home / Tools / Trading Position Size Calculator
Trading Position Size Calculator
A trading position size calculator turns an account size, a risk percent, and a stop into a position size. Use it for crypto or stocks in units. It rounds size down so a stop-out stays inside the amount you chose to risk.
How it works
Risk amount = account x risk percent / 100. For units, stop distance is the absolute gap between entry and stop, and the fee per unit is the percent on the entry plus the percent on the stop. Units = risk amount / (stop distance + fee per unit). Position value = units x entry.
Units = (account x risk%) / (|entry - stop| + entry x fee% + stop x fee%).
Worked example
Example, made-up numbers.
Crypto, no fees
Account $5,000, risk 1%, long, entry 100, stop 92, target 116, no fees.
| Step | Calculation | Result |
|---|---|---|
| Risk amount | 5,000 x 1% | $50.00 |
| Stop distance | 100 - 92 | $8.00 |
| Units | 50 / 8 | 6.25 |
| Position value | 6.25 x 100 | $625.00 |
| Share of account | 625 / 5,000 | 12.50% |
| Reward and ratio | (116 - 100) x 6.25 = 100.00; 100 / 50 | 2.0 to 1 |
Same trade with 0.75% per side: fee per unit = 0.75 + 0.69 = 1.44, risk per unit 9.44, units 5.2966, value $529.66.
Edge cases and limits
- A stop on the wrong side of the entry shows a message for that direction and a one-click switch.
- A stop equal to the entry cannot be sized, because the distance is zero.
- Risk percent must be above 0 and at most 100. Above 5, a note says a higher risk means larger losses on a losing streak. The note does not say what is typical.
- If the crypto position value is greater than the account, the page shows the affordable maximum. Equal to the account is not that warning.
- This calculator does not model leverage or margin.
- A size under 0.00000001 units is too small to trade.
- Pasted dollar signs, commas, and spaces are cleaned. Use a dot for decimals.
Frequently asked questions
What is position sizing and why does it matter?
Position sizing sets the trade so a stop-out loses a chosen amount of the account, not whatever the price move happens to take.
How much of my account should I risk per trade?
That is a personal choice. The arithmetic of a losing streak is plain: ten straight losses at 1% leave about 90.4% of the account, because 0.99 to the 10th is 0.9044. At 5%, the same streak leaves 59.9%, because 0.95 to the 10th is 0.5987. This is not advice and it is not a claim about a typical number.
Why does the calculator round down?
Rounding up would spend more than the risk amount you entered. Size is rounded down so the stop stays inside that amount.
Does this include leverage or margin?
No. It sizes by the loss at your stop, not by buying power. This calculator does not model leverage or margin.
Related tools
Check the ratio on the risk reward calculator and the dollar cost on the trading fee calculator. The wider frame is risk management for trading.
Try it with a Moby Agent
If you automate trades, limits do the same job. You set your agent's per-trade and daily spending limits and market-cap range; Moby blocks red-rated tokens. This page does not claim that a Moby Agent sizes positions with this method.
