Skip to content
Measuring beaker filled with coins up to a dashed limit line, next to rising bar chart and a ruler: how to calculate position size

TRADING · RISK MANAGEMENT

How to Calculate Position Size in Trading: Stocks and Futures

Position size is the answer to one question: how many shares or contracts can I buy so that hitting my stop costs a fixed slice of my account? The formula is your dollar risk divided by the risk per share or contract. Here it is for stocks and futures, with tables, the mistakes that break it, and a calculator.

The formulaStock examplesFutures tick valuesPosition size calculator

THE SHORT ANSWER

Dollar risk ÷ risk per unit, rounded down

Position size = (Account × Risk %) ÷ (Entry − Stop) per share or contractRound down to a whole share or contract. For futures, the risk per contract is the stop in ticks × the tick value.

Start from the stop, not from how much you want to buy. The stop decides where the idea is wrong; the account decides how much being wrong may cost. The position size is whatever connects the two.

166⁠shares: $25,000 account, 1% risk ($250), buy at $40 with a stop at $38.50
4⁠MES contracts for the same $250 with a 12-point stop ($60 risk per contract)
0⁠ES contracts: one ES with that stop risks $600, more than the whole budget

STOCKS AND ETFS

How to calculate position size for stocks

  1. 1

    Dollar risk

    Account × risk per trade. $25,000 × 1% = $250.

  2. 2

    Risk per share

    Entry − stop. $40.00 − $38.50 = $1.50. For a short, stop − entry.

  3. 3

    Shares

    $250 ÷ $1.50 = 166.7, rounded down to 166 shares. Actual risk: 166 × $1.50 = $249.

  4. 4

    Check the position value

    166 × $40 = $6,640, 27% of the account. Fine for a cash account; with a tighter stop it may not be.

The table shows how the stop distance drives the share count at 1% risk. The price of the stock doesn't appear in the formula at all; it only matters for whether you can afford the position.

Account (1% risk)$0.50 stop$1 stop$2 stop$5 stop
$10,000 ($100)200 shares1005020
$25,000 ($250)500 shares25012550
$50,000 ($500)1,000 shares500250100

Look at the first column: 500 shares of a $50 stock is $25,000, the entire $25,000 account. Tight stops on expensive stocks produce positions the account can't hold without margin. That's the most common place the formula needs a cap (see when the formula says too much).

FUTURES

How to calculate position size for futures

Futures are sized in whole contracts, and each contract has a fixed dollar value per tick set by the exchange. Convert the stop into ticks, multiply by the tick value, and divide your dollar risk by that.

Contracts = Dollar risk ÷ (Stop in points ÷ Tick size × Tick value)Example: a 12-point MES stop is 48 ticks of 0.25; 48 × $1.25 = $60 per contract; $250 ÷ $60 = 4.2 → 4 contracts.
ContractTickExample stopRisk per contractContracts for $250
MES · Micro E-mini S&P 5000.25 = $1.2512 points$604
ES · E-mini S&P 5000.25 = $12.5012 points$6000
MNQ · Micro E-mini Nasdaq-1000.25 = $0.5040 points$803
NQ · E-mini Nasdaq-1000.25 = $5.0040 points$8000
MGC · Micro Gold0.10 = $1.00$5.00$505
MCL · Micro WTI Crude Oil0.01 = $1.00$0.50$505

Tick sizes and values from CME Group contract specifications. When the formula returns zero, the trade is too big for the account at that stop: use the micro contract or skip the trade, and don't tighten the stop just to make the size fit. Margin is a separate question; a broker letting you open a contract with $50 of day margin says nothing about how much you lose at the stop. Our guide to how much money you need to trade futures covers that side.

Forex and crypto work the same way. Forex uses pip value per lot instead of tick value: see how to calculate lot size in forex. Leveraged crypto futures add liquidation prices: see the crypto futures position size guide.

POSITION SIZE CALCULATOR

Shares or contracts for your next trade

POSITION SIZE CALCULATOR

Stocks, ETFs and futures

Pick the market, enter your account, risk per trade, entry and stop. Costs per share or contract are added to the risk, so the size already covers commissions and a little slippage.

