By Scalpel Team. , updated . 8 min read.

In short
Position sizing for day trading uses one formula: shares = the dollars you are willing to lose / the distance from your entry to your stop, rounded down. Risk $125 with a 26 cent stop and you buy 480 shares; with a 45 cent stop, 277. Then check the answer against three caps: your buying power, your largest allowed position, and what the bid can absorb if you need out. If a cap is smaller, buy fewer shares. Never tighten the stop to make the size fit.
Ask a new trader how big their position was and they usually answer in shares: "I took 500." That number says nothing about risk. 500 shares with a 10 cent stop risks $50; 500 shares with a 50 cent stop risks $250. Over a month of trades, that difference decides whether your results mean anything.
Sizing by risk turns it around. You fix the loss first and let the stop decide the shares. This post is the method, with the arithmetic, the caps that override it, and the costs that quietly change it. It is part of our pillar on day trading risk management. We build Scalpel, a cockpit for Interactive Brokers that sizes this way on every keypress, but everything here works with a calculator and TWS. Scalpel is independent and not affiliated with or endorsed by Interactive Brokers.
Shares = dollar risk / (entry price - stop price), rounded down to whole shares.
Three inputs, in this order:
Rounding down matters. Rounding up means every trade risks a little more than 1R, and on a cheap stock with a tight stop "a little" can be dollars.
All at $125 risk:
| Stock | Ask | Stop distance | Shares | Position | Loss at the stop |
|---|---|---|---|---|---|
| ABCD | 5.71 | 26c (stop 5.45) | 480 | $2,741 | $124.80 |
| WXYZ | 12.40 | 45c | 277 | $3,435 | $124.65 |
| EFGH | 1.80 | 8c | 1,562 | $2,812 | $124.96 |
| JKLM | 28.00 | 60c | 208 | $5,824 | $124.80 |
The loss at the stop is the same on all four. Share counts range from 208 to 1,562, and the dollars tied up from about $2,700 to $5,800. That spread is the point: a fixed share count would have risked $16 on one of these and $125 on another.

The formula gives the most you may buy. Three things can make the right answer smaller.
You cannot buy more than your account can carry. In a cash account that is your settled cash. In a margin account, Regulation T sets the initial margin for a stock purchase at 50 percent of its value, and brokers can ask for more on volatile or low-priced stocks. A tight stop on a pricier stock hits this first: $125 at a 5 cent stop on a $28 stock is 2,500 shares, $70,000 of stock.
Margin raises what you can buy, not what you should. If the formula asks for more than about half your account in one small cap, the stop is probably too tight to be real.
Set a dollar ceiling for any one stock and keep it below buying power. Our starting point is 60% to 80% of the account in a cash account, and no more than the account itself on margin. It catches the case above, and the fat-finger case where a typo in the risk or the stop asks for ten times the shares (fat-finger and position caps).
In TWS, the precautionary settings in order presets can hold that ceiling for you. This IBKR lesson shows where they are and how an order over your share or dollar limit is flagged before it transmits.

This is the cap that most sizing guides skip. Your stop is only worth something if the shares can be sold near it. Look at EFGH's bids at the moment you would buy:
| Bid | Size |
|---|---|
| 1.79 | 400 |
| 1.78 | 600 |
| 1.77 | 300 |
| 1.75 | 1,000 |
The top three levels hold 1,300 shares. The formula says 1,562. If the stop fires and you sell everything at once, you take all three levels and part of 1.75, and the average exit is several cents under where you planned, on every share. Our rule of thumb: keep size at or under what the top three bid levels hold, and recheck it when the book thins out. Reading Level 2 covers what those levels mean and how fast they change.
A stop is a trigger, not a fill. On a fast small cap the exit often fills a cent or a few under the stop (slippage in day trading), and commissions come off both sides. Both scale with share count, so the cheapest, tightest-stop trades are hit hardest.
At Interactive Brokers, IBKR Pro Tiered charges USD 0.0035 a share with a USD 0.35 minimum per order, capped at 1% of trade value, plus exchange, clearing and regulatory fees. Fixed is USD 0.005 a share with a USD 1.00 minimum. Checked on October 22, 2026.
Take EFGH again: 1,562 shares on an 8 cent stop.
The fix is to size off the stop plus the slippage you expect. $125 / (0.08 + 0.02) = 1,250 shares. Now the stop-out costs $100, slippage $25 and commission $8.75 round trip: about $134, much closer to plan. On a $28 stock with a 60 cent stop, the same two cents barely register. The tighter the stop, the more this matters.
The formula does not tell you how much to risk. Three ways to think about it:
Stay small while you learn. Fernando Chague, Rodrigo De-Losso and Bruno Giovannetti found that among Brazilian futures day traders who persisted for at least 300 days, 97% lost money, and they found no evidence of learning by day trading (FGV EESP working paper 525, 2020). Small 1R is what lets you find out whether your method works without paying the full price for the answer. Day trading a small account goes further.
Keep this on a card, or in a spreadsheet:
| Line | Example |
|---|---|
| Risk (R) | $125 |
| Stop distance plus expected slippage | 0.26 + 0.02 = 0.28 |
| Shares = R / distance, rounded down | 446 |
| Check: under buying power, your position cap and the top three bids? | $2,547 at 5.71: yes |
If the check fails, the share count comes down. Nothing else changes.
Scalpel does this arithmetic at the instant you press a buy key. Its Risk (Cents), Risk (ATR) and Risk (Low) presets take dollars of risk and work out the shares from the stop and the live ask, rounded down, so a $100 preset never risks more than $100 to the stop before slippage and fees. The small line above each buy button shows the dollar size that press would buy, so a size that is too big shows before you press (sizing presets, trade a fixed dollar risk). This short video shows the order bar and the presets:

What it does and does not do:
For volatility-based stops and the sizing that goes with them, see ATR stops and ATR position sizing. For how the size you pick interacts with your targets, see risk reward ratio.
Trading carries a significant risk of loss. Nothing here is financial advice.