# Position size calculator: how much to buy for the risk you choose

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.

- URL: https://www.ethyai.app/blog/position-size-calculator
- Author: Ethy Team
- Published: November 17, 2026; updated: November 17, 2026
- Publisher: Ethy AI, https://www.ethyai.app/

**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.

## How do you calculate position size?

> **Position size calculator** (interactive on the web page). With a $10,000 balance, 1% risk, entry $100 and stop $95: $100 at risk, a 5.00% stop distance, a position of 20 units worth $2,000. Position size = amount at risk divided by the distance from entry to 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](https://www.fidelity.com/bin-public/060_www_fidelity_com/documents/learning-center/Presentation_Exit%20Strategy.pdf) 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.

## What does the formula give on a stock, gold and bitcoin?

Here is the same formula on three real markets, at their daily closes on November 16, 2026, from [Hyperliquid’s public API](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint): 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 |

- **NVIDIA.** Its 14-day ATR was $10.21, about 6.5% of the price, and its high over the previous 20 days had been $220.17. A stop two ATRs below the close sits 13.1% away, so the $100 risk buys only 4.9 shares, a $765 position. In a brokerage account that only takes whole shares, round down: 4 shares risk $81.68. Never round up past your risk.
- **Gold.** This is the question in the box above: $5,000, 1% risk, a stop $40 under entry. $50 ÷ $40 = 1.25 ounces, a $4,831 position. At 5x leverage you post $966 of margin, and a stop-out still costs $50.
- **Bitcoin.** At 2% of $10,000, the risk is $200. A stop two ATRs down is $5,356 away, so the size is 0.03734 BTC, a $2,422 position. Crypto sizes are fractions of a coin; the formula doesn’t care.

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.

## What are the 1% and 2% rules in trading?

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](https://www.fidelity.com/learning-center/trading-investing/trading/managing-positions), 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.

## Does leverage change how much you risk?

No. Leverage changes the margin, the deposit you post to open the position, not the loss at your stop. On Hyperliquid the [margining docs](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/margining) 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](https://www.ethyai.app/blog/hyperliquid-liquidation-price) shows how to work it out.

> **Size first, then leverage** Work out the position from your stop and your risk. Then pick a leverage low enough that the liquidation price sits well beyond the stop. Leverage is a way to post less margin, not a way to risk more.

## Where should you put the stop: market structure or ATR?

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.

- **Structure.** Put the stop where the idea is wrong: below the last swing low for a long, above the last swing high for a short, or beyond a support or resistance level. Leave some room past it, so a brief poke through the level doesn’t close the trade.
- **ATR.** J. Welles Wilder’s [Average True Range](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/average-true-range-atr-and-average-true-range-percent-atrp), from his 1978 book *New Concepts in Technical Trading Systems*, measures how far a market typically moves in a bar. The true range is the largest of the bar’s high minus its low, the high minus the previous close, and the low minus the previous close; ATR smooths it, usually over 14 bars. It measures volatility, not direction. A stop set a multiple of ATR away scales with the market’s own noise: wider in a wild market, tighter in a calm one. The [Chandelier Exit](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/chandelier-exit), developed by Charles Le Beau, is one known version: the 22-day high minus three times the 22-day ATR, as a trailing stop for a long.

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](https://www.ethyai.app/blog/trailing-stop-loss).

## How do lots and pips change the math in forex?

Forex quotes size in lots and distance in pips, but the formula is the same one. [IG](https://www.ig.com/en-ch/trading-strategies/what-is-a-lot-in-forex-and-how-do-you-calculate-the-lot-size--230929) 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](https://www.ig.com/uk/forex/fx-need-to-knows/pips-in-forex) 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.

## What mistakes break position sizing?

- **Sizing from leverage or a round number.** “I’ll put in $1,000 at 10x” says nothing about the loss. Start from the stop.
- **Moving the stop after sizing.** Widening the stop without cutting the size quietly raises the risk past your cap.
- **Forgetting gaps and slippage.** A stop is an instruction, not a price. Fidelity’s deck notes that a stop-loss order becomes a market order when triggered, so it fills at the next available price, and in a fast market or a gap that can be well past your level.
- **Stacking the same bet.** Three positions at 1% each in markets that move together, such as several chip stocks, behave like one 3% position.
- **Sizing from the account’s peak.** After losses, the 1% should come from what is there now, not from the high-water mark.
- **Leverage close to the stop.** If the liquidation price sits nearer than the stop, the stop is decoration.

## How do you size a trade in Ethy?

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.

- **Stops and targets as a price or a percent.** Percent levels are worked out from the actual fill, not from the price you asked for. Stop loss and take profit are native Hyperliquid trigger orders, so they fire even when Ethy is closed.
- **The cost of being wrong, shown before you start.** When you set up an automation, its card says what one stop-out costs, in dollars and as a share of the margin. Check that figure against your 1%.
- **Loss limits in dollars.** An automation can carry a max daily loss and a max drawdown, both in dollars, and it pauses after 10 losing closes in a row by default.
- **Size stays yours.** Ethy’s optimizer tunes a strategy’s thresholds, indicator lengths and stops, but never the position size.

> **Ask Ethy:** [I have $5,000 and want to risk 1% on gold with my stop $40 under entry: what size?](https://agents.ethyai.app/chat?landing=blog&post=position-size-calculator&prompt=I%20have%20%245%2C000%20and%20want%20to%20risk%201%25%20on%20gold%20with%20my%20stop%20%2440%20under%20entry%3A%20what%20size%3F)

**Size the trade before you take it** Tell Ethy your balance, your risk and your stop. It works out the size and the margin, and puts the stop on Hyperliquid as a native order when you trade. [Start free](https://agents.ethyai.app/?landing=blog&post=position-size-calculator)

To check the rule behind the trade first, see [strategy tester](https://www.ethyai.app/blog/strategy-tester).

## Summary

- Position size = amount at risk ÷ distance from entry to stop. Units × entry gives the position’s value; value ÷ leverage gives the margin.
- Pick the stop from the chart first, then let the formula set the size: a wide stop means a small position, and both lose the same amount when wrong.
- On November 16, 2026, risking $100 with a two-ATR stop sized NVIDIA at 4.9 shares; $50 with a $40 stop sized gold at 1.25 ounces; $200 with a two-ATR stop sized Bitcoin at 0.03734 BTC.
- The 1% and 2% rules cap the loss per trade; ten straight losses cost 9.6% at 1% and 18.3% at 2%.
- Leverage changes the margin you post, not the loss at your stop, as long as the liquidation price sits beyond the stop.
- In forex the same formula runs in lots and pips: a standard lot is 100,000 units, and on a pair quoted in dollars it moves $10 a pip.

## Questions people ask

### What is the formula for position size?

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.

### How much of my account should I risk per trade?

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.

### Does a position size calculator work for crypto?

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.

### Does leverage increase my risk?

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.

### How do I calculate lot size in forex?

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.

### Should I round my position size up or down?

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.

## Sources

- [Fidelity: Plan your escape, having a good exit strategy (webinar deck, 2019): the 1% rule and position sizing](https://www.fidelity.com/bin-public/060_www_fidelity_com/documents/learning-center/Presentation_Exit%20Strategy.pdf)
- [Fidelity Learning Center: Techniques for managing positions (Jeffrey A. Hirsch, Stock Trader’s Almanac)](https://www.fidelity.com/learning-center/trading-investing/trading/managing-positions)
- [Hyperliquid Docs: Margining](https://hyperliquid.gitbook.io/hyperliquid-docs/trading/margining)
- [Hyperliquid Docs: Info endpoint (candle snapshot)](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/info-endpoint)
- [StockCharts ChartSchool: Average True Range (ATR)](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/average-true-range-atr-and-average-true-range-percent-atrp)
- [StockCharts ChartSchool: Chandelier Exit](https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/chandelier-exit)
- [IG: What are lots in forex and how do you calculate lot sizes?](https://www.ig.com/en-ch/trading-strategies/what-is-a-lot-in-forex-and-how-do-you-calculate-the-lot-size--230929)
- [IG: What are pips in forex and how do you use them?](https://www.ig.com/uk/forex/fx-need-to-knows/pips-in-forex)
