Type your balance, the share of it you are willing to lose, your entry and your stop. The calculator does the rest, and the guide below shows the same arithmetic on three real markets.
November 17, 2026
11
min to read
The short answer
Position size equals the amount you’re willing to lose divided by the distance from your entry to your stop. Risking 1% of $10,000 is $100; with an entry at $100 and a stop at $95, that’s 20 units, a $2,000 position. Leverage changes only the margin you post, not that $100.
Position size calculator
A long: the stop is below the entry. Position size is the amount at risk divided by the distance to the stop.
The calculator uses one line of arithmetic:
Position size = amount at risk ÷ distance from entry to stop
The amount at risk is your balance times the percent you choose to risk. The distance is how far price must move against you before your stop closes the trade. Divide the first by the second and you get how many units to buy (shares, ounces, coins). Multiply the units by the entry price and you get the position’s value. Divide that value by your leverage and you get the margin you post.
With the calculator’s starting numbers: 1% of $10,000 is $100. From $100 down to $95 is $5 a unit. $100 ÷ $5 = 20 units, worth $2,000. If price hits $95, you lose 20 × $5 = $100, which is exactly the 1% you chose. Fidelity teaches the same formula in its exit-strategy webinar: “Risk per Trade / Risk per Share = Position Size,” with its own example of $1,000 at risk and $2 of risk per share giving 500 shares.
The order matters. You pick the stop from the chart first, where the trade idea is proven wrong. Then the size falls out of the formula. A wide stop means a small position and a tight stop means a large one, and both lose the same amount when they are wrong. Change the stop field in the calculator and watch the size move while the amount at risk stays put.
Here is the same formula on three real markets, at their daily closes on November 16, 2026, from Hyperliquid’s public API: the NVIDIA perpetual on trade.xyz, which tracks the stock, the gold perpetual on trade.xyz, and the Bitcoin perpetual on Hyperliquid. The stops are set two ways so you can compare them: by a dollar distance, and by ATR, the average daily range explained below.
| Market | Amount at risk | Entry | Stop | Position size | Position value | Margin |
|---|---|---|---|---|---|---|
| NVIDIA | $10,000 at 1% = $100 | $156.22 | $135.80 (13.07% away), 2 × ATR of $10.21 | 4.9 shares | $765 | $765 at 1x |
| Gold | $5,000 at 1% = $50 | $3,864.70 | $3,824.70 (1.04% away), $40 under entry | 1.25 oz | $4,831 | $966 at 5x |
| Bitcoin | $10,000 at 2% = $200 | $64,859 | $59,503 (8.26% away), 2 × ATR of $2,678 | 0.03734 BTC | $2,422 | $807 at 3x |
Notice that NVIDIA, the most volatile of the three that week, got the smallest position, and gold, with the tightest stop, the largest. That is the point of sizing from the stop: every trade risks what you decided, whatever the market.
They are caps on how much of your account a single trade may lose. Fidelity’s webinar defines the 1% rule as risk measured “as a % of trading capital,” with the example of $100,000 × 1% = $1,000 at risk per trade. The 2% version appears in Fidelity’s Learning Center, in an excerpt from the Stock Trader’s Almanac by Jeffrey A. Hirsch: “Not allowing a position to lose more than 2% of the overall portfolio.”
The reason is the losing streak. Every strategy has one, and the cap decides how deep it cuts. If each loss takes 1% of what is left, ten losses in a row cost 9.6% of the account. At 2% they cost 18.3%. At 5% they cost 40.1%, and getting back from that takes a gain of 67%.
| Risk per trade | 5 losses in a row | 10 losses in a row | 20 losses in a row |
|---|---|---|---|
| 1% | 4.9% | 9.6% | 18.2% |
| 2% | 9.6% | 18.3% | 33.2% |
| 5% | 22.6% | 40.1% | 64.2% |
Neither number is a law. They are starting points that keep a bad month survivable. Smaller is fine, especially while a strategy is new. Larger means accepting that a normal losing streak will hurt a lot.
No. Leverage changes the margin, the deposit you post to open the position, not the loss at your stop. On Hyperliquid the margining docs put it in one line: the margin required to open a position is “position_size * mark_price / leverage.” The position’s value, and so the loss if price reaches your stop, is the same at any leverage.
Take the Bitcoin example, a $2,422 position with its stop 8.26% away:
| Leverage | Margin posted | Loss at the stop | Margin as a share of the position |
|---|---|---|---|
| 1x | $2,422 | $200 | 100% |
| 3x | $807 | $200 | 33% |
| 10x | $242 | $200 | 10% |
| 20x | $121 | $200 | 5% |
The loss column never changes. What changes is how much room sits between your stop and liquidation. On an isolated position the margin is all the position can lose, so at 20x, where the margin is 5% of the position, a stop 8.3% away can never be reached: the position is liquidated first. At 10x the stop sits just inside the margin, close enough that you should check the liquidation price before you trade. Our guide to the Hyperliquid liquidation price shows how to work it out.
The formula is only as good as the stop you feed it. There are two common ways to place it. Fidelity’s webinar lists support and resistance, trendlines, moving averages and Average True Range as guides for stop prices.
The gold example shows why this matters. A $40 stop sounds reasonable until you see that gold’s 14-day ATR was $77.59 on November 16, 2026: the stop was about half of one average day’s range. With a stop 1.5 ATRs away ($116.39), the same $50 risk buys 0.4296 ounces, a $1,660 position. Smaller, but less likely to be shaken out by an ordinary day. To protect gains as a trade moves your way, see trailing stop losses.
Forex quotes size in lots and distance in pips, but the formula is the same one. IG lists the lot sizes in units of the base currency: a standard lot is 100,000, a mini lot 10,000, a micro lot 1,000 and a nano lot 100. A pip is a move in the fourth decimal place, 0.0001, for most pairs, and in the second, 0.01, for yen pairs. A pip’s value is the pip times the units, so a standard lot of GBP/USD moves $10 a pip.
So: risk $100 (1% of $10,000) with a 25-pip stop on GBP/USD. Each standard lot loses 25 × $10 = $250 at the stop, so the size is $100 ÷ $250 = 0.4 lots, or 40,000 units. For a pair not quoted in your account’s currency, convert the pip value into that currency first.
In Ethy, currencies trade as perps on trade.xyz: EUR and GBP against the dollar, and JPY as USD/JPY, with no crosses. You size them like any other perp, in dollars of margin and leverage, so the calculator above works as it is.
In Ethy’s chat you size perps by margin and leverage: “$100 at 5x” means $100 of margin and a $500 position. So turn the calculator’s answer into those two numbers. The gold example becomes: long gold, $966 at 5x, stop at $3,824.70. Leverage can be anything from 1x up to each market’s cap (on November 14, 2026, 40x on BTC, 25x on gold and 20x on NVIDIA), and the minimum position is $10.
To check the rule behind the trade first, see strategy tester.
Position size equals the amount at risk divided by the distance from entry to stop. The amount at risk is your balance times the percent you choose to risk. For $10,000 at 1% with a $5 stop, that is $100 ÷ $5 = 20 units. Multiply by the entry price for the position’s value, and divide by leverage for the margin.
Common caps are 1% or 2% of the account a trade, and Fidelity’s education material teaches both figures. The lower the cap, the shallower a losing streak cuts: ten losses in a row cost about 9.6% at 1% and 18.3% at 2%. Pick a level you could live with through a long streak, and start lower with a new strategy.
Yes. The formula doesn’t depend on the market. The only difference is that crypto sizes are usually fractions of a coin, such as the 0.03734 BTC in the example above, and stops need to account for how much crypto moves in a day, which is where an ATR-based stop helps.
Not the risk you size for. With a fixed stop and position, the loss at the stop is the same at 1x or 10x; leverage only lowers the margin you post. What leverage does change is where you get liquidated. If the liquidation price is closer than your stop, the stop never gets the chance to work.
Divide the amount at risk by the stop in pips times the pip value of one lot. A standard lot is 100,000 units and, on a pair quoted in dollars, is worth $10 a pip. Risking $100 with a 25-pip stop gives $100 ÷ (25 × $10) = 0.4 lots, or 40,000 units.
Down. If your broker only takes whole shares or fixed lot steps, round the size down so the loss at the stop stays at or under your cap. Rounding up quietly adds risk you didn’t choose.
Trading involves risk, including the loss of your money. Ethy AI is a research and trading tool and does not give investment advice or recommendations. Backtests are simulations on historical data and do not predict future results.
Deploy your AI trading agent in one click.
