Title card for the Stock Moe position size calculator: how many shares to buy from account size, risk percent, entry and stop

Position Size Calculator: How Many Shares to Buy

Last updated November 30, 2026. By Stock Moe, former financial advisor, MBA and finance teacher.

This position size calculator tells you how many shares to buy so that one bad trade costs you a set amount and no more. The math is simple. Take your account size, multiply it by the percent you are willing to risk, and divide by the distance between your entry price and your stop price. On a $25,000 account risking 1% with a $50 entry and a $46 stop, that is $250 divided by $4, or 62 shares.

Position size calculator for stocks

Estimates only. A stop does not guarantee your exit price. Not financial advice.

Key takeaways

  • Position size is the number of shares you buy. The formula is account size times risk percent, divided by entry price minus stop price.
  • Example: a $25,000 account risking 1% has $250 on the line. With a $50 entry and a $46 stop, the risk is $4 a share, so the answer is 62 shares, a $3,100 position.
  • The stop sets the size. For the same $250 of risk on a $50 stock, a 2% stop buys 250 shares and a 15% stop buys 33.
  • Ten losses in a row cost about 9.6% of the account at 1% risk, 18.3% at 2% and 40.1% at 5%. Small risk per trade is what keeps a bad streak survivable.
  • A stop is not a guarantee. Investor.gov says a stop order becomes a market order when the stop price is reached, so a gap can fill you well below your stop.

What is position size in trading?

Position size is how much of one thing you own. In stocks it is the number of shares, or the dollars those shares cost. It sounds like a small detail. It is the detail that decides how much a wrong call hurts.

Most new traders pick a size by feel. They buy 100 shares because 100 is a round number, or they put in whatever cash is sitting in the account. That means the amount they can lose changes with every trade, and they never chose it. A $20 stock with a stop $1 away and a $200 stock with a stop $30 away are very different bets, even if both are 100 shares.

Position sizing flips the order. You decide the loss you can live with first. Then the stop and the math tell you how many shares that allows. I taught finance for years, and this is the one habit I would put in front of every chart pattern and every indicator. You can be wrong half the time and still be fine if your size is right. You can be right most of the time and still blow up if it is wrong.

How do you calculate position size?

The position size formula has three inputs: the size of your account, the percent of it you will risk on this one trade, and the distance from your entry price to your stop price.

Shares to buy = (account size x risk percent) / (entry price minus stop price)

Here is the example the position size calculator loads with.

  1. Account size: $25,000.
  2. Risk per trade: 1%. That is $25,000 x 0.01 = $250. This is the most I am willing to lose if the trade fails.
  3. Entry price: $50. Stop price: $46. The risk per share is $50 minus $46, or $4.
  4. Shares: $250 / $4 = 62.5. Round down, never up. The answer is 62 shares.
  5. Position value: 62 x $50 = $3,100, which is 12.4% of the account.
  6. Loss if the stop fills at $46: 62 x $4 = $248.

Notice two things. First, I am risking 1% of the account, but the position is 12.4% of the account. Risk and position value are not the same number. Second, if I add a target of $60, the gain would be 62 x $10 = $620. That is a reward to risk of 2.5 to 1, which the calculator shows when you enter a target.

If the math gives you less than one share, the stock is too expensive for your risk limit at that stop. That is where fractional shares help, because you can buy a dollar amount instead of a whole share.

How does the stop distance change your share count?

The stop does most of the work in the formula. Keep the account at $25,000, the risk at 1% and the entry at $50. Now move only the stop. A tight stop lets you buy a lot of shares. A wide stop forces you to buy fewer. The dollars at risk stay at about $250 every time.

Bar chart from the position size calculator example: a $25,000 account risking 1 percent on a $50 stock buys 250 shares with a 2 percent stop, 125 with a 4 percent stop, 83 with a 6 percent stop, 62 with an 8 percent stop, 50 with a 10 percent stop and 33 with a 15 percent stop
Shares to buy for the same $250 of risk, by stop distance. My arithmetic.
Stop distanceStop priceRisk per shareSharesPosition valuePercent of account
2%$49.00$1.00250$12,50050.0%
4%$48.00$2.00125$6,25025.0%
6%$47.00$3.0083$4,15016.6%
8%$46.00$4.0062$3,10012.4%
10%$45.00$5.0050$2,50010.0%
15%$42.50$7.5033$1,6506.6%
A $25,000 account risking 1% on a $50 stock. Shares rounded down.

