Type the money in your account, the percentage of it you are willing to lose on one trade, the price you intend to buy at and the price you would get out at. The page works out how many shares fit inside that risk — as a four-decimal figure and as whole shares — what those shares cost, what share of the account they take up, and, if you already hold the stock, what your average cost per share becomes after the buy. Nothing is looked up: every number below is one you typed.
Four numbers come from you and everything else is derived from them. The stop price is the only thing that turns a percentage of your account into a number of shares: the wider the distance between your entry and your stop, the fewer shares fit inside the same money.
Shares = (account × risk % ÷ 100) ÷ (entry − stop)
Worked example: an account of 10,000.00, a risk of 1%, an entry price of 50.00 and a stop price of 48.00. The money at risk is 10,000.00 × 1 ÷ 100 = 100.00. The risk per share is 50 − 48 = 2.0000. So the size is 100.00 ÷ 2.0000 = 50.0000 shares — 50 whole shares if your broker does not take fractions. Those shares cost 50.0000 × 50 = 2,500.00, which is 2,500.00 ÷ 10,000.00 = 25.00% of the account. Note the two sides of that trade: a quarter of the account is committed, but only 100.00 of it — one percent — is at risk, because the stop sits 4% below the entry price.
Worked example with an existing position: the account holds 25,000.00, the risk is 2%, the entry is 60.00 and the stop is 54.00. The money at risk is 500.00 and the risk per share is 6.0000, so the size is 83.3333 shares, and those shares cost 4,999.99 — 19.99% of the account. You already hold 100.0000 shares at an average cost of 40.0000, which is 4,000.00 of your money in the stock. After this buy you hold 100.0000 + 83.3333 = 183.3333 shares for 4,000.00 + 4,999.99 = 8,999.99, so your average cost becomes 8,999.99 ÷ 183.3333 = 49.0908. That is the number a position size calculator normally leaves out: not only how many shares this trade is, but what it does to the average cost you were carrying.
Rounding: every figure on this page is rounded down, never up — the same rule as the rest of the site. Share counts and per-share figures are shown to four decimals, amounts and percentages to two, so the number you read is never larger than the one that was computed. Each line of the arithmetic is printed under the results using the figures shown above it, so you can check the whole chain by hand.
Because not every account can hold a part of a share. If your broker takes fractions, the four-decimal figure is your size. If it only takes whole shares, the whole-share figure is the largest order that still keeps your loss inside the limit you set — the fractional part is what you leave on the table, and the cost line spells out what that order would come to instead.
And because a position is usually added to, not opened from nothing, the optional boxes pool this buy into what you already hold. The stock average calculator on this site does the same pooling from a list of buys you type, and the stock split calculator carries a share count and an average cost through a split in either direction. Here it is the other way round: the new buy is worked out first, then the average cost it produces.
This page uses only the six numbers you type. Nothing else goes into the arithmetic.
The result describes the trade you entered — this account, this risk, this entry, this stop. It is not a view on the stock.
How many shares to buy so that a move from your entry price to your stop price costs a chosen percentage of your account. From your four numbers it gives the money at risk, the risk per share, the share count as a four-decimal figure and as whole shares, the cost of the position, what share of the account that uses, and — if you fill in the optional boxes — your average cost per share after the buy.
Yes. Both names mean this tool and the page answers to both, along with "calculate position size" and "stock position size". The arithmetic does not change with the wording: the money at risk divided by the distance from your entry to your stop gives the number of shares.
Three steps. Work out the money you are willing to lose: account size times risk percentage, divided by 100. Work out the risk per share: entry price minus stop price. Divide the first by the second. The result is your size in shares. Type those four numbers above and the page does the three steps for you, and prints each one.
Yours, and it is not on this page anywhere. This page has no rule of thumb, no preset and no default, because the right number depends on your account, your plan and how the rest of your money is invested. Type the figure you have already decided on; the page only does the division.
The page says so and stops. For a long position the stop has to sit below the entry, otherwise the risk per share is negative or zero and there is no size to work out. Rather than quietly using the difference and pretending the two prices were the other way round, the page names the two boxes and asks you to check them.
Whichever your account can hold. If your broker fills fractional shares, the four-decimal figure is exactly the size that matches your risk. If it only takes whole shares, take the whole-share figure — it is the largest order that still keeps the loss inside your limit, and the cost line tells you what it comes to.
Because the money at risk is fixed by your account and your percentage. If you allow the price more room to move before you are out, each share can lose more, so fewer shares fit inside the same money. Halve the distance from entry to stop and you double the size; double it and you halve the size.
Fill in the shares you hold and your average cost per share, and the page treats this buy as an addition to that position. It adds the money already in the stock to the cost of this buy, adds the shares you hold to the shares you are buying, and divides, which gives your average cost per share afterwards. If you fill in only one of the two boxes, the page asks for the other one rather than assuming an average cost.
No. The stop distance is yours, and the page takes no position on whether it is a good one or whether the trade is worth taking. It sizes the trade you described, which is arithmetic, and stops there.
No, and none of them are hidden inside the figures either. Commissions, fees, taxes, spreads and slippage are all left out, so the real cost of the trade is a little higher than the cost shown here, and the real loss if the stop is hit can be a little bigger than the money at risk shown here. There is no field for any of them, and the page will not pretend to know what your broker charges.
The size moves with it, in a straight line. Double the risk percentage and the money at risk doubles, so the share count doubles. Halve it and the share count halves. The risk per share does not move at all, because it only depends on the two prices.
They work on a position you already have; this one works out the buy before you make it. The stock average calculator pools buys into an average cost, the average down calculator shows what one more purchase does to that average, the DCA calculator takes a fixed amount of money per period instead of a fixed risk, the stock profit calculator adds the fees on both sides and the sale, the stock split calculator carries a position through a split, and the dividend calculator and dividend reinvestment calculator work out what your shares pay you. This is the one that answers how many shares to buy in the first place — and then feeds that buy back into your average cost.
Yes to the first, and no to the second. The fields stack to a single column on a narrow screen and the results stay inside the width of the page. There is no sign-up, no pop-up and nothing to install: the whole calculation runs in your browser, and your numbers are not sent anywhere.
This page is a calculator, not investment advice — it is arithmetic, not a recommendation to buy or to sell anything. A stop price is not a guarantee: a gap, a halt or a fast market can fill you below your stop, so the money you actually lose can be more than the figure shown here. Taxes, commissions and slippage are not counted anywhere on this page. Contact: [email protected]