Skip to content
Platform

Find & understand

Discover companiesFrom the market to your shortlistStock ScreenerSee a shortlist take shapeCompany researchUnderstand the business behind a stock

Test & prepare

Reality CheckPut an investing rule in perspectivePlan your riskWork out what is at stake

Keep developing

Review & learnReflect on decisions and build knowledgeAll workspace toolsFind your next starting point
Reality CheckAcademyPricing
Sign inGet started free
  1. Academy
  2. /
  3. Risk, position sizing, expectancy and drawdowns
  4. /
  5. Position size is an output: dividing budget by stop distance

Lesson 32 of 120 · Intermediate · 14 min read

Position size is an output: dividing budget by stop distance

Try it: Work out a position sizeFree, no account needed.

On this page

· 11 sections
  1. The position size formula
  2. Set the stop first, then the size
  3. Stop distance, not conviction, sets the size
  4. Rounding, minimums and buying-power limits
  5. Where costs and slippage fit in the budget
  6. Gaps, overnight risk and the worst case
  7. Worked example: one $500 budget, three share counts
  8. Common position sizing mistakes
  9. Sizing a trade from the stop, step by step
  10. Knowledge check
  11. Glossary
Back to top

What you will be able to do

  • Compute position size as risk budget divided by the per-unit distance to the invalidation level
  • Perform the three steps in the order budget, stop, size, and recognise the reversal when it happens
  • Explain why the same dollar risk produces wildly different share counts and notional exposures
  • Fold commissions, spread and slippage into the calculation rather than discovering them in the results
  • State why the stop distance is not the worst case, and how to make the overnight decision deliberately

Read these first

  • Risk per trade in Risk, position sizing, expectancy and drawdowns
  • Order types in Orders, execution, slippage and microstructure

To size a position from your stop, divide the money you are willing to lose by the distance from your entry to your stop. Position size equals risk budget divided by risk per share. With a $500 budget, an entry at $50.00 and a stop at $48.75, the stop is $1.25 away, so the size is 500 divided by 1.25, or 400 shares, before costs and slippage.

Position size is an output, not a choice. Decide the budget first, find the stop from the chart second, and let the share count fall out of the division. Many sizing errors come from doing those steps in the wrong order.

The position size formula

The whole calculation is one line. Position size equals risk budget divided by risk per unit.

The risk budget is the dollar figure from the previous lesson: your chosen fraction of equity. The risk per unit is the distance in price between your entry and your stop level, per share or per contract. If you are risking $500 and the stop sits $1.25 below your entry, you buy 400 shares, because 500 divided by 1.25 is 400. That is the entire mechanic.

What matters is the order. The budget is set at the account level and does not change per trade. The stop distance is set by the chart and the instrument, not by what you would like it to be. The size falls out. When people describe sizing as difficult, what they usually mean is that they arrived at a share count first and then went looking for a stop that would justify it.

The order is the discipline

Budget first, then stop, then size. Reversing any two of those steps turns a rule into a rationalisation, and the reversal is easy to miss because the arithmetic still looks like arithmetic afterwards.

The same formula in percentage terms

Some people find the dollar version awkward across instruments at very different prices, and there is an equivalent form that avoids it. If your stop sits a certain percentage below entry, then the notional size you can carry is the risk budget divided by that percentage. A $500 budget with a stop 2% below entry supports a position worth $25,000; the same budget with a stop 6% away supports about $8,300.

The two forms are the same statement. The percentage version makes the notional consequence visible immediately, which is useful because a tight stop can quietly produce a position worth more than the account, and that is a fact worth seeing before the order is sent rather than after the margin call. The dollar version is easier at the ticket, because it gives you a share count directly. Use whichever you will actually perform every time.

Set the stop first, then the size

A stop level is a statement about the instrument, not about you. It marks the price at which the reason you entered has stopped being true: below the low of the base you bought, beyond the boundary of the range you faded, back inside the pattern you expected to leave. Lesson nine is entirely about locating that point. What matters here is that it is discovered, not selected.

