Finance & Investment Tools

Position Size Calculator

Calculate how many shares, contracts or forex lots to trade from your account size, the percentage you risk and your stop-loss distance.

  • Position size
  • Risk amount
  • R:R
  • Lots
Runs in your browser

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics.

Position size workspace

1 Your account and risk

Try it:
What are you trading?

The most you are prepared to lose if the stop-loss is hit.

2 The trade plan

Below the entry for a long (buy), above it for a short (sell).

The smallest size you can trade. The size is rounded down to it.

Leverage and margin (optional)

Leverage does not change the size or the risk here; it changes only the margin your broker holds.

3 Your position size

Enter your account size, risk, entry and stop-loss to see how much to buy or sell.

What the Position Size Calculator does

This position size calculator tells you how many shares, forex lots, crypto coins or futures contracts to trade so that hitting your stop-loss costs no more than the amount you chose to risk. Enter your account size, risk per trade, entry and stop; it works for any market and currency and rounds down.

The method is fixed-fractional sizing: decide the money you can lose on one trade first, then let the distance to your stop-loss set the size. A wide stop means a small position and a tight stop a larger one, but the loss at the stop stays the same. Everything is worked out in your browser from the prices you type; the page has no live quotes and sends nothing anywhere.

How to use it

  1. Choose what you are trading: a stock or ETF, a forex pair, a crypto coin or a futures contract.
  2. Enter your account size and how much you are prepared to lose on this trade, either as a percentage of the account or as a fixed amount.
  3. Enter the entry price and the stop-loss price. A stop below the entry is a long (buy) trade; a stop above it is a short (sell). Add a target price if you want the reward and risk-reward ratio.
  4. For forex, type the pair (for example EUR/USD or USD/JPY) and, if your account currency is neither currency in the pair, the rate that converts the quote currency into it. For futures, enter the point value from the contract specification.
  5. Read the size at the top, check the actual risk after rounding, and use the table to see how the size changes at other risk levels.

Reading the results

The headline size is rounded down to the smallest step you can trade, so the actual risk is equal to or slightly below your budget - never above it. If even one step risks too much, the calculator shows zero and tells you why: the stop is too wide for the risk you chose.

Position value is how much the position is worth at the entry price. It can be larger than the account when you use margin or leverage; that does not change the loss at the stop, but it does mean a small adverse move is a large share of your account, and a gap past the stop costs more.

The risk-reward ratio compares the distance to the target with the distance to the stop. A ratio of 1 : 3 means the target is three times as far away as the stop. It says nothing about how likely either price is to be reached.

Worked example: a 25,000 account risking 1% on a stock

The risk budget is 1% of 25,000 = 250. You plan to buy at 50.00 with a stop-loss at 47.50, so each share loses 2.50 if the stop is hit. The size is 250 / 2.50 = 100 shares, worth 5,000 at the entry.

With a target of 57.50 each share would gain 7.50, so the reward is 100 x 7.50 = 750 and the risk-reward ratio is 7.50 / 2.50 = 1 : 3.

If the stop were 47.40 instead, the loss per share would be 2.60 and 250 / 2.60 = 96.15 shares. The calculator rounds down to 96 shares, which risks 249.60 - just under the budget.

Forex version: a 10,000 USD account risking 1% (100) on EUR/USD, entry 1.0850, stop 1.0820. That is 30 pips, and a pip on a 100,000-unit standard lot is 0.0001 x 100,000 = 10 USD, so one lot risks 300. The size is 100 / 300 = 0.333 lots, rounded down to 0.33 lots, risking 99.00.

Formulas and scoring rules

Risk budget
risk = account size x risk % / 100 (or the fixed amount you enter)
Risk per unit
risk per unit = |entry - stop| x money per 1.0 price move per unit1 for shares and coins priced in your account currency; the point value for futures; units per lot x quote-to-account rate for forex.
Position size
size = floor(risk / risk per unit / step) x stepAlways rounded down to the step so the actual risk cannot exceed the budget.
Forex pip value per lot
pip value = pip size x units per lot x quote-to-account ratePip size is 0.0001, or 0.01 when the quote currency is the Japanese yen. If the account currency is the base currency the rate is 1 / pair price.
Risk-reward ratio and margin
R:R = |target - entry| / |entry - stop|; margin = position value / leverage

