How do you calculate position size?
Position size is the amount you are willing to lose on a trade divided by the distance from your entry price to your stop price. Risk $50 with a stop $0.25 away and you buy 200 units, because $50 / $0.25 = 200. The stop sets the size, not the cash in the account, and for a short the distance runs from the entry up to the stop.
The same formula in percent: position value = amount at risk / the stop distance as a share of the entry price. A $50 risk with a stop 5% from the entry is a $1,000 position. In Neurobro, you can ask the agent for a trade setup: it returns entry, stop-loss, take-profit and risk-to-reward levels, with Conservative, Moderate and Aggressive risk profiles to switch between, and its stop gives you the distance. The position size calculator runs the formula for longs and shorts, with leverage and fees.
How much should you risk per trade?
A common starting point is 1% of the account. It is a convention, not a law: the percentage is yours to choose, and the table shows what a few choices mean in dollars.
| Account | 0.5% | 1% | 2% |
|---|---|---|---|
| $1,000 | $5 | $10 | $20 |
| $5,000 | $25 | $50 | $100 |
| $10,000 | $50 | $100 | $200 |
| $25,000 | $125 | $250 | $500 |
A smaller share also protects against a bad run, because each loss is a share of what is left. Ten losing trades in a row take about 9.6% off the account at 1% risk, 18.3% at 2% and 40.1% at 5%. How to make a trading plan with AI puts the risk percentage into a written plan.
The next four examples use the same account, $5,000, and the same risk, 1% or $50.
How to calculate position size in crypto
A spot trade has no leverage: the position costs its full value in cash, so the size is a count of tokens. Say a token trades at $2.00 and your stop is at $1.70.
- Distance: $2.00 - $1.70 = $0.30, which is 15% of the entry.
- Size: $50 / $0.30 = 166.67, rounded down to 166 tokens.
- Position: 166 x $2.00 = $332, or 6.6% of the account.
- Loss at the stop: 166 x $0.30 = $49.80.
The percent version agrees: $50 / 15% = $333.33. Round down so that rounding never adds risk. Fees and slippage add to the loss, so on a thin token size a little under the formula.
How to calculate position size in forex
Forex sizes in lots, so the formula needs the value of one pip. On a pair quoted in dollars, one standard lot (100,000 units) is worth $10 a pip, one mini lot $1 and one micro lot $0.10, as OANDA’s lot sizes give them. Lots = dollars at risk / (stop in pips x pip value per lot).
Buy EUR/USD at 1.1000 with a stop at 1.0970, which is 30 pips. Lots = $50 / (30 x $10) = 0.1667. Round down to a lot size your platform allows: on MetaTrader 4 a micro lot is 0.01, per OANDA, so 0.16 lot (16 micro lots, or 16,000 euros) works. Check: one pip is 16,000 x 0.0001 = $1.60, and 30 x $1.60 = $48.00, inside the $50 budget.
That position is worth 16,000 x 1.1000 = $17,600, more than the account, so a broker at 20:1 leverage would hold $880 of margin, and the risk is still the $48 the stop allows. When the quote currency is not your account currency, convert the pip value: on USD/JPY a pip is 0.01 yen, so one standard lot is 100,000 x 0.01 = 1,000 yen a pip, or $6.67 at 150.00 yen to the dollar. How to trade forex for beginners explains pips, lots and quotes from the start.
How to calculate position size for gold
Gold’s size depends on the contract your broker uses. At IC Markets, for example, one lot of XAUUSD is a contract size of 100 ounces and the smallest order, 0.01 lot, is 1 ounce. Other brokers differ, so read the specification before you size.
Buy gold at an example price of 4,000 with a stop at 3,975, which is $25 an ounce. Ounces = $50 / $25 = 2, and lots = 2 / 100 = 0.02. The loss at the stop is 2 x $25 = $50.
The position is 2 x $4,000 = $8,000, bigger than the $5,000 account, so it runs on margin: at 20:1 leverage that is $400, and the risk is still the $50. A wider stop shrinks the size, since the same $50 with a $50 stop buys 1 ounce, or 0.01 lot. How to trade gold covers the instrument itself.
How to calculate position size on a leveraged perp
The formula is the same for a perp: dollars at risk divided by the stop distance, and leverage does not change the result. It changes the margin you post for that size: on Hyperliquid, the margin is position size x price / leverage. Go long a perp at $80 with a stop at $76. Size = $50 / $4 = 12.5 units, a $1,000 position.
What leverage moves is the liquidation price. Hyperliquid’s maintenance margin is half of the initial margin at the market’s maximum leverage, so in a market with a 20x maximum it is 2.5% of the position, $25 here. For an isolated long, the liquidation price is the entry minus the margin left after that $25, spread over the 12.5 units and divided by (1 - 0.025):
| Leverage | Margin for the $1,000 position | Liquidation price | Which comes first |
|---|---|---|---|
| 2x | $500 | $41.03 | The $76 stop |
| 5x | $200 | $65.64 | The $76 stop |
| 10x | $100 | $73.85 | The $76 stop |
| 20x | $50 | $77.95 | Liquidation, before the stop |
The loss at the stop is $50 in every row where the stop comes first. At 20x the position is liquidated at $77.95, above the stop, so the stop never gets a chance, and Hyperliquid advises placing stops before the liquidation price. On cross margin the whole perps balance backs the position, and Hyperliquid says a cross position’s liquidation price does not depend on the leverage you set. Check the price the app shows before you confirm, and ask how far a market has to move to liquidate a 5x long. What is margin trading, what is leverage in trading and what is liquidation cover the terms.
How to make an AI show its position size math
A bare number from an AI is hard to check, so ask for every step. Fill in the brackets and send:
Calculate my position size for [ASSET]. Account size: [ACCOUNT SIZE]. Risk per trade: [RISK PERCENT] of the account. Entry: [ENTRY PRICE]. Stop-loss: [STOP PRICE]. Lot or contract size: [LOT SIZE]. Show every step: the dollars at risk, the distance from entry to stop, the size in units and in lots, and the position value. If I use [LEVERAGE]x leverage, show the margin too. Then multiply the size by the stop distance and confirm it equals the dollars at risk. Round the size down, never up.Run three checks on the answer:
- Multiply the size by the stop distance. The result must equal the dollars at risk, or sit just under it after rounding down.
- Confirm the units: tokens, lots, ounces or euros, and the contract size your broker uses.
- For a pair not quoted in your account currency, confirm the pip value was converted, and that the size was rounded down.
Position size in Neurobro
- Stop first. Ask the agent for a trade setup to see entry, stop-loss and take-profit levels, then put the distance to the stop you choose into the formula.
- Spot. A limit order for a Solana token can carry a stop-loss and a take-profit. The order needs at least $11, and each part at least $10.
- Perps. You enter margin in dollars and the position size is margin x leverage, so $200 at 5x opens a $1,000 position. Leverage starts at 2x, each market has its own maximum, and the minimum is $10. You see the liquidation price, margin and leverage before you confirm, and the app warns when the margin cushion left is 35% or less, and again at 15% or less.
- Fills. A triggered stop can fill up to about 8% from the trigger in a fast market, and every perps order carries Hyperliquid’s own fees plus Neurobro’s builder fee of 0.05%, so the real loss can run past the plan. Stop-loss vs stop-limit explains how the order types fill, and how to set a stop-loss covers placement.
Perps aren’t offered in the United States or United Kingdom. Start on Neurobro Mobile or Neurobro Web, and trade from NeuroWallet. Plans differ in daily messages and fees, so compare Basic, Pro, and Ultra to see which fits how often you trade.