Position Size Calculator
Forex · Stocks · Crypto — size every trade from your risk, not from hope

Position Size Calculator for Forex, Stocks and Crypto

Type your account balance, the risk you accept on this trade and your stop distance. It returns the units you can hold, the same size in lots, and the money you actually stand to lose — after the spread, the commission and your broker's minimum increment.

What this page does not do: it fetches no market data. Every price in the result is the price you typed, so the numbers stay reproducible when you check them by hand.

At a glance

balance 10,000.00 × 1% 100.00 − commission 93.00 ÷ 0.0021 stop 44,285 u rounded down 0.44 lots every result is rounded down to the broker step
One worked set of inputs through the four steps: a 10,000.00 account risking 1%, a 20-pip stop widened to 21 by a 1-pip spread, and 7.00 of commission taken out of the budget first. Change any field and the last box moves.
Account
Risk per trade
Trade
Costs & increments
Position size
— units
— standard lots
Risk budget—
Max loss incl. costs—
Stop distance—
Position value—
Exposure—
Margin required—
Risk : reward—
Size without costs—
Same size in standard / mini / micro—

Supported markets

This page works as a forex position size calculator, a stock position size calculator and a crypto position size calculator at the same time. One set of inputs covers every market, because the underlying question is always the same: how many units can I hold so that a stop-out costs me exactly what I decided to risk?

Contract specification defaults are editable. Brokers differ, so the Unit step and Contract size fields stay under your control rather than being guessed for you.

When the pair and the stop distance in pips are all you have, the forex lot size calculator that works from a stop distance in pips takes those two directly, and reports which increment — the unit step or the lot step — decided the final size.

Whether you call it a position sizing calculator or a risk management calculator, it is this one panel: how much you can hold, given the money you are willing to lose and the distance to your stop.

How position size is calculated

Every result on this page comes from four inputs: risk budget, stop distance, spread and commission.

  1. Risk budget = account balance × risk %, or the fixed amount you type in.
  2. Effective stop distance = |entry − stop price| + spread. The spread is what you actually lose at entry, so it belongs inside the stop distance, not next to it.
  3. Units = (risk budget − commission) ÷ (effective stop distance × quote→account rate). Commission is paid before it can be risked, so it is subtracted from the budget.
  4. Tradable size = units rounded down to your broker's unit step. Rounding never increases risk.

Position value = units × entry price × quote→account rate. Margin required = position value ÷ leverage. Exposure = position value ÷ account balance.

What the move itself costs is a separate question from the size, and the pip calculator that shows what one pip is worth at each lot size answers it per pip, per 1-pip spread and per 20-pip move, in your own account currency.

Rounding, spread and commission

Most calculators stop at the raw formula and print a number that no broker will accept. This one shows both numbers side by side: Size without costs is the raw formula result, and the main Position size is what you can actually place after the spread, the commission and your broker's minimum increment are applied.

Max loss incl. costs recomputes the worst case from the rounded size, so you can see that it still fits inside your risk budget instead of assuming it does.

Profit targets are optional. When you enter a take-profit price, the Risk : reward figure compares the distance to your target against the distance to your stop, including the spread.

Once the trade is closed, the same two costs come off the other side of it: the forex profit calculator that shows the net figure after spread and commission takes your entry and exit prices and prints the gross, the pip difference and what you actually keep.

What each result means

Position size
The size you can actually place: the raw result rounded down to your broker's unit step. Rounding down is why it never exceeds the risk you set.
Same size in standard / mini / micro
One size written three ways — 100,000 units to a standard lot, 10,000 to a mini lot, 1,000 to a micro lot. Useful when your broker only accepts one denomination.
Risk budget
Account balance × risk %, or the fixed amount you typed. This is the ceiling, not the loss.
Max loss incl. costs
The worst case recomputed from the rounded size, with the spread and the commission counted. If this is below your risk budget, the size fits.
Stop distance
|entry − stop|, in pips for forex and metals, in price for stocks and indices. The effective distance used in the maths adds the spread on top.
Position value
Units × entry price, converted into your account currency at the quote→account rate you set.
Exposure
Position value ÷ account balance — how much of the account one trade occupies, which is not the same as how much it risks.
Margin required
Position value ÷ leverage. Filled in only when you enter a leverage figure; it does not change the amount you risk.
Risk : reward
Distance to your take-profit ÷ distance to your stop, both measured with the spread included. Filled in only when you enter a target.
Size without costs
The raw formula result, before spread, commission and rounding. Shown next to the real size so the difference is visible instead of hidden.

