graphite

Position size calculator

Set the risk. The size follows.

Drag the stop and the target on a live Hyperliquid chart, or type them in. The size is worked out so that a loss at the stop, fees included, is the risk you set.

PERP

Loading the market…

Size— BTC— USDC
Fees— USDC— % of risk
R multiple—

A calculator, not advice. Funding is not included.

Open in Graphite

How it works

How is the position size calculated?
Size = risk ÷ (distance from entry to stop + fee to get in + fee to get out at the stop), rounded down to the market’s size precision. The fees are inside the risk, so losing at the stop costs what you set and no more.
Why does the R multiple differ from target distance over stop distance?
That ratio leaves out fees, which come off the reward and add to the risk. On a tight stop they are a large share of what is at stake, and the R that counts is the one net of them.
Which fees does it use?
Hyperliquid’s perp tier you pick, less your staking discount, plus Graphite’s 0.01% builder fee. A limit entry pays maker, a market entry taker; the stop and target are triggered market orders and pay taker. HIP-3 markets apply their deployer’s fee share and growth mode, read live from the exchange.
Is this advice?
No. It is a calculator: it works out a size from the prices and the risk you choose. Funding is not included, as it depends on how long the position stays open.

The same sums run in Graphite, live, as you move the lines. How the fees add up.