The consequence is uncomfortable and important. If the honest invalidation level is far away, the position must be small. Not because the trade is worse, but because each share carries more risk. A setup whose invalidation sits 8% below entry supports one quarter of the share count of an otherwise identical setup whose invalidation sits 2% away, at the same budget.

Traders resist this constantly, and the resistance always takes the same form: the stop gets moved closer so the position can be larger. The share count then looks respectable and the stop now sits inside the range of ordinary noise, which means it will be hit by something that has no bearing on whether the idea was right. You have not reduced risk. You have converted a small chance of a real loss into a large chance of a pointless one.

The two questions in the right order

  1. Where is this wrong? A price level, justified by structure, decided before you think about size at all.
  2. How many, then? Budget divided by the distance to that level. Arithmetic, with no judgement in it.

Stop distance, not conviction, sets the size

Once the formula is running, an interesting property appears: the position size is inversely proportional to the stop distance, which keeps the planned price loss similar at a fixed budget, before rounding, costs and differences in execution.

A tight setup in a quiet name might support 1,000 shares. A wide setup in a volatile one might support 90. On a brokerage statement those are unrecognisable as the same decision. Their planned price loss can be similar, but their liquidity, gap risk and return distributions can differ. Equal risk budgets do not make the instruments interchangeable. Recording results in budget units helps comparison without removing those differences.

Why conviction is a poor input

Sizing up when a setup feels better is difficult to evaluate if you did not record that assessment before the outcome. Win rate still measures the fraction of winning trades when sizes vary, and an average dollar win still describes the recorded winners. Neither alone explains the effect of size on the whole account. Compare dollar results with risk-normalized results, such as each outcome divided by its recorded planning budget, and include costs.

Record the timestamp, inputs, size and rationale for each decision, including any discretionary grade and the planned risk budget. Compare outcomes across those grades while accounting for sample size, liquidity and changing conditions. A difference in a selected sample does not establish how a larger position will perform.

Written size tiers can make comparisons easier, but discretionary decisions can also be audited when their inputs and changes are recorded. Keep both dollar and risk-normalized outcomes: two sets of trades can have the same win rate and normalized returns while producing different dollar results because losses carried more size. A recorded budget is a comparison unit, not a maximum-loss guarantee.

Rounding, minimums and buying-power limits

The formula may return a fractional number. This example assumes whole shares; fractional-share availability depends on the broker and instrument. Several practical constraints sit between the calculation and the order ticket.

  • Round down, always. If the formula says 287 shares, buy 280 or 287, never 300. Rounding up is a small, repeated, invisible increase in risk, and it compounds across a year of trades.
  • Minimum size can veto the trade. If one share carries more risk than your whole budget, the answer is not a wider budget. The answer is that this instrument is too large for this account at this stop distance, and the trade does not happen.
  • Buying power is a separate constraint. The size your risk budget permits may exceed the capital or margin available. The binding constraint is whichever is smaller, and it is usually worth knowing which one bound, because a book that is constantly capital-constrained rather than risk-constrained is telling you something about the stop distances you are using.
  • Margin rules can change under you. Intraday requirements and house policies are set by the broker and the rules it operates under, and they can be raised. A plan that only works at the minimum requirement is a plan with a single point of failure.

The upward round is the leak nobody sees

Rounding a share count up to a tidy number adds a few percent of extra risk each time. Do it on every trade for a year and you are running a materially larger strategy than the one you wrote down, without a single decision that felt like increasing risk.

Where costs and slippage fit in the budget

The formula as stated assumes you enter at your entry price and exit at your stop price. Neither is exactly true, and the difference comes out of the same budget.

Commissions, any per-share fees, the half-spread you pay on entry, the half-spread you pay on exit, and the slippage between the stop triggering and the market order filling all add to the realised loss. None of them appear in the division. In a liquid name with a tight spread the total is small enough to ignore for sizing purposes. In a wide-spread instrument, at the open, or in size, it is not.