Look at the first row. A 2% stop on a $50 stock is only $1 away, and the formula says 250 shares. That is half the account in one stock. The risk on paper is still $250, but only if the stop fills at $49. If the stock opens at $45 on bad news, the loss is $1,250, which is 5% of the account. That is why I pair the formula with a cap on position size, which is the next section.

The lesson is that the stop should come from the chart, not from the share count you want. Put the stop where the trade idea is proven wrong, such as under a low that held or under a moving average you are leaning on. Then let the calculator tell you the size. Do not squeeze the stop tighter just to own more shares.

How much should you risk per trade: 1% or 2%?

You will hear two numbers over and over: the 1% rule and the 2% rule. Neither is a law or a regulation. They are rules of thumb traders use, and they mean you risk no more than 1% or 2% of your account on any single trade. The reason they exist is losing streaks. Every method has them.

Here is what ten losing trades in a row do to a $25,000 account at four risk levels, with each loss taken as a percent of what is left.

Risk per tradeAccount after 10 lossesDrawdownGain needed to get back
1%$22,6099.6%10.6%
2%$20,42718.3%22.4%
5%$14,96840.1%67.0%
10%$8,71765.1%186.8%
Ten straight full losses on a $25,000 account. My arithmetic.

At 1% a terrible streak is a bad month. At 10% it is close to the end of the account, because a 65.1% loss needs a 186.8% gain just to get back to even. The math gets steeper the deeper you go. That is the whole case for small risk per trade.

My opinion: if you are new, start at 1% or less. If your account is small, 1% can feel like nothing. A $2,000 account risking 1% has $20 on the line. That is fine. The goal in year one is to learn and still have an account in year two. You can practice the whole process with fake money first, and I show how in my Webull paper trading guide.

Should you cap position size as a percent of your account?

Yes. The risk formula protects you when the stop works. A cap protects you when it does not. FINRA calls the danger concentration risk, and in its investor article Concentrate on Concentration Risk it describes it as the risk of amplified losses from having a large portion of your holdings in one investment, asset class or market segment.

So I use two limits and take the smaller answer. The first is the risk limit from the formula. The second is a ceiling on how much of the account any one stock can be. The calculator has a box for that ceiling. If the formula says 250 shares but your cap is 25% of the account, the calculator cuts you to 125 shares and tells you it did.

In my November 30, 2026 video I showed an example split for someone buying this correction. Half went to a Nasdaq 100 fund as the core. The biggest single stock slot was 8%, which I gave to Micron and Meta. The smallest slot was 4%, which I gave to Rocket Lab, because it has no profits and swings the hardest. The more ways a stock can hurt me, the smaller the slot. That was an example for education, not a personal recommendation.

Put numbers on it. On a $25,000 account an 8% slot is $2,000. Micron closed at $646.95 on November 27, 2026, so that is 3 shares, or $1,940.85. A 4% slot is $1,000. Rocket Lab closed at $50.88 the same day, so that is 19 shares, or $966.72. If Rocket Lab fell another 30% from there, that slot would lose about $290, which is roughly 1.2% of the account. Sized that way, a bad outcome in the riskiest name is still a small event.

What can go wrong: gaps, slippage and margin

A position size calculator assumes you get out at your stop price. Real markets do not promise that. Investor.gov, the SEC’s site for investors, explains it this way: “When the stop price is reached, a stop order becomes a market order.” A market order fills at the next available price, not at your stop price.

  • Gaps. If a stock closes at $50 and opens at $44 after earnings, a stop at $46 fills near $44. Your planned $4 loss per share becomes $6. On 62 shares that is $372 instead of $248.
  • Slippage. In a fast market, or in a thinly traded stock, even an ordinary stop can fill a little worse than the stop price.
  • Margin. If the calculator shows a position bigger than your account, you would be borrowing to hold it. FINRA’s margin page warns that you can lose more funds than you deposit in a margin account and that the firm can force the sale of securities in your account.
  • Correlation. Five positions at 1% risk each are not five separate bets if all five are chip stocks. On a bad day for the group they can all hit their stops together. Think about your total risk across names that move together.
  • Moving the stop. The formula only works if you honor the stop you sized for. If you lower the stop after you are in, you have made the position bigger than you planned.

