Minimalist Trading
  1. Home
  2. Learn
  3. How to calculate position size (stocks, forex and futures)

How to calculate position size (stocks, forex and futures)

Position size turns a risk rule into a number of shares, contracts or lots. Here is the formula, three worked examples and the mistakes that cause oversized trades.

  • 5 min read
  • By a.b
  • Updated November 2026

The formula

position size = (account balance × risk %) ÷ (entry price − stop price)Use the absolute distance between entry and stop. For futures, multiply the distance by the dollar value of one point per contract.

The idea is simple. First decide how many dollars you are willing to lose on the trade. Then divide that by how much you lose per share (or contract, or unit) if the stop is hit. The result is the largest position that keeps your loss within your limit.

Example 1: a stock

Account of $10,000, risking 1%, buying at $50 with a stop at $48. The risk amount is $100 and each share risks $2, so the size is 100 ÷ 2 = 50 shares (a $2,500 position).

Example 2: forex

Account of $10,000, risking 1%, buying EUR/USD at 1.0850 with a stop at 1.0820 (30 pips). The risk amount is $100. Each pip on a standard lot is $10, so 30 pips costs $300 per lot. The size is 100 ÷ 300 = 0.33 lots. Use the pip value calculator if your pair is not quoted in your account currency.

Example 3: a futures contract

Account of $25,000, risking 1% ($250). You buy E-mini S&P 500 futures with a stop 5 points away. Each point is worth $50 per contract, so a stop costs $250 per contract and the size is 250 ÷ 250 = 1 contract.

Why a wider stop gives a smaller position

The dollar risk stays the same, so a wider stop must be offset by fewer shares. With a $5 stop on the same stock as example 1, the size drops to 20 shares. Place your stop where the trade idea is wrong, then size from it. Never choose the size first and move the stop to fit.

Common mistakes

  • Sizing by dollars instead of risk. "I always buy 100 shares" ignores how far away the stop is.
  • Forgetting fees and slippage. Add them to the risk per unit. The position size calculator has a fees field.
  • Ignoring gaps. Stops can fill worse than planned in fast markets or overnight, so keep your risk modest.
  • Stacking correlated trades. Three trades in the same sector are closer to one big trade.

Do it in seconds

The position size calculator does this for stocks, crypto, futures and forex, shows leverage and reward-to-risk, and lists the size at other risk levels. If you are unsure what percentage to use, read how much to risk per trade.

Pre-set for the market you trade

Pip, point and tick values differ by instrument. These calculators start from each one's contract, with worked examples:

See all instrument calculators →

Quick questions

How do I calculate forex position size?

Divide the amount you are willing to risk by the cost of your stop per lot. With a $10,000 account risking 1% ($100) and a 30 pip stop on EUR/USD at $10 per pip per standard lot, the stop costs $300 per lot, so the size is 100 ÷ 300 = 0.33 lots.

Is forex position size the same as lot size?

Yes. In forex the position size is usually quoted in lots: 1.00 is a standard lot of 100,000 units, 0.10 a mini lot and 0.01 a micro lot. The formula is the same as for shares; only the unit and the pip value differ.

What do I need to calculate position size?

Three things: your account balance, the percentage you will risk, and the distance from entry to stop-loss. Everything else follows from those.

Share it or follow along

If this helped, share it with someone who trades. We post new worked risk examples on LinkedIn every week: follow the Minimalist Trading Page to get the next one.

Keep reading

How much should you risk per trade?Most professional traders risk between 0.25% and 2% of their account on a single trade. Here is…What is a pip and how do you calculate pip value?A pip is the standard small step in a forex price. Its money value depends on your position size,…What is a good risk to reward ratio?There is no single good ratio. A ratio is only good in combination with your win rate. This guide…What is a lot in forex?A lot is the size of a forex trade. One standard lot is 100,000 units of the base currency, and the…Tick value and contract size for ES, NQ, MES and MNQIn futures, a tick is the smallest price move and each contract has a fixed dollar value per tick.…What is leverage, and how does margin work?Leverage lets you control a position larger than the money you put up. The money held back for it…Gold lot size and pip value (XAUUSD)Sources give two pip values for gold, $10 and $1 per lot. Both can be right. They name different…Vertical spread payoff and breakevenA vertical spread buys one option and sells another of the same type and expiry at a different…Lot size for index CFDs (US30, NAS100, GER40)For an index CFD the lot size is your risk in money divided by the stop in points times the value…Position size when the account currency is not USDPosition size formulas and most calculators assume a USD account. If yours is in euros, pounds or…ATR stop loss and position sizeA fixed 20-pip stop is tight on a quiet day and noise on a busy one. The average true range (ATR)…Crypto position size and liquidation priceIn crypto futures, leverage does not change how much you risk when you size from the stop. It…Forex swap (rollover): how the overnight cost is calculatedHold a forex position past the daily rollover time and your broker credits or charges a swap. It…Stock position size: how many shares to buyShares to buy = money at risk divided by the risk per share. The stop decides the size, not the…Pip value on cross pairs: EUR/GBP, EUR/CHF, AUD/CADA cross pair has no dollar in it, so the pip value comes in the quote currency and needs one…Futures position size: how many ES, NQ, MES or MNQ contractsFutures contracts come in fixed sizes, so position size is a whole number: money at risk divided by…
a.b

Written by a.b. I joined TradingView in December 2015 and publish indicators there. These guides are for education only. Message me on TradingView chat with questions or topics you want covered.

Last updated November 2026. For education only. Not financial advice.

Related: what a lot is in forex, what an R-multiple is and futures tick values for the contract sizes used in the examples above.