Two ways to handle it

  • Widen the risk per unit. Add an allowance to the stop distance before dividing. If the stop is $1.25 away and you expect around $0.05 of round-trip friction, size on $1.30. This is the cleaner method because the adjustment lives where the uncertainty is.
  • Shrink the budget. Size on a budget slightly below your nominal one and treat the difference as the friction reserve. Cruder, but easier to apply consistently across instruments whose costs you have not measured individually.

Either is defensible. Doing neither means your realised losses will run consistently above your budgeted ones, and the gap will be discovered slowly, in the results, rather than quickly, in the plan.

Gaps, overnight risk and the worst case

The sizing formula treats the stop distance as the maximum loss. It is not. It is the loss that occurs when the market trades continuously through your level and your exit fills near it.

An eligible stop order becomes a market order when the broker's trigger condition is met. Neither execution time nor price is guaranteed: a halt, unavailable liquidity or session restrictions can delay a fill. Suppose an instrument closes at $40 and opens at $31, beyond a $38 stop. If the exit fills at $31, the price loss is $9 per share rather than the planned $2, before costs. That is a hypothetical fill, not a promise of the opening price.

There is no way to size that risk away entirely while holding the position. What you can do is decide, deliberately, how much of it you are prepared to carry.

  1. Size the overnight portion smaller than the intraday portion, after checking when the broker accepts and triggers that order type. Regular-hours-only stops do not protect an extended-hours position.
  2. Cap exposure into known events such as scheduled earnings, where the distribution of the next open is visibly wider than usual.
  3. Assume a multiple of the stop as the tail case when you are checking whether a cluster of correlated positions is survivable, rather than assuming each one loses exactly its budget.

Sizing for the gap rather than the stop

One clean way to make the overnight decision concrete is to size the position so that a plausible bad gap, rather than the stop, costs an amount you have approved. If your ordinary budget is 1% at the stop, and you are willing to lose 2% in the tail, then for a position you intend to hold overnight you can size on whichever is smaller: the ordinary budget divided by the stop distance, or the tail budget divided by an estimated gap distance. In a name that routinely opens 4% away from its close, that second calculation will frequently be the binding one, and the fact that it binds is the information you wanted.

This is not a way of eliminating gap risk, and it should not be sold as one. A halt, a takeover announcement or a broad overnight dislocation can move an instrument far past any estimate you made from its recent history. What the exercise does is stop the overnight decision from being made by default, which is how it is usually made.

Worked example: one $500 budget, three share counts

IllustrativeOne risk budget, three very different setups, three share counts. Illustrative.

The account holds $50,000 and the rule is 1% per trade, so the budget is $500 on every line below. Nothing about the budget changes; only the instrument and the honest invalidation level do.

  • A quiet name at $25.00. The structure puts invalidation at $24.50, so the risk per share is $0.50. The size is 1,000 shares and the notional exposure is $25,000, half the account.
  • A mid-priced name at $80.00. Invalidation sits at $77.50, so the risk per share is $2.50. The size is 200 shares and the notional is $16,000.
  • A volatile name at $310.00. Invalidation sits at $292.00, so the risk per share is $18.00. The size is 27 shares after rounding down, and the notional is $8,370.

The first two planned price losses are $500 each. Rounding the third position down gives 27 x $18 = $486. At exactly the illustrated entry and exit prices, the total is $1,486, or 2.972% of starting equity, before costs. These are planning figures, not maximum losses: gaps, slippage and fees can make the realised loss larger.

Now change one thing. Suppose the third setup felt like the best of the three and you took 100 shares instead of 27. The budget on that line is now $1,800, which is 3.6% of the account, and a bad week of all three would produce a price loss of 5.6% rather than 2.972% before costs at the illustrated fills. Nothing about the trade changed. The only thing that changed was that one number was chosen rather than derived.