Position size——
Actual risk at the stop——
Position value——

    Futures use CME contract multipliers and tick values; prices round the stop to whole ticks. Real fills can be worse than the stop. Margin requirements are set by your broker and aren't included. Results stay in your browser. Educational only, not investment advice.

    With the defaults the answer is 166 shares, $249 at risk, a $6,640 position. Switch the market to MES, enter 6,000 and 5,988 and it returns 4 contracts with $240 at risk.

    RISK PER TRADE

    How much of the account to risk per trade

    The risk percentage is a choice, not a rule from any regulator. It sets how fast a normal losing streak eats the account. Ten losses in a row happen to profitable traders too; this is what they cost at a fixed percentage of the current balance:

    Risk per tradeAfter 5 lossesAfter 10 lossesAfter 20 losses
    1%−4.9%−9.6%−18.2%
    2%−9.6%−18.3%−33.2%
    5%−22.6%−40.1%−64.2%

    A 40% drawdown needs a 67% gain to get back to even, so large per-trade risk is hard to recover from. Our risk of ruin calculator turns your win rate and ratio into the odds of a streak like that. Many traders size from the current balance, so positions shrink automatically during a drawdown and grow after new highs.

    LIMITS

    When the formula says buy too much

    ProblemWhat to do
    Position value is larger than the accountCap it. In a cash account you can only buy what you have. In a margin account the Federal Reserve's Regulation T sets initial margin for stocks at 50%, and brokers often require more.
    Very tight stopA 5-cent stop on a $100 stock makes a huge share count. Spreads and slippage are a big share of a tiny stop, so add costs to the risk per share or use a wider, honest stop.
    Gaps overnight or at the openA stop order becomes a market order when triggered, and the SEC's Investor.gov warns the fill may differ from the stop price in fast markets. Size swing trades knowing the loss can be larger than planned.
    Thinly traded stockKeep the position a small share of average daily volume, or you become the slippage.
    Correlated positionsFive tech stocks at 1% each behave like one 5% bet on a bad day. Count related positions together.

    EXCEL AND GOOGLE SHEETS

    Position size formulas for a spreadsheet

    A sizing sheet takes five cells. With account in B1, risk % in B2, entry in B3, stop in B4 and (for futures) tick size in B5 and tick value in B6:

    WhatFormula
    Dollar risk=B1*B2
    Shares (stocks)=ROUNDDOWN(B1*B2/ABS(B3-B4),0)
    Risk per contract (futures)=ABS(B3-B4)/B5*B6
    Contracts (futures)=ROUNDDOWN(B1*B2/(ABS(B3-B4)/B5*B6),0)
    Shares capped by cash=MIN(ROUNDDOWN(B1*B2/ABS(B3-B4),0),ROUNDDOWN(B1/B3,0))

    Enter the risk % as a percentage (1%) so B1*B2 returns dollars. Put this on the same sheet as your trade log and every trade starts with the right size.

    READY-MADE TEMPLATES

    Size the trade, then log it in the same file

    Our journals include a sizing calculator next to the trade log, in Excel and Google Sheets. Check each product page for the current feature list.

    Stock Trading Journal Template for Google Sheets & Excel
    EXCEL + GOOGLE SHEETS

    Stock Trading Journal Template for Google Sheets & Excel

    The listing describes a position calculator for risk-based sizing, entry, exit and reward targets, plus a trade log with auto-calculated profit and loss and R-multiple, and monthly and annual reports.

    • Risk-based position calculator
    • R-multiple per trade
    • Partial exits in up to 3 stages
    View the stock trading journal

    Trading futures? The futures trading journal has risk-per-trade and position-sizing calculators for contracts such as MES and MNQ. Product features and compatibility are listed on each product page and may change.

    FAQ

    Position size questions

    How do you calculate position size?

    Multiply your account by the percentage you're willing to risk, then divide by the risk per share or contract (entry minus stop). A $25,000 account risking 1% with a $1.50 stop can buy 166 shares.

    What is the 1% rule in trading?

    Risking no more than 1% of the account on any single trade, measured from entry to stop. It's a common guideline, not a regulation. At 1%, ten losses in a row cost about 9.6% of the account.

    How do you calculate position size for futures?

    Convert the stop to ticks, multiply by the contract's tick value, and divide your dollar risk by the result. A 12-point stop on MES is 48 ticks × $1.25 = $60, so $250 of risk allows 4 contracts.

    Does the stock price change the position size?

    Not the risk-based size: only the distance between entry and stop matters. The price decides whether you can afford the position, which is why the result sometimes needs a cap.

    Should position size include commissions?

    Yes, for short-term trades. Add the round-trip cost per share or contract to the stop distance, so the size still keeps the loss at your planned amount.

    Sources and method

    Method: size = floor(account × risk % ÷ risk per unit); futures risk per unit = stop ÷ tick size × tick value, with the stop rounded to whole ticks. Streak table: 1 − (1 − risk)ⁿ. Checked November 19, 2026. Educational content, not investment advice.

    Back to top