Hyperliquid Calculator

Crypto Position Size Calculator

Enter your account size, the share of it you will risk, your entry and your stop. The calculator returns the crypto position that loses exactly that amount if the stop is hit, the leverage it needs on a Hyperliquid perp, and the liquidation price next to your stop.

Inputs

BTC $62,741 at 19:00 UTC · up to 40x · funding 0.00125%/h

Common: 0.5–2%. Higher = larger positions, faster account decay on losing streaks.

Must be below entry for a long.

Result
Position size (USD)
$2,500
Units of underlying
0.03985
Risk if stop hits
$100
Stop distance
4%
Implied leverage
0.25x

Position ÷ account. Hyperliquid allows up to 40x on BTC.

Liquidation price at 1x
none (1x long)

At 1x the mark price alone cannot liquidate a long.

By Keel Research Team · Data as of Nov 19, 2026, 19:00 UTC
All trading calculators
How it works

Methodology

Standard risk-based sizing math:

stop_distance = |entry − stop_loss|
position_usd = account × (risk_pct / 100) × (entry / stop_distance)
implied_leverage = position_usd / account

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.

The formula has no ceiling, so the calculator adds Hyperliquid’s. Position ÷ account is the leverage the account would run at. Hyperliquid caps leverage per asset, and the calculator uses the cap Hyperliquid lists for the asset you pick. A size above it is flagged as unopenable, with the largest size the cap allows. The result also shows the isolated liquidation price at that leverage, from the same formula as the liquidation calculator, beside your stop: if the stop sits beyond it, the exchange closes the position first and the stop never fires.

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.

BTC position size example

BTC traded at $62,741 at 19:00 UTC. With the calculator's defaults, a $10,000 account risking 1% and a stop 4% below, at $60,231:

  • Risk if the stop hits: $100
  • Position: $2,500, or 0.03985 BTC
  • Leverage: 0.25x, against Hyperliquid's 40x cap on BTC
  • Liquidation price: none, since at this leverage a long cannot be liquidated

Why the risk percent decides survival

A losing streak compounds. One hundred losing trades in a row at 1% risk each leave about 37% of the account, a drawdown of about 63%: bad, but recoverable. The same streak at 5% a trade leaves about 0.6%. A 50% drawdown needs a 100% gain to get back to even, and a 70% drawdown needs about 233%, so the risk per trade sets how bad a losing run can get long before the edge matters.

Adding a ceiling and a volatility target

  1. Set a base risk per trade, typically 0.5% to 1%, and size from the stop as above.
  2. Cap it with the Kelly criterion: work out half Kelly from your win rate and payoff in the Kelly criterion calculator and use whichever size is smaller.
  3. Scale total exposure down when volatility is high and up when it is low, so the portfolio’s risk stays steady. The mechanics are in volatility targeting explained.

Each layer does a different job: the risk percent keeps any one trade survivable, the Kelly ceiling ties size to the edge, and the volatility target smooths the whole book.

Automate it

Trade systematically on Keel

Keel is a strategy builder for Hyperliquid. Describe an idea, backtest it with fees, slippage and funding, and run it live on Hyperliquid’s crypto perps. Start free, and connect a wallet when you’re ready to trade.

What you can do
  • Backtest any strategy with realistic fees, slippage, and funding modeled.
  • Change a parameter and run it again. Every backtest is kept.
  • Run it live on Hyperliquid with stop-losses and leverage caps.
  • Start from a sentence. Describe your idea and Keel builds a strategy you can test.
FAQ

Frequently asked questions

How do you calculate position size?

Position size = (account × risk %) ÷ stop distance %. With a $10,000 account, 1% risk, an entry of 100 and a stop at 96, you risk $100, the stop is 4% away, and the position is $100 ÷ 4% = $2,500, or 25 units.

How do I calculate position size in crypto?

The same way: decide how much of your account you will lose if the stop is hit, and divide that dollar amount by the stop's distance from entry. On a perp the result is the position's notional; divided by your account it is the leverage the trade needs, which has to stay under the market's cap. The BTC position size example on this page works it through at the current BTC price.

How does risk-based position sizing work?

You pick the most you will lose on a trade as a share of your account, usually 0.5% to 2%. The calculator works back from your stop: a wider stop gives a smaller position and a tighter stop a larger one. The amount at risk stays the same; the position size changes with the stop distance.

Why does risk per trade matter more than win rate?

Even a strategy that wins 60% of its trades can wipe out an account if one losing trade is too big. Keeping every loss to a fixed share of the account is what lets you survive a losing streak. Many professional traders cap risk at 0.5% to 1% per position.

What stop loss should I use?

The calculator takes your stop as an input and does not choose one. Traders set it from volatility (for example 1.5 to 2 times ATR), from support and resistance, or from what a backtest says works. If the stop is so tight that the position needs more leverage than the asset allows, or so wide that liquidation comes first, the result flags it.

How does leverage work with position size on Hyperliquid?

The position size is the notional in USD, and position divided by account is the leverage your account would run at. Hyperliquid caps leverage per asset, and the calculator uses the cap Hyperliquid lists for the asset you pick. Leverage does not change how much you lose at the stop; it changes the margin you use and how far away liquidation is. The result shows the liquidation price next to your stop so you can see which comes first.

What is volatility-targeted sizing?

Sizing positions in inverse proportion to recent realized volatility: larger when an asset is quiet, smaller when it swings hard. It keeps the risk of the whole portfolio steadier from one market to the next. It usually lowers drawdowns, at the cost of trading smaller in a strong, volatile trend.

Can Keel size positions for me?

Partly. A Keel strategy can carry the same ideas as rules: a stop-loss block that closes a trade once it has lost a set percent, a leverage cap, and sizing blocks such as volatility targeting. You can backtest how each one changes the result. Stops are checked at each bar's close rather than placed on the exchange as stop orders, so a fill can land past the level.