Common position sizing mistakes

  • Choosing the size first. Deciding on a share count or a dollar amount, then finding a stop that fits it. The stop ends up inside the noise and gets hit by nothing meaningful.
  • Widening the stop after entry. The size was calculated for the original distance, so moving the level down increases the risk on a position that is already losing.
  • Rounding up to a tidy number. A small, invisible, repeated increase in risk that compounds across a year of trades.
  • Ignoring costs and slippage. Realised losses run consistently above budgeted ones and the gap is discovered in the results rather than in the plan.
  • Treating the stop distance as the worst case. A gap can bypass the intended exit price. Trigger eligibility does not guarantee an execution time or price.
  • Letting buying power set the size. Taking whatever the account can afford, which reintroduces exactly the arbitrary exposure the formula exists to remove.
  • Sizing up without a recorded rationale. Missing decision inputs, size and initial risk budget make it harder to separate setup outcomes from the effect of sizing decisions.

Sizing a trade from the stop, step by step

  1. Mark the invalidation level before anything else and write it down. If you cannot justify a level from structure, you do not yet have a trade to size.
  2. Divide the budget by the per-unit distance and round the result down. Do the division explicitly rather than estimating it.
  3. Add a friction allowance to the stop distance before dividing, sized to the instrument's typical spread rather than to a single number used everywhere.
  4. Check the result against buying power and note which constraint bound. A book that is always capital-constrained is telling you your stops are too tight.
  5. Reject the trade when one unit exceeds the budget rather than raising the budget to fit the instrument.
  6. Record entry, stop, size and budgeted risk together on every trade, so that a later review can check whether the realised loss matched the plan.
Examples and common mistakes

Worked example

IllustrativeOne $500 budget applied to three constructed setups
One $500 budget applied to three constructed setups - illustrative figures, not a performance record.
SetupEntryInvalidationRisk per shareSizeNotionalRisk budgetPlanned price loss before costs
Quiet name$25.00$24.50$0.501,000 shares$25,000$500$500
Mid-priced name$80.00$77.50$2.50200 shares$16,000$500$500
Volatile name$310.00$292.00$18.0027 shares$8,370$500$486

The three setups share a $500 planning budget on a $50,000 account. Their planned price losses are $500, $500 and $486 after rounding the last size down to 27 shares. If entry and exit occur exactly at the illustrated levels, the total price loss is $1,486, or 2.972% of the starting account, before costs. Gaps, slippage and fees can produce larger losses; equal budgets do not imply equal risk distributions.

How this goes wrong in practice

  • Choosing a share count first and then finding a stop that justifies it
  • Widening the stop after entry, which raises the risk on a position that is already losing
  • Rounding the share count up to a tidy number, a small repeated increase in risk
  • Ignoring commissions, spread and slippage so realised losses exceed budgeted ones
  • Treating the stop distance as the maximum loss when a gap fills the order elsewhere
  • Letting buying power rather than the risk budget determine the size
  • Changing size without recording the decision, then conflating dollar results with risk-normalized performance

Checklist

  • The invalidation level written down before any size is considered
  • The division performed explicitly, with the result rounded down
  • A friction allowance added to the stop distance, sized to the instrument
  • The result checked against buying power, and a note of which constraint bound
  • A rejection rule for when one unit alone exceeds the budget
  • Entry, stop, size and budgeted risk recorded together on the trade

Knowledge check

Question 1 of 3Your risk budget is $500 and the invalidation level sits $2.50 below your $80.00 entry. What size does the formula return?
Question 2 of 3Two setups are identical in every respect except that one has an invalidation level 2% below entry and the other 8% below. At the same budget, how do their sizes compare?
Question 3 of 3Why is the stop distance not the worst case for the trade?

Exercise

Take three open or recent trades and reconstruct them backwards. For each, write the entry, the level at which the idea was invalid, and the size you actually took, then compute what dollar risk that size implied. Compare each figure to the budget you intended. Where they disagree, write one sentence naming which step went out of order: was the size chosen first, was the stop moved after entry, or was the share count rounded up. Then repeat the calculation for a hypothetical setup on paper, round down and check the capital constraint. Include a cost allowance and a gap scenario. Do not place an order for this exercise.