None of this is a reason to skip the math. It is a reason to leave room. Size a little smaller around earnings dates, around Fed decisions and in stocks that are known to gap. I keep the dates I am watching on my stock market levels page. Investing can lose money, and past results do not predict future results.

How I size my own positions

I am mostly a buyer of good companies on sale, not a day trader, so my sizing has a few extra rules on top of the formula.

  • Core first. The base of my portfolio is a broad fund. On November 25, 2026 I bought 100 shares of QQQM at $260.40, and I am adding in weekly pieces. In my example split the core was 50%.
  • Buy in pieces. I do not go all in at once. I split a planned position into several buys over weeks. If the price keeps falling, my average cost improves. If it turns up, I already own some.
  • Size by conviction and by risk. My top ideas get the biggest slot, and that slot has a ceiling. The home run swings get the smallest one.
  • Know the line that proves me wrong. For each name I write down the low that has to hold or the average it has to take back. That line is my stop for the math, even on a long term position.
  • Check the total. Before I add, I look at how much of the account is already in the same theme.

If your style is income investing instead of trading, the same thinking applies to how much you put in any one dividend payer. My dividend calculator shows what a position can pay you over time, and this page tells you how big to make it.

I teach the full process, including how I pick the levels I size from, inside the Stock Moe Academy (code MOE). If you would rather start free, my Sunday Letter covers the levels I am watching for the week ahead.

Position sizing for options, crypto and forex

The idea is the same in every market: decide the dollars at risk first, then divide by the risk per unit.

  • Options you buy. When you buy a call or a put, the most you can lose is the premium you paid. One stock option contract covers 100 shares, so a $2.00 premium costs $200 per contract. With $250 of risk, that is 1 contract. If you plan to exit before the option goes to zero, use the loss you plan to take per contract instead of the full premium.
  • Crypto. Use the stock formula as it is. Coins trade in fractions, so you do not need to round down to a whole unit. Crypto can gap on weekends and overnight, so I would size smaller than the formula says.
  • Forex. Traders size in pips. The formula is risk dollars divided by the stop distance in pips times the dollar value of one pip for your trade size. Your broker’s platform shows the pip value for each pair.

Selling options and trading futures are different animals, because the loss is not limited to what you paid. I would not use a simple calculator for those.

Common questions about the position size calculator

What is position size in trading?

Position size is how many shares or units you hold in one trade, or the dollar value of them. Good position sizing starts with the loss you can accept and works back to the number of shares.

How do you calculate position size?

Multiply your account size by the percent you will risk, then divide by the distance between your entry price and your stop price. A $25,000 account risking 1% with a $50 entry and a $46 stop is $250 divided by $4, or 62 shares.

How many shares should I buy?

Buy the number of shares where a stop out costs you no more than your risk limit, and where the whole position stays under your cap for any one stock. The position size calculator on this page gives you both numbers.

What is the 1% rule in trading?

The 1% rule is a rule of thumb that says you risk no more than 1% of your account on a single trade. It is not a regulation. On a $25,000 account it means a stop out costs about $250.

Is the 2% rule better than the 1% rule?

The 2% rule doubles the size of each trade and each loss. Ten losses in a row cost about 18.3% of the account at 2% risk and about 9.6% at 1%. I think newer traders are better off at 1% or less.

Does position sizing work without a stop loss?

Not with this formula, because the stop sets the risk per share. If you do not use a stop, size by a cap instead, such as a set percent of the account per stock, and assume the stock can fall much further than you expect.

How do you calculate position size in forex?

Divide the dollars you will risk by the stop distance in pips times the dollar value of one pip for your trade size. Your broker shows the pip value for each currency pair.

Keep reading on Stock Moe

Get more from Stock Moe

Want live trades, my personal indicator and live teachers? Join the Stock Moe Academy with code MOE. Prefer the free version? The Sunday Letter lands every Sunday morning.

Sources

I am not a financial advisor and nothing in this article is financial advice. Everything here is my own opinion, for educational and entertainment purposes only. Do your own research and talk to a licensed professional before you make any financial decision.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *