What is a position size calculator?
A position size calculator is a tool for traders that helps determine the optimal number of coins or shares to buy based on your account balance, risk tolerance, and stop-loss level. Proper position sizing is the foundation of risk management in trading.
Position Size = Risk ($) Γ· (Entry Price β Stop Loss)
How to use the calculator
- Balance β enter your trading account size in dollars
- Risk β specify the % or $ amount you're willing to risk per trade (usually 1β2%)
- Entry Price β your current or planned entry price
- Stop Loss β the price level where you exit the trade at a loss
- Result β the calculator shows the exact number of coins/shares to buy
Why does risk management matter?
Most traders lose money not because of bad entries, but because of improper position sizing. If you risk 10β20% of your account on a single trade, even a streak of 3 losing trades can wipe out half your account. The 1β2% rule lets you survive even a prolonged losing streak and stay in the game.
How much to risk per trade β comparison
Risk size determines how many losing trades in a row you can survive without serious drawdown. Below: how many consecutive losses it takes to lose 50% of your account at each risk level (assuming a strategy with no edge β 50% win rate, 1:1 risk-reward):
- 0.5% risk per trade β you would need roughly 138 consecutive losses to lose 50% of your account. The probability of such a streak at a 50% win rate is essentially zero.
- 1% risk per trade β 69 consecutive losses for a -50% drawdown. This is the classic level for experienced traders.
- 2% risk per trade β 35 consecutive losses. Still safe for a trader with a confirmed positive-expectancy strategy.
- 5% risk β 14 consecutive losses. Probability at 50% win rate is around 0.006%. Sounds safe, but in reality losing streaks of 10β12 happen every year to any active trader. This is not insurance.
- 10% risk β 7 consecutive losses. Probability ~0.8%. One bad week and your account is cut in half. Strongly not recommended.
Bottom line: for a beginner, 0.5β1% is not conservatism, it is a mathematical requirement. Risk levels up to 2% should be reserved for traders with at least 100 executed trades and a proven positive-expectancy strategy.
Worked examples β crypto and stocks
Concrete calculations on real assets. Numbers are rounded for readability.
Example 1: Bitcoin (BTC/USDT) β long
Account balance $10,000. Risk per trade 1% ($100). Entry price $65,000. Stop-loss $63,700 (just below local support). Distance from entry to stop: $1,300, or 2% of price. Position size: $100 Γ· $1,300 = 0.0769 BTC. That is roughly $5,000 of notional exposure β half the account β but actual risk is only $100, because the stop closes the trade earlier.
Example 2: Ethereum (ETH/USDT) β short
Account balance $5,000. Risk 2% ($100). Entry $3,200. Stop-loss $3,296 (above local high, +3% from entry). Position size: $100 Γ· $96 = 1.04 ETH. Notional exposure $3,328. Exchange fees for a market order on futures are typically 0.05β0.1% β about $2β3 on this position, roughly 2β3% of the risk amount. The calculator has an option to include fees in the sizing, which slightly reduces position size so the net intended risk stays close to $100 (actual outcome depends on fill prices).
Example 3: Apple (AAPL) β classic stock trade
Account balance $25,000. Risk 1% ($250). Entry $185. Stop-loss $178 (below the 50-day moving average). Distance $7 per share. Size: $250 Γ· $7 = 35 shares. Notional $6,475. With brokers that charge per-share commission (e.g. $0.005 per share, minimum $1 per order), 35 shares cost $1 in and $1 out, total $2; net risk becomes $252. The calculator has a per-share commission mode where you can set the rate, minimum, and maximum β it then shows the exact risk including all fees.
Example 4: Tesla (TSLA) β wide stop for a volatile stock
Account balance $50,000. Risk 0.5% ($250) β lower bracket due to high volatility. Entry $245. Stop-loss $230 (about 2Γ ATR(14) so noise does not stop you out). Distance $15. Size: $250 Γ· $15 = 16 shares. Notional $3,920. Notice: keeping risk at 0.5% with a wider stop means the position becomes much smaller compared to the AAPL example. That is correct behavior β the wider the stop, the smaller the position, while dollar risk stays fixed. This is the core insight position sizing gives you.
Supported exchanges
The calculator supports automatic price fetching from leading crypto exchanges: Binance, Bybit and OKX. Just enter the coin ticker β the price loads automatically.
The calculator pulls live prices from three exchanges. Each has specifics worth knowing:
- Binance β deepest liquidity on most pairs, minimum order size is usually $5. Use the symbol format "BTCUSDT" (no slash) in the calculator.
- Bybit β competitive fees with frequent fee promotions for active traders. Supports limit orders with better fill prices. Symbol format is also "BTCUSDT".
- OKX β low fees at higher VIP tiers, unique spot pairs, active futures market. Symbols use the "BTC-USDT" format (with a dash), but the calculator automatically converts "BTCUSDT" to the correct format when fetching prices.
The calculator itself does not place trades β it is a sizing tool only. All actual trades you place manually on your exchange using the calculated parameters.
Why this calculator is not for forex
Position sizing for crypto and stocks is straightforward math: price per unit Γ number of units = position size. Forex sizing works differently β it uses lots (1 lot = 100,000 units of base currency) and pips (price change at the fourth decimal, or second for JPY pairs). Pip value depends on the current cross-rate and the lot size, so the forex formula is: position size in lots = risk ($) Γ· (stop in pips Γ pip value). That is separate math, which our calculator deliberately does not implement β to avoid misleading traders with wrong calculations. For forex trading, use dedicated calculators built for lots and pip values.
Frequently Asked Questions
What risk percentage per trade should I use? β
Beginners should risk 0.5β1% of their account per trade. Experienced traders may use up to 2%. Risking more than 3% per trade significantly increases the chance of blowing your account during a losing streak.
How do I set a stop loss? β
Stop losses should be placed based on technical analysis β below a support level, below a previous low, or based on ATR. Never set a stop loss based on the dollar amount you want to lose β only based on the technical market structure.
What is R:R (risk to reward)? β
R:R (Risk to Reward ratio) is the ratio of potential loss to potential profit. At R:R 1:3 you risk $100 to make $300. The minimum acceptable R:R for most strategies is 1:2.
Does the calculator account for exchange fees? β
Yes. The calculator has a dedicated commission block β both percentage-based (e.g. 0.1%) and fixed per-share. With commission adjustment enabled, the position size automatically increases so your intended net risk stays close to the specified amount β actual outcome depends on fill prices and slippage.
Does it work for stocks? β
Yes. Enter the share price and stop-loss level in dollars and you'll get the exact number of shares to buy. Per-share commission mode with min/max caps is supported for Interactive Brokers and similar brokers. The calculator is built for crypto and stocks β it does not support forex, where sizing uses lots and pips with a different formula.
Does the calculator account for leverage? β
Yes. There is a separate field for leverage. Important to understand: leverage does not change your dollar risk β that is set only by the distance to the stop-loss. Leverage affects only margin (how much account is locked up) and the liquidation price. The calculator shows both so you can see whether the position is safe in terms of margin requirements.
How do I size a short position? β
The same way as a long, except the stop-loss sits above the entry price. The formula does not change: size = risk ($) Γ· (stop β entry). The calculator automatically detects direction based on where the stop sits relative to entry.
What is R:R (risk-to-reward) and how do I pick a target? β
R:R is the ratio of risk to potential profit. If you risk $100 and your target is $300, that is R:R 1:3. The minimum acceptable R:R depends on your win rate: at 50% win rate you need at least 1:1, at 33% you need 1:2 minimum. The calculator lets you set a take-profit price and automatically computes R:R and potential profit.
What if the calculation gives a fractional number of shares? β
Most stock exchanges only allow whole shares. If the calculator shows 35.4 shares, round down to 35. This slightly reduces your actual dollar risk. Rounding up (to 36) increases risk above what you planned β not desirable. For crypto, rounding is usually not needed because most exchanges allow fractions down to 6β8 decimal places.