How to calculate position size, step by step
Position size is the dollars you will risk divided by the distance from your entry to your stop. Round down, and the answer is how many shares, lots or contracts to trade.
The short answer
Position size = dollars at risk ÷ risk per unit.
Position size is how many shares, lots or contracts you buy. "Dollars at risk" is the amount you decide to lose if the trade fails. "Risk per unit" is what one share, lot or contract loses between your entry and your stop. Divide the first by the second, round down, and you have your size.
You may know "risk 1%". This page turns that into a number you can type into your order ticket.
The four steps
- Pick your dollar risk. Account size × the percent you risk. On a $10,000 account at 1%, that is $100. (How to choose the percent is in how much to risk per trade.)
- Place your stop first. Put it where the chart says the trade is wrong. Not where it would fit a size you like.
- Measure the distance. Entry price minus stop price. That is the loss on one share.
- Divide, then round down. Dollar risk ÷ distance. Drop the decimals.
The order matters. The stop comes from the chart. The size comes from the stop. Never the other way round.
Example 1: a stock
Made-up numbers. A $10,000 account. Risk 1%.
| Step | Work | Result |
|---|---|---|
| Dollar risk | $10,000 × 0.01 | $100 |
| Entry | buy at | $42.30 |
| Stop | below the last low | $40.80 |
| Distance | $42.30 − $40.80 | $1.50 |
| Size | $100 ÷ $1.50 | 66.67 shares |
| Round down | 66 shares |
Check your answer: 66 shares × $1.50 = $99. If the stop hits, you lose $99. That is just under the $100 you chose.
The trade costs 66 × $42.30 = $2,791.80 to open. That is far more than the $99 you can lose. The size of the order and the size of the risk are two different numbers.
Example 2: a forex pair
Forex has one extra step. You need the money value of a pip, which is the smallest usual price step.
Made-up numbers. The same $10,000 account. Risk 1% = $100. Buy EUR/USD.
| Step | Work | Result |
|---|---|---|
| Entry | buy at | 1.0850 |
| Stop | below the last low | 1.0820 |
| Distance | (1.0850 − 1.0820) × 10,000 | 30 pips |
| Pip value | one standard lot (100,000 units) | $10 per pip |
| Risk per lot | 30 pips × $10 | $300 |
| Size | $100 ÷ $300 | 0.333 lots |
| Round down | to 2 decimals (a micro lot step) | 0.33 lots |
Check: 0.33 lots × $300 = $99.
A pip is worth $10 per standard lot on pairs that end in USD. On other pairs it changes with the exchange rate. The free pip value calculator gives the number for any pair, and the lot size calculator does the whole sum.
Example 3: a futures contract
Futures add a different twist. Every contract has a tick (the smallest price step) and a fixed dollar value for it. The contract multiplier turns points into dollars.
Made-up numbers. The same $10,000 account. Risk 1% = $100. Buy one Micro E-mini S&P 500 contract (MES), which pays $5 for each full point.
| Step | Work | Result |
|---|---|---|
| Entry | buy at | 5,000 |
| Stop | below the last low | 4,988 |
| Distance | 5,000 − 4,988 | 12 points |
| Risk per contract | 12 points × $5 | $60 |
| Size | $100 ÷ $60 | 1.67 contracts |
| Round down | 1 contract |
Check: 1 × $60 = $60. You used 60% of your risk budget, and that is fine. Rounding down leaves room. Rounding up to 2 contracts would risk $120, which is more than you chose.
Now try the same stop on the full-size E-mini (ES), which pays $50 per point. Risk per contract is 12 × $50 = $600. $100 ÷ $600 is 0.17. Rounded down, that is zero contracts. The honest answer is "this trade is too big for my account at this stop." Micro contracts exist for exactly this. The futures tick value calculator lists the tick value of each contract.
Why do you round the position size down?
Rounding up means you risk more than you picked. Rounding down means you risk a little less.
When the answer rounds down to zero, you have three choices: add money to the account, use a smaller contract, or skip the trade. Moving the stop closer so the trade "fits" is not a choice. The chart did not agree to it.
Does a wider stop mean more risk?
Back to Example 1. Say the chart needs the stop at $39.30, which is $3.00 away.
| Stop distance | Size | Money at risk |
|---|---|---|
| $1.50 | 66 shares | $99 |
| $3.00 | 33 shares | $99 |
The risk stays near $100. Only the size changes. A wide stop does not make a trade riskier. It makes the position smaller.
What does the position size formula leave out?
The formula gives your risk if you get filled exactly at your stop. Real trades have three leaks.
- Costs. Fees and the spread make a loss a little bigger. In Example 1, a made-up $0.02 per share each way on 66 shares adds $2.64. Small, but real. Many traders trim the risk a bit to leave room for it.
- Slippage. A stop order becomes a market order when the price is hit. You can fill a little past it, especially in fast moves.
- Gaps. Price can jump over your stop, such as overnight or on news. Say the stock in Example 1 opens at $39.80. Your 66 shares lose 66 × $2.50 = $165, not $99. The stop did its job at the first price it could. Your size can't stop a gap. It can only keep a gap survivable. See how a stop works overnight.
This is why the 1% is a plan, not a promise. A small slice leaves room for the day the market does not follow the plan.
Common mistakes
| Mistake | Fix |
|---|---|
| Picking the size first, then moving the stop to fit | Stop first, from the chart |
| Rounding up | Always round down |
| Using the account balance of a different day | Recalculate on today's balance |
| Mixing up order cost and risk | Risk is size × stop distance, not what you pay to open |
| Forgetting pip or tick value | Look it up for the exact pair or contract |
| Using the same share count on every trade | The stop distance changes, so the size must too |
Try it
Change any box. The size updates as you type.
66 shares
You risk $100. The stop is $1.50 a share away. If it hits, you lose $99.
The order costs $2,791.80 to open. That's the size of the position, not the risk.
The box works in shares. For forex lots or futures contracts, use the free position size calculator. Crypto works like the stock example, with coins instead of shares. Use the crypto position size calculator.
Part 7 of my StructureX Foundations course covers position size and the stop loss. The practice tool lets you practice trades on simulated charts with play money before you use real money.
What to read next
Start with how to set a stop loss, because the stop is the input everything else depends on. Then read risk management for beginners for the full plan, and risk-reward ratio to choose targets. The glossary has short entries for position size and risk per trade.
Questions
What is the formula for position size?
Dollars at risk divided by the distance from entry to stop, in dollars per share, lot or contract. Round the answer down.
How do I calculate position size with a $1,000 account?
Risk 1% = $10. If your stop is $0.50 from your entry, $10 ÷ $0.50 = 20 shares. If the stop is $2 away, it is 5 shares. Same $10, different size.
Is position size the same as how much money I put in?
No. Size is the number of shares, lots or contracts. The money you can lose is size × stop distance, and it is usually much smaller than the cost to open the trade.
Why does my position size change on every trade?
Because your stop distance changes. A close stop gives a bigger size. A far stop gives a smaller size. The dollar risk stays the same.
Does position size include fees?
Not by default. The formula assumes a fill at your stop. Fees, the spread and slippage add a little to a loss, so some traders risk slightly less than their limit.
What if the answer is less than one share, lot or contract?
Then the trade is too big for your account at that stop. Use a smaller contract, pick a closer valid setup, or skip it.
Follow along