Who, how and why

Who. This page is published by Position Size Tool. The method is written out in full above, and the instrument defaults behind it — contract size, pip size and unit step — are published as an open reference dataset you can check. More about the project is on the about page. If a number here looks wrong, or you want a symbol added to the dataset, the contact page is the fastest way to reach us, and what this site stores about you (nothing beyond a page view) is written out in the privacy policy.

How. Every number is computed in your browser from the four inputs shown on this page: risk budget, stop distance, spread and commission. There is no price feed, no model and no estimate — the page fetches nothing, and the calculation is the formula printed in How position size is calculated, rounded down to the unit step.

Why. Sizing pages usually stop at the raw formula and print a number a broker will not accept. This one exists to show the size you can place: spread inside the stop distance, commission out of the budget, increment applied, and the resulting worst case recomputed so you can see it still fits.

Guides

Forty longer write-ups cover the method behind this page, each with a worked example you can check by hand.

Picking a risk percentage is one way to answer how much. The other starts from your own results: the kelly criterion calculator that turns a win rate and a payoff ratio into a share of your balance returns full Kelly, half Kelly and quarter Kelly side by side, with the break-even win rate beside them.

The instrument defaults and the streak and drawdown tables behind these guides are also published as an open reference dataset — four CSV files under CC0, each with the formula that generates it.

FAQ

Is this a forex position size calculator?

Yes. Default is EUR/USD with a standard lot of 100,000 units. Pick any other pair from the instrument list or switch to Custom for a non-standard contract.

Can I use it as a stock position size calculator?

Switch to Stocks, enter the ticker price and stop price. Unit step defaults to one full share, which matches how share orders are placed.

Does it work as a crypto position size calculator?

Yes. Switch to Crypto, pick a USDT pair, and enter entry, stop and optional leverage. Leverage changes the margin you post, not the amount you risk.

Why is the result smaller than on other calculators?

Because the spread and the commission are inside the risk budget here. Other tools often ignore both and give you a size whose real loss exceeds what you planned.

Do I need an account to use it?

No. There is no sign-up, no login and nothing is uploaded. Every calculation runs in your browser.

How is position size calculated?

Units equal the risk budget minus commission, divided by the effective stop distance and the quote-to-account rate. The effective stop distance is the entry-to-stop distance plus the spread. The result is then rounded down to your broker's unit step.

How much size does a one-pip spread and a 7.00 commission actually cost?

Twelve percent of it, on the worked example above. The raw formula on a 10,000.00 account risking 1% with a 20-pip stop gives 100.00 ÷ 0.0020 = 50,000 units, or 0.50 lots. Put the spread inside the stop and the distance becomes 21 pips; take the commission out of the budget first and 93.00 is what is left to risk. 93.00 ÷ 0.0021 = 44,285 units, which rounds down to 0.44 lots. Same account, same declared risk, six mini lots less to trade.

Why does a 0.01-lot step leave nothing to trade on the JPY pairs?

Because one step is larger than the size the budget allows. Seven pairs in the reference table — USD/JPY, EUR/JPY, GBP/JPY, AUD/JPY, CAD/JPY, CHF/JPY and NZD/JPY — quote in JPY with a pip of 0.01 and a step of 1,000 units, which is 0.01 of a 100,000-unit lot. With 100.00 of risk in the quote currency and a 20-pip stop, the budget allows 100.00 ÷ (20 × 0.01) = 500 units, and 500 floors to nothing against a 1,000-unit step. One whole step needs 1,000 × 20 × 0.01 = 200.00 of risk in the quote currency. The same 100.00 against a 0.0001 pip — the other 60 forex pairs — allows 50,000 units, or half a lot.