How to Calculate Position Size Correctly

To calculate position size correctly, divide the dollar amount you are willing to risk by the per-unit risk, the distance from your entry to your stop-loss. Decide the loss you can accept first (for example 1 percent of your account), then let the chart's stop distance dictate how many shares, coins, or lots that allows.
Key takeaway
Position size = dollar risk / per-unit risk. The dollar risk is a rule you set (a small percent of equity); the per-unit risk is set by where your stop belongs on the chart. The share count is just the output of dividing one by the other. Never reverse this and pick a size first, then squeeze the stop to fit it.
What is the position size formula?
The position size formula converts a risk decision into a concrete number of units. It uses two quantities: dollar risk, the most you are willing to lose on the trade, and per-unit risk, how far price must move against you to hit your stop. Dividing the first by the second gives the number of units to trade.
Dollar Risk = Account Balance x Risk Percent
Per-Unit Risk = | Entry Price - Stop-Loss Price |
Position Size = Dollar Risk / Per-Unit Risk
The vertical bars mean absolute value, so per-unit risk is always positive whether you are long or short. Notice what the formula ignores: your profit target, your conviction, and idle capital. Those can cap the result, since you cannot buy more than your cash allows, but they never set the size. Risk sets the size, and this discipline sits at the center of trading risk management.
How do you calculate position size step by step?
Sizing a trade is a short, repeatable sequence. Run it the same way every time so the share count is never a guess. The five steps below take you from a risk rule to an order quantity.
- Pick your risk percent. Decide the fraction of equity you will risk per trade, commonly cited around 1 to 2 percent for active traders.
- Compute dollar risk. Multiply your account balance by that percent. A 10,000 dollar account at 1 percent risks 100 dollars.
- Find per-unit risk. Measure the distance from your planned entry to your stop-loss, where the stop sits at a level the chart justifies, not where it makes the math convenient.
- Divide. Dollar risk divided by per-unit risk is your position size in units.
- Cap by capital. Make sure you actually have the cash (or margin) to hold the position; if not, the cash limit, not the risk math, sets the size.
A worked example with numbers
Suppose your account holds 10,000 dollars and your rule is 1 percent risk per trade. A stock you are watching has a potential entry near 50 dollars, and a sensible stop sits at 48 dollars, just below support. The arithmetic runs in three steps.
Dollar Risk = 10,000 x 0.01 = 100
Per-Unit Risk = | 50 - 48 | = 2
Position Size = 100 / 2 = 50 shares
You trade 50 shares, a position worth 2,500 dollars. If the stop is hit, you lose 50 shares times 2 dollars, exactly 100 dollars, your planned 1 percent. The position is a quarter of the account, but the risk is only 1 percent because the stop is close. Now widen the stop to 45 dollars: per-unit risk becomes 5, so size drops to 100 / 5 = 20 shares. Same account, same risk rule, smaller position, purely because the chart demanded a wider stop. The Bullynx position size calculator runs this in seconds and caps the result by your capital.
How do you size forex and crypto positions?
The formula does not change across asset classes; only the unit and the value of one price increment do. For stocks, the unit is shares and per-unit risk is a dollar distance. For forex, convert the entry-to-stop distance into pips, then multiply by the value of one pip to get per-unit risk before dividing. For crypto, the unit is coins or contracts, handled exactly like shares.
The principle holds everywhere: decide the dollar loss first, then solve for how many units keep that loss constant. A useful check on any result is whether you have the capital and, if using leverage, the margin to hold it. As FINRA notes, margin calls can force liquidation at the worst moment, so a good calculator caps the unit count by your real capital, not just the risk math. For currency sizing specifically, see our pip value explained guide.
What are the common position sizing mistakes?
Position sizing fails in predictable ways, almost all from letting something other than risk drive the unit count. The chart below shows why the risk percent you choose matters so much across an unlucky streak.
At 1 percent, ten losses dent the account by roughly 10 percent, annoying but recoverable. At 10 percent per trade, the same streak erases about two thirds of the account, a hole that needs a near-tripling just to break even. Beyond risking too much, the recurring errors are sizing by capital instead of risk, widening the stop to justify more shares, and ignoring gaps and slippage that make the real loss exceed the theoretical stop. Avoiding these keeps a normal cold streak from becoming a risk of ruin event.
A position size calculation quantifies the loss you accept on a hypothetical setup. It is a risk tool, not a recommendation to enter any trade, and it cannot predict whether price reaches your stop or your target.
How does position size relate to capital allocation?
Position size and capital allocation answer two different questions, and confusing them is a classic error. Position size is set by risk: how many units make your stop-loss cost exactly your chosen dollar risk. Capital allocation is how much of your account's cash a position ties up. The two are linked only by a ceiling: you cannot buy more units than your cash (or margin) allows, so allocation caps size but never sets it.
The worked example showed this. Risking 1 percent on a 10,000 dollar account produced a 2,500 dollar position, a quarter of the account in capital but only 1 percent in risk, because the stop was close. A different setup with a wider stop might risk the same 1 percent while tying up far less capital. So a position can be large in capital and small in risk, or vice versa. What matters for survival is the risk figure, not the allocation figure.
This distinction also guards against a subtle trap: feeling "fully invested" and skipping good setups because capital seems committed, when in fact your risk is modest. Track both numbers, but let risk drive sizing and use allocation only as the hard cap. For how multiple positions combine, the risk per trade rule covers capping total simultaneous risk across correlated trades.
Putting position sizing in context
Position sizing is the bridge between a chart idea and an actual order. It does not tell you whether a setup is good; it tells you how to express any setup so a single loss never threatens the account. Run the formula the same way every time, let the entry-to-stop distance set the unit count, and keep per-trade risk small enough that a normal losing streak is survivable.
The fastest way to make this a habit is to compute it before every entry rather than after. The position size calculator does the arithmetic and caps the result by your capital, leaving you only the judgment calls: where the stop belongs and how much you are willing to risk. To learn where the stop belongs in the first place, see how to set a stop loss.
Educational only. Not financial advice. Position sizing controls the size of a potential loss; it does not change the probability of any outcome. Examples use illustrative numbers only.
Frequently asked questions
- What is the position size formula?
- Position size in units equals your dollar risk divided by your per-unit risk. Dollar risk is account balance times the percent you will risk; per-unit risk is the distance from your entry price to your stop-loss price.
- How do I calculate position size for stocks?
- Decide your dollar risk (for example 1 percent of the account), measure the distance from entry to stop in dollars, then divide. If you risk 100 dollars and your stop is 2 dollars away, you trade 50 shares.
- Does position size change with the stop-loss?
- Yes. The stop sets your per-unit risk, the denominator in the formula. A tighter stop allows more units for the same dollar risk; a wider stop forces fewer. The dollar loss stays constant either way.
- How do I size positions in forex or crypto?
- The formula is the same; only the unit changes. For forex, convert the entry-to-stop distance into pips and multiply by pip value to get per-unit risk before dividing. For crypto, use coins or contracts the same way you use shares.
- What is the most common position sizing mistake?
- Sizing by capital instead of risk, deciding to put a fixed dollar amount into a trade regardless of the stop distance. This makes identical positions carry wildly different risk and is the fastest way to a deep drawdown.
Put this into practice. Upload a chart screenshot and Lynx AI reads the structure, levels, and a long or short bias, with what would invalidate it.
Try Bullynx freeKeep reading
Educational only. Not financial advice. NFA. Bullynx is not a registered investment adviser or broker-dealer. Trading and investing involve significant risk of loss. Read the full risk disclosure.