Trading Calculator

Stop Loss and Take Profit Calculator

Keel's free stop loss and take profit calculator turns your entry, stop and target into the exact prices to set, for a long or a short. Give the stop as a price or a % from entry and the target as a price, a % or an R multiple. It shows risk and reward in dollars and R after Hyperliquid fees, the win rate you need to break even, and whether your leverage gets you liquidated before the stop.

Trade

BTC about $80,716 (price on Oct 15) · up to 40x · funding 0.00125%/h

2 puts the target twice as far from entry as the stop.

Result
Stop loss
79,101.68
Take profit
83,944.64

Stop 2.00% below entry, target 4.00% above. After fees the target pays 1.87R for every 1R you risk, so trades like this break even if 34.8% of them reach the target.

Reward to risk, after fees
1.87R

2.00R before fees.

Breakeven win rate
34.8%
Distance to stop
2.00%
Distance to target
4.00%
Loss at stop
-$208.91

Includes $8.91 of fees.

Profit at target
$390.82

After $9.18 of fees.

Position
0.123891 BTC

$10,000.00 notional at entry.

Loss at stop, share of margin
20.9%

Margin $1,000.00 at 10x.

Liquidation price
73,563.95

6.86% of entry beyond your stop. Isolated margin, BTC on Hyperliquid.

Size, leverage and fees (optional)

Sets the liquidation price, with BTC's maintenance margin.

Defaults are Hyperliquid's base taker fee, 0.045% a fill. A resting limit order pays the maker fee, 0.015%. Change either to match your volume tier.

By Keel Research Team · Updated October 15, 2026
How it works

Methodology

How the stop and target prices are set

The calculator starts from your entry and the side of the trade. A stop given as a % is measured from entry, below it for a long and above it for a short. A target given in R is a multiple of the stop distance, so the target sits R times as far from entry as the stop does.

long   stop = entry × (1 − stop %)    target = entry × (1 + target %)
short  stop = entry × (1 + stop %)    target = entry × (1 − target %)
R      target distance = R × |entry − stop|

A long at 50,000 with a 2% stop has its stop at 49,000. A 2R target is 2,000 away, at 52,000. The same trade as a short puts the stop at 51,000 and the target at 48,000. Switch between price, % and R at any time; the calculator rewrites the field in the new unit so the level stays where it was.

Risk and reward after fees

Hyperliquid charges a fee on each fill, as a share of what the fill is worth. A trade pays it twice: once on the way in and once on the way out. A stop-out therefore costs the price distance plus both fees, and a winning trade pays the price distance minus both fees.

risk   = |entry − stop|   + entry × entry fee + stop × exit fee
reward = |target − entry| − entry × entry fee − target × exit fee
R after fees        = reward / risk
breakeven win rate  = risk / (risk + reward)

The fee fields start at Hyperliquid's base taker rate, the fee a market order or a triggered stop pays. A resting limit order pays the lower maker rate, and higher volume tiers pay less. The fee calculator has the full schedule. On a wide stop, fees barely move the numbers. On a 0.5% stop with a 1R target at the taker rate, they take almost a fifth of the reward and lift the breakeven win rate from 50% to about 59%.

Where liquidation sits

With leverage, the exchange closes the position when the margin left falls to the maintenance margin. If that price is closer to entry than your stop, the stop never fires: the position is liquidated first, for a bigger loss than the stop would have taken. The calculator works out the isolated-margin liquidation price with the same formula as the liquidation calculator and warns you when it comes before the stop.

It also shows the loss at the stop as a share of your margin. A 2% stop at 10x loses about a fifth of the margin; the same stop at 40x on BTC is past the liquidation price. Cross margin uses the whole account balance as a buffer, so its liquidation price is further away than the isolated one shown here. How a liquidation plays out on Hyperliquid is in the liquidation guide.

Choosing where the stop goes

Put the stop where the idea behind the trade is wrong, not where the loss feels comfortable. For a long that is often just below a recent swing low or the bottom of a range. Many traders measure it in volatility instead, as a multiple of the average true range, so the stop is wider on a coin that moves a lot and tighter on one that doesn't. Then size the trade from the stop, with the position size calculator, so a stop-out costs the share of the account you chose.

The target follows from the stop. A 2R target needs you to be right on just over a third of trades before fees; a 1R target needs more than half. The risk reward calculator has the table of ratios and the win rate each one needs.

What the calculator leaves out

It assumes the stop fills at the stop price and the target at the target price. A fast market can gap through a stop, and a stop that triggers a market order pays the spread on top of the fee. Funding is paid or received every hour while a perp position is open, which this calculator does not include; the funding calculator covers it.

Most of all, one trade can't tell you how often a stop like yours gets hit before the target. A backtest over a few hundred trades can. In a Keel strategy a stop loss, a take profit and a trailing stop are rules you add to the strategy, and a backtest checks them at each bar's close, so a fill can land past the level, much as a stop does in a fast market.

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

Calculator questions

How do you calculate your stop loss?

Pick the price that proves the trade wrong, such as below a recent swing low for a long, then measure its distance from entry. For a long, stop = entry × (1 − stop %); for a short, stop = entry × (1 + stop %). A long at 50,000 with a 2% stop sets the stop at 49,000. Then size the position so that the distance times the size is the amount you are willing to lose.

How do I set a take profit?

Most traders set it as a multiple of the stop distance, called R. A 2R target sits twice as far from entry as the stop: a long at 50,000 with a stop at 49,000 takes profit at 52,000. You can also use a fixed % or a price level such as a previous high. Whatever you choose, check the breakeven win rate it needs after fees.

What is the 7% stop loss rule?

It is a rule from stock investing: sell any position that falls 7% to 8% below the price you paid, with no exceptions, so one bad pick can't do lasting damage. It is a fixed rule, not a volatility-based one. On crypto perps a 7% move can happen in a day, and with leverage a 7% stop can sit beyond your liquidation price, so check both in the calculator.

What is the golden rule for stop loss?

Set the stop before you enter and never move it further away once the trade is on. A stop that gets widened every time price comes close is no stop at all. Moving it toward your profit to lock in gains is fine; moving it to give a losing trade more room is how small losses become large ones.

Is a 20% stop loss good?

It can suit a long-term spot holding, but on a leveraged perp it is usually too wide to work. On Hyperliquid at 5x, a BTC long is liquidated about 19% below entry, so a 20% stop would never fire. Use the leverage field to see where liquidation sits, and keep the stop well inside it.

Where should my stop sit compared with my liquidation price?

Well inside it, closer to entry than the liquidation price. If liquidation comes first, the stop never fires and the position is closed for a bigger loss than you planned. Leave room between the two as well: in a fast move price can run from the stop to liquidation before a stop order fills. If the calculator shows liquidation before the stop, lower the leverage or tighten the stop.

Do fees change my stop loss and take profit?

They don't move the prices, but they change what the trade pays. Fees are charged on the entry and on the exit, so a stop-out loses a bit more than the price distance and a target pays a bit less. On a tight stop the effect is large: at Hyperliquid's base taker fee of 0.045% a fill, a 0.5% stop with a 1R target needs a win rate well above 50% to break even.