Tools · Free · No sign-up

Position Size Calculator

Work out how many shares your stop allows, or work out where the stop has to sit for the share count you already have in mind. Same three inputs, either direction.

Your numbers never leave your browser. No account, nothing uploaded, and nothing you type is tracked.

Built for shares, ETFs and crypto — instruments where one unit costs exactly its price. Trading forex or futures? Use the lot size calculator, which asks for the pip or point value.

How to use this position size calculator

Start with three numbers: the size of your account, the percentage of it you accept to lose on this trade, and your entry price. In the first mode, Where the stop goes, you type the stop and the calculator returns how many shares or units keep the loss at that percentage. In the second, How many shares, you type the share count you already have in mind and it returns the stop price that keeps the risk where you set it.

A quick check: with an account of 10,000, a risk of 1%, an entry at 20 and a stop at 19, the money at risk is 100 and the distance to the stop is 1, so the position is 100 shares. Read Money at risk and Share of your account before placing the order, and round the share count down, never up.

Why size decides more than entry

The same entry, the same stop, and the same eventual outcome can still leave two traders in very different places, because one variable that has nothing to do with reading the market decided how much that trade was worth: how large the position was. Get the entry and the stop exactly right, and the account still takes a bigger hit than intended if the position was larger than the risk budget allowed. Get the entry only roughly right, and it barely matters if the size was small enough.

Run the same trade twice with the only difference being risk per trade — 1% in one case, 4% in the other — and the dollars at stake are four times apart before the market has done anything. That difference belongs entirely to whoever placed the trade, not to the chart. Entry timing and stop placement both compete with the market for who turns out to be right; size is the one decision that stays fully in the trader's hands regardless, which is why it deserves its own step rather than an afterthought once the trade idea is already settled.

The position size formula

Position size = (account size × risk per trade) ÷ distance from entry to stop. The top of the fraction is the money you accept to lose on this trade; the bottom is how much each share loses if the stop is hit. Divide one by the other and the result is the number of shares that makes the two match. The distance is always taken in price, whatever the direction: for a long it is entry minus stop, for a short, stop minus entry. This position size calculator applies exactly that formula, in both directions.

Take an account of 25,000, a risk of 1%, an entry at 48.20 and a stop at 46.70. The money at risk is 250, the distance is 1.50, and 250 ÷ 1.50 = 166.67, which rounds down to 166 shares. If the stop is hit exactly, the loss is 166 × 1.50 = 249. The position is worth 166 × 48.20 = 8,001.20, or 32% of the account, a reminder that a small risk can still tie up a third of the capital. Enter the same four numbers above to see each figure.

The two directions

Sizing runs in two directions, and both start from the same three numbers: account size, risk per trade, and entry price. The forward direction sets a stop and asks how many shares that stop allows. The reverse direction starts from a share count — set by a broker's lot size, a fixed order ticket, or simply what feels manageable — and asks where the stop has to sit for that many shares to still match the risk budget.

The reverse question is usually the one people actually ask once a plan is already in motion. Someone who already plans to buy 100 shares does not need a case for position sizing in general; they need the one number that keeps that decision consistent with the rest of the account — where the stop belongs. Answering it backward, from share count to stop distance, uses the same three inputs and the same arithmetic run the other way.

When the position does not fit

A stop placed close to entry pushes the share count up, because the same dollar risk buys far more shares when each share only carries a few cents of exposure. Move the stop from two dollars away to twenty cents away and the position that keeps the risk unchanged gets ten times larger. Past a certain point that share count costs more than the account holds — the arithmetic is still correct, it is only describing a position too large to take at that size.

When that happens, the fix does not live in this calculator. Widening the stop, lowering the risk per trade, or accepting a smaller position are the three honest options, and which one fits depends on the setup, not on the arithmetic. Where a stop belongs is a question of structure — a recent swing point, a level that has already been tested, the shape of the range around entry — and our methodology page covers how we think about placing that stop, before this calculator enters the picture.

How to read each number

The result carries four numbers beyond the headline share count, and each one answers a different question. Money at risk is what actually gets lost if the stop is hit exactly, in the account's own currency — not the risk percentage typed in, but that percentage turned into a real figure once the share count has been rounded down to a whole share. Distance to stop restates the same gap as a percentage of the entry price, which travels between a symbol priced at ten and one priced at a thousand.

Total position is the full dollar exposure of the trade — share count times entry price — regardless of how much of that is actually at risk if the stop holds. Share of your account turns that exposure into a percentage of total capital, and it is worth watching on its own: a position can carry a small risk and still tie up most of an account if it sits close to its stop, and a large exposure with a tight stop is a different trade from a large exposure with a wide one, even when the dollars at risk match.

Sizing a position answers one half of what a system needs settled before it is put to work: how much to risk. The other half is whether the system wins often enough, against its own stop and target, to be worth risking anything on at all — our Luck or Edge? calculator tests exactly that, from the same kind of numbers this one uses.

Four mistakes that make a position the wrong size

The first is measuring risk from the wrong place: the distance that counts is from entry to the stop, not to the target or to the previous close. The second is rounding the share count up, which quietly spends more than the budget allows; rounding down never does. The third is taking a percentage of an old balance instead of the account as it stands today. The fourth is forgetting that a stop can fill beyond its price in a fast market, so the real loss on a gap is larger than the number shown. A smaller risk percentage is the only buffer for that last one.

Questions

How much should I risk per trade?
There is no universal number. Most frameworks land between 0.5% and 2% of the account, and the calculator treats it as an input, not a recommendation. What matters is that the same percentage is used on every trade, so a losing streak costs a known amount.
How do I calculate position size from a stop loss?
Risk per trade in money, divided by the distance between entry and stop. If the account is 10,000, the risk is 1% and the stop is 5 points away, the position is 100 divided by 5: 20 shares. The calculator rounds down and shows the exact figure next to it.
What if the position does not fit my account?
A tight stop can ask for more shares than the account can buy. The calculator says how many actually fit and what risk that leaves, instead of showing a number that cannot be executed. The fix is a wider stop, a smaller risk percentage or a smaller position.
Does this work for forex and futures?
This one sizes in shares, ETF units and coins. Forex and futures need the pip or point value of the contract, which is a separate calculation; that is what the lot size calculator is for.
What is the position size formula?
Position size = (account size × risk %) ÷ |entry − stop|. For a 25,000 account risking 1% with entry at 48.20 and stop at 46.70, the position is 250 ÷ 1.50 = 166 shares after rounding down.
Should position size be rounded up or down?
Down. Rounding up spends more risk than the budget set, and the extra is never shown anywhere else. With 166.67 shares as the exact figure, the calculator holds 166, loses 249 at the stop instead of 250, and shows the exact figure beside it.

The size is decided. Where the stop goes is a question of structure, and that is what the indicator answers on the chart.

See Edo Swing Levels → Read: what is the ATR →

Indicators that draw this for you

The numbers above are what these tools mark on the chart: levels, stops and context, no spreadsheet.