dash–calculator

04 Numbers and Counting

Position Size Calculator: How to Size Trades

Readout 04-0688 · Updated · Standard formula, shown below

Position size 50.00 units
Dollar risk
100.00 $
Result, rounded to 2 decimal places
Account balance
10000 $
Input
Risk per trade
1 %
Input
You enter
Account balance ($), Risk per trade (%), Entry price ($), Stop-loss price ($)
You get
Position size (units), Dollar risk ($)
Rounding
2 dp

A position size calculator works out how many units of an asset you can buy or sell so that a stop-loss at a chosen price loses no more than a fixed percentage of your account. You enter account balance, risk percentage, entry price, and stop-loss price; the calculator returns the position size in units and the dollar amount at risk. This page explains the formula, how to use it, and the common mistakes that ruin otherwise sound risk plans.

Formula

The core formula is:

Position size (units) = (Account balance × Risk %) / |Entry price − Stop-loss price|

Where:

  • Account balance – total trading capital in dollars (or your base currency).
  • Risk % – the fraction of that balance you are willing to lose if the stop is hit. Typical values are 0.5% to 2%.
  • Entry price – the price at which you plan to buy or sell.
  • Stop-loss price – the price at which you will exit to cap the loss.
  • |Entry − Stop| – the per-unit risk, i.e., how much you lose per share or per contract if stopped out.

The dollar risk is simply Account balance × (Risk % / 100). The position size then divides that dollar risk by the per-unit risk.

Worked Example

Using the calculator defaults:

  • Account balance = $10,000
  • Risk per trade = 1%
  • Entry price = $50
  • Stop-loss price = $48

Step 1: Dollar risk = $10,000 × (1/100) = $100.

Step 2: Per-unit risk = |50 − 48| = $2 per share.

Step 3: Position size = $100 / $2 = 50 shares.

The calculator shows 50.00 units and a dollar risk of $100.00. If the stop is hit, you lose exactly $100, which is 1% of your account.

Why Position Sizing Matters

Position sizing is the single most effective tool for surviving losing streaks. Without it, a trader who risks 10% per trade can lose 50% of their account after just seven consecutive losses (0.9^7 ≈ 0.478). With 1% risk, the same streak leaves 93% of the account intact. The math is simple but powerful: the smaller the risk per trade, the more losing trades you can absorb before your account is meaningfully impaired.

Many new traders focus on win rate or finding the perfect entry, but position sizing is what keeps you in the game long enough to benefit from any edge you have. A 60% win rate with a 1:2 reward-to-risk ratio still loses money if you risk 20% per trade and hit a bad streak. Position sizing converts a trading strategy into a survivable financial plan.

How to Choose Your Risk Percentage

The risk percentage is a personal decision, but here are practical guidelines:

  • 0.5%–1% – conservative; suitable for new traders, small accounts, or when testing a new strategy.
  • 1%–2% – common for experienced traders with a tested edge.
  • 2%–5% – aggressive; only viable with a high win rate and a robust strategy, and even then it risks deep drawdowns.

Consider your maximum acceptable drawdown. If you cannot tolerate a 20% account drop, then even 2% risk per trade could hit that after 11 consecutive losses. A common rule is to risk no more than 1% per trade until you have a track record of consistent profitability.

Common Mistakes and Misconceptions

Confusing position size with dollar risk. Some traders think “I’ll risk $500” and then buy $500 worth of stock. That is not position sizing – it ignores the stop distance. If the stop is $2 away, a $500 position loses only $20, which is far less than intended, but if the stop is $20 away, the same $500 loses $200. The calculator separates the two correctly.

Using a percentage of the entry price instead of the stop distance. A 2% stop on a $50 stock is $1, but the per-unit risk is $1, not $1. The formula uses the absolute difference between entry and stop, not a percentage move.

Forgetting to include commissions and slippage. The calculator assumes your stop is filled exactly at the stop price. In reality, gaps and slippage can make the loss larger. A common fix is to add a buffer to the stop price (e.g., set the stop 0.5% below your true exit) or to reduce the risk percentage slightly to account for costs.

Ignoring the base currency. If your account is in USD but you trade a stock quoted in EUR, the per-unit risk is in EUR. You must convert either the dollar risk or the per-unit risk to the same currency. The calculator here assumes a single currency; adjust accordingly.

Position Sizing for Different Asset Classes

The formula works for stocks, ETFs, forex, and futures, but the “unit” changes:

  • Stocks/ETFs: units = shares. The per-unit risk is the price difference in dollars per share.
  • Forex: units = lots. A standard lot is 100,000 units of base currency. The per-unit risk is the pip value per lot, which depends on the currency pair and lot size. Most forex platforms have a pip value calculator.
  • Futures: units = contracts. The per-unit risk is the tick value times the number of ticks between entry and stop. For example, the E-mini S&P 500 has a tick value of $12.50 per tick; a 10-tick stop is $125 per contract.
  • Options: units = contracts (each contract = 100 shares). The per-unit risk is the premium difference per share, but options have non-linear risk. The calculator works for simple long calls/puts, but for spreads you must use the net risk of the spread.

For any asset, the key is to express the stop distance in the same units as the position size. If you trade a CFD that is quoted in points, use the point value per unit.

Limitations and When Not to Use It

The calculator assumes a fixed stop-loss and a linear relationship between price movement and loss. It does not account for:

  • Gaps and slippage – your stop may fill at a worse price.
  • Correlated positions – if you have multiple trades that move together, your total risk is higher than the sum of individual risks. The calculator treats each trade in isolation.
  • Volatility-based sizing – some traders prefer to size based on average true range (ATR) rather than a fixed stop. The calculator works with any stop, but the stop itself should be placed based on technical levels, not just a random percentage.

Also, the formula assumes you can buy fractional units. For stocks, you may need to round down to the nearest whole share. For futures and options, contracts are whole units. Always round down, never up, to stay within your risk limit.

Frequently Asked Questions

What is a good risk percentage for a small account? For accounts under $5,000, many traders use 0.5% to 1% because the dollar amount is already small. A 1% risk on a $1,000 account is $10, which may be below the minimum commission on some platforms. In that case, you might need to either accept a slightly higher risk or use a broker with low commissions.

How do I calculate position size for a short sale? The formula is identical. The entry price is your short sale price, and the stop-loss is the price at which you would buy to cover. The absolute difference is still the per-unit risk. For example, shorting at $50 with a stop at $52 gives a per-unit risk of $2.

Does the calculator work for crypto? Yes, as long as you use the same currency for the account and the asset price. For example, if you trade BTC/USD and your account is in USD, enter the entry and stop in USD. The result is the number of BTC (or fraction) to trade.

What if my stop is above the entry (for a short) or below (for a long)? The absolute value in the formula handles both directions. A long has entry > stop; a short has entry < stop. The calculator uses abs(entry - stop), so it works either way.

Should I include commissions in the risk calculation? Yes, ideally. If your round-trip commission is $10 and your dollar risk is $100, your actual loss at the stop is $110. To keep the loss at $100, reduce the position size by the commission amount. A simple method is to subtract the commission from the dollar risk before dividing by the per-unit risk.

Why does the calculator show a fractional share? The calculator outputs a decimal because it is a general tool. For stocks that trade in whole shares, round down to the nearest whole share. For fractional-share brokers, you can use the decimal as-is.

Related

Formula used
in bal | Account balance | $ | 10000 | 0 | 10000000
in risk | Risk per trade | % | 1 | 0.01 | 100
in entry | Entry price | $ | 50 | 0.000001 | 1000000
in stop | Stop-loss price | $ | 48 | 0.000001 | 1000000
out units | Position size | units | bal * (risk/100) / abs(entry - stop) | 2
out risk_amt | Dollar risk | $ | bal * (risk/100) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More on this panel

The whole Numbers and Counting panel →