Glossary, tools and sources

Glossary

Risk per unit
The price distance between the entry and the invalidation level, expressed per share or per contract. The divisor in the sizing formula.
Invalidation level
The price at which the reason for entering has stopped being true. Discovered from structure rather than chosen for convenience.
Buying power
The capital or margin the account can commit. A constraint separate from the risk budget, and the binding one whenever it is the smaller of the two.
Friction allowance
An amount added to the stop distance before dividing, covering commissions, the spread paid on entry and exit, and slippage on the stop.
Rounding down
Taking the lower whole number of units the formula permits. Rounding up is a small repeated increase in risk that compounds across a year of trades.
Overnight gap
The difference between one session's close and the next session's open. Stop eligibility outside regular hours depends on the broker, venue and order terms; gaps can bypass the trigger price.

Use it in the app

  • Position size calculator - do the division without arithmetic errors
  • Risk reward calculator - check the payoff at the size the budget permits
  • Journal - record entry, stop, size and budgeted risk together

Sources

  1. Stop, Stop-Limit, and Trailing Stop Orders - Investor Bulletin(opens in a new tab)

    US Securities and Exchange Commission. Retrieved 2026-08-31.

  2. Understanding the New Intraday Margin Requirements(opens in a new tab)

    Financial Industry Regulatory Authority. Retrieved 2026-08-31.

  3. Trading Halts, Delays and Suspensions(opens in a new tab)

    Financial Industry Regulatory Authority. Retrieved 2026-10-26.

Risk notice

This lesson is general educational information about position sizing arithmetic. It is not investment advice, not a recommendation to buy or sell any security, and not tailored to your circumstances. Every price, share count and balance shown is a constructed illustration. A calculated position size does not cap the loss: an eligible stop becomes a market order under the broker's trigger rules, with no guaranteed execution time or price. Gaps, halts and unavailable liquidity can produce losses beyond the planning budget. Trading involves risk of loss, including loss of the full amount invested.

Press when you have finished reading. Nothing is recorded until you do.

Next step

Enter an account size, a risk percentage, an entry and a stop, then read the share count and the dollars at risk. The numbers are your own example, not a recommendation.

Work out a position size

No account needed. Saving stocks to your account requires free signup in the app; no card needed.

Previous lessonRisk per trade: the only number you fully control15 minNext lessonExpectancy: the one number that combines win rate and payoff14 min
Back to top

Test a trading rule against holding. Keep the evidence and build your research from there.

support@estockes.comSupport replies within 1-2 business days.

Product

  • Home
  • Pricing
  • Free tools
  • Calculators
    • Compounding
    • Position size
    • Risk and reward
    • Leveraged ETF decay
    • Day trading account checker
  • Academy - free course
  • Test a strategy
  • Strategies we tested
  • Compared with TradingView
  • Compared with Finviz
  • Compared with Investing.com
  • Test a rule without code
  • System status
  • What's new

Company

  • About
  • Contact
  • Support

Legal

  • Terms of Service
  • Privacy Policy
  • Refunds
  • Security
  • Data request
Review us on Trustpilot (opens in a new tab)

Share your honest experience.

Featured on LaunchBuffestockes on VibeRank
© 2026 estockes - estockes.com · Operated by Eylon Sabag · Prices in USD

estockes is a research and analytics tool, not a registered investment adviser, broker-dealer, or financial planner. Nothing here is investment, financial, legal, or tax advice. All content is for informational and educational purposes only. Trading involves substantial risk of loss; past performance does not guarantee future results. You trade at your own risk.

Mailing address (correspondence only)
800 N. King St, Suite 304-2048, Wilmington, DE 19801, USAThe operator is Eylon Sabag, an Israeli sole proprietor. This iPostal1 address receives correspondence; it is not a U.S. office or a separate U.S. company.
Previous lessonRisk per trade: the only number you fully control15 min
Next lessonExpectancy: the one number that combines win rate and payoff14 min