Stocks, forex, crypto and futures - what changes

For shares and coins priced in your account currency a 1.00 move in price is worth 1.00 per share or coin, so the size is simply the risk divided by the stop distance. Coins can be bought in fractions, so the default step is 0.0001 rather than one whole unit; set the step your exchange actually allows.

Forex is traded in lots: a standard lot is 100,000 units of the base currency, a mini lot 10,000 and a micro lot 1,000. The money value of a pip depends on the quote currency, so a USD/JPY trade in a dollar account is converted at the pair price, and a cross such as EUR/GBP needs the GBP rate into your account currency. Futures contracts each have a fixed point value set by the exchange, which you enter from the contract specification.

Why the stop-loss is not a guarantee

A stop-loss order becomes a market order once the stop price is reached, and the US Securities and Exchange Commission's investor guide notes that the price you get can differ from the stop price in a fast market. Overnight gaps, news and thin liquidity can take a price straight through a stop, so the risk shown here is the planned loss, not the most you can lose.

With leveraged products - forex, futures, crypto derivatives - losses can exceed the margin you put up. The US Commodity Futures Trading Commission warns that leveraged forex and virtual currency trading carries a substantial risk of loss.

Limitations: what the result does not prove

  • It sizes one trade from the prices you type; it has no live quotes and cannot know the price your order will actually fill at.
  • Commissions, spreads, swap or funding charges and slippage are not included, so the real loss at the stop is usually a little larger than shown.
  • For forex crosses the conversion rate moves while the trade is open, so the money value of a pip drifts slightly from the figure used here.
  • It is arithmetic, not a recommendation: it does not say whether to trade, where to put a stop, or what percentage to risk.

Privacy: where your data goes

Everything you paste, type or drop is processed in this browser tab. It is not uploaded, logged, stored or sent to analytics. Session recording and tag-manager scripts are switched off on this page.

Standards and sources

Frequently asked questions

How do I calculate position size for a trade?

Divide the money you are willing to lose by the loss per unit at your stop-loss. Risking 250 with a 2.50 stop distance on a stock gives 250 / 2.50 = 100 shares; for forex, divide by the stop in pips times the pip value per lot.

How much of my account should I risk per trade?

That is your decision, and this page does not set it for you. Many trading textbooks use 1% or 2% of the account as an example of fixed-fractional sizing because it keeps a run of losses survivable; the table shows the size at several levels so you can compare.

What lot size should I use with a $1,000 forex account?

It depends on your risk and stop, not on the account alone. Risking 1% (10 USD) with a 20-pip stop on EUR/USD, where a standard lot is worth 10 USD a pip, gives 10 / (20 x 10) = 0.05 lots, which is five micro lots.

What is a good risk-reward ratio?

There is no universally good ratio, because it only matters together with how often trades reach the target. A 1 : 2 ratio breaks even before costs if one trade in three wins; the calculator shows the ratio but not the probability.

Why does a wider stop-loss mean a smaller position?

Because the loss at the stop is size times stop distance, and the loss is held fixed. Doubling the distance to the stop halves the size, so the money lost if the stop is hit stays the same.

Does leverage change my position size?

No - leverage changes the margin your broker holds, not the loss at your stop. With 30:1 leverage a 0.33-lot EUR/USD position still loses about 99 USD at a 30-pip stop; leverage only lets you open it with less money set aside.

How do I size a position on a JPY pair?

Use a pip size of 0.01 and convert the yen pip value into your account currency. In a USD account at USD/JPY 150, a standard-lot pip is 1,000 JPY / 150 = 6.67 USD, so a 50-pip stop risks about 333 USD per lot.

Last reviewed by the A2Z.Tools team against the sources listed above.

Rate this tool

Was this tool useful? Your feedback helps us improve it.

No ratings yet — be the first to rate this tool.
Your rating (required)
0 / 2000

Please do not include passwords, payment details or other sensitive information.

Your feedback is sent privately to the A2Z.Tools team and will not be posted publicly.

Advertisement