Compute the right position size for a Hyperliquid perp trade given your account, risk tolerance, entry, and stop loss. Risk is constant; position size flexes with stop distance — the foundation of survivable trading.
Common: 0.5–2%. Higher = larger positions, faster account decay on losing streaks.
Must be below entry for a long.
Standard risk-based sizing math:
stop_distance = |entry − stop_loss|
position_usd = account × (risk_pct / 100) × (entry / stop_distance)Reading the formula: to lose exactly risk_pct of the account when the stop hits, hold a position scaled by the inverse of stop-distance-as-a-fraction-of-entry. Tight stop → big position; wide stop → small position. Risk in dollars stays fixed.
This is equivalent to the "R-multiple" framework — a trade is risking 1R (your fixed risk budget); profit targets are expressed in multiples of R. Pros: portfolio risk stays bounded regardless of which trade you take. Cons: requires honoring the stop — a position is only as good as the discipline behind it.
Keel is a Strategy OS for AI-assisted systematic trading on Hyperliquid. Build, backtest, and run live strategies with realistic fees, slippage, and funding modeled. Free to start — connect a Hyperliquid wallet when you’re ready to go live.
You pick a maximum acceptable loss per trade as a % of account (typical: 0.5–2%). The calculator works backward from that: if your stop is 5% away from entry, a 1%-risk position is 1% / 5% = 20% of account notional. Wider stops force smaller positions; tighter stops allow larger ones. Risk is constant; position size flexes with the stop distance.
Even a 60% win-rate strategy can blow up an account if any single losing trade is too big. Position sizing relative to a fixed risk budget is the single biggest determinant of survival — much more than win rate or edge per trade. Most professional traders cap risk at 0.5–1% per position.
The calculator takes your stop as an input — it doesn't prescribe one. Set it based on volatility (e.g. 1.5–2x ATR), structural support/resistance, or strategy backtest. Tighter stops mean larger positions but more frequent stop-outs; wider stops mean smaller positions with more breathing room.
The position size returned is USD notional. On Hyperliquid, you can size a $20k notional position with as little as $1k margin at 20x leverage. The risk math is the same — if your stop hits, you lose the chosen risk amount regardless of leverage. Leverage affects margin usage and liquidation distance, not the trade risk if the stop is honored.
Yes. Build a strategy in Keel with explicit risk-per-trade configuration; the execution engine sizes every fill against that risk budget and places stop-loss orders automatically. The same math, run for you on every signal.
Compute the liquidation price for any HL perp position. Pair with stop-loss sizing.
Optimal bet sizing given win rate and win/loss ratio — complementary to risk-based sizing.
How much your strategy could lose peak-to-trough — sets the floor for risk-per-trade.