Hyperliquid Calculator

Hyperliquid PnL Calculator

Work out the profit or loss on a Hyperliquid perp trade after funding and fees. Pick the market and the entry, exit and funding rate start at its latest numbers. Add your size, leverage and how long you hold, and you get net PnL, ROE on your margin, funding paid or received, the fee on both fills, and the exit you need for a target ROE.

Also: Hyperliquid liquidation calculatorHow liquidation worksAll Hyperliquid calculators

Funding and fees included
Inputs

BTC about $63,754 (price on Nov 17) · up to 40x · funding 0.00125%/h

0.01% per 8 h, 11% a year. Starts at Hyperliquid’s floor, 0.00125%/h. Positive means longs pay shorts.

Hyperliquid Tier 0 perps rates, charged on the open and the close. Volume tiers, staking discounts and builder fees: see the fee calculator.

Optional. The exit price that returns this much on your margin, after fees and funding.

Result
Net PnL
$487.78
48.78% ROE on $1,000.00 margin at 10x, 4.88% on the position
ROE on margin
48.78%

Net PnL over the margin the position uses: size divided by leverage.

Liquidation price at 10x isolated
$58104.9

From entry and leverage, before funding and fees reduce the margin.

How net PnL is made
Gross PnL
$500.00
Funding paid
$3.00

Long pays positive funding, receives negative. Charged here on the entry notional every hour; Hyperliquid charges size × oracle price, so the real figure drifts with the price.

Fees (taker, 4.5 bps × 2 legs)
$9.23

On $10,000.00 in and $10,500.00 out.

Net PnL
$487.78
By Keel Research Team · Updated October 15, 2026
All trading calculators
How it works

Methodology

The gross PnL of a Hyperliquid perpetual trade is the price return times notional, signed by side: gross = side × size × (exit/entry − 1). For a long, exit above entry is profit; for a short, exit below entry is profit.

The funding layer: Hyperliquid pays funding every hour, computed on position size × oracle price. The calculator charges it on the entry notional for every hour of the hold, funding = side × size × rate_per_hour × hours, so on a 5% move the real figure is within about 5% of this one. By Hyperliquid’s convention positive funding means longs pay shorts. The rate starts at the market’s latest hourly funding; the venue’s interest floor is 0.00125% per hour (0.01% per 8 hours).

The fee layer: every fill pays the venue’s maker or taker rate on its notional (Tier 0 is 1.5 bps maker, 4.5 bps taker), so a trade pays it twice, on the opening notional and on the closing notional (the same units at the exit price): fees = rate × (size + size × exit/entry). Volume tiers, HYPE staking, referral discounts and builder fees are on the fee calculator.

Net PnL is gross PnL minus funding (positive if paid, negative if received) minus fees. The calculator also shows net PnL as a percentage of position notional, the right denominator for comparing strategies across asset sizes.

ROE is net PnL over the margin the position uses. Hyperliquid’s opening margin is size ÷ leverage, so ROE = net × leverage / size: a $500 net on $10,000 at 10x is 50% ROE. For a target ROE the calculator solves the same lines for the exit price, fees and funding included. It also shows the isolated liquidation price at your leverage, and warns when the exit is past it.

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 does this calculator handle funding cost?

Funding is computed as entry notional × funding_rate_per_hour × hold_hours. Hyperliquid pays funding every hour, and by its convention a positive rate means longs pay shorts: a long with positive funding shows the funding line as paid (it reduces net PnL); a short with positive funding shows it as received. Hyperliquid charges each hour on position size × oracle price, so the exact figure drifts with the price over the hold; this calculator uses the entry notional throughout, which is within a few percent on a typical move.

Why is funding cost the missing layer in most PnL calculators?

Most calculators model PnL as just (exit − entry) × size, which is close on minute-scale trades and wrong on multi-hour holds in a funded perpetual. The realized PnL of a perp trade is gross price PnL minus funding paid (or plus funding received) minus the trading fee on both the opening and the closing fill. This calculator shows all three lines and net = gross − funding − fees.

What's a typical Hyperliquid funding rate?

Hyperliquid's funding rate has a fixed interest component of 0.01% per 8 hours (0.00125% per hour, about 11% a year paid to shorts) plus a premium that tracks the gap between the perp and the oracle price. Funding is capped at 4% per hour. The calculator starts at the market's latest hourly rate and shows it per 8 hours and per year under the field. A rate far above the floor that persists for days is a crowded-positioning signal, and at $10k notional even 0.01%/h costs $24 a day. Check the funding leaderboard for live rates before assuming a number.

Why USD notional and not contracts?

Notional in USD is the cleanest input for cross-asset comparison and matches how Hyperliquid sizes margin (USD-denominated). It also makes funding and fees trivially scalable: at $10k notional the 0.00125%/h floor costs $3.00 a day, and a taker round trip costs about $9.00. Use contracts/units in your order-entry UI; use notional in the calculator.

How can I model PnL across thousands of historical trades at once?

Open the Lab, build a screen, and click 'Backtest in Keel.' The Keel backtest engine simulates entry, exit, fees, slippage, and funding for every signal-generated trade across your chosen universe and time range: the same lines as this calculator, run at scale. From there you can change a parameter, re-run, and deploy live.