Get the App

Home / Tools / Trading Position Size Calculator

Trading Position Size Calculator

A trading position size calculator turns an account size, a risk percent, and a stop into a position size. Use it for crypto or stocks in units. It rounds size down so a stop-out stays inside the amount you chose to risk.

Crypto position size calculator

Runs in your browser. Nothing you enter is sent or stored.

Turn on JavaScript to calculate. The worked examples below use made-up numbers.

Educational tool, not financial advice. Results are arithmetic on the numbers you enter.

How it works

Risk amount = account x risk percent / 100. For units, stop distance is the absolute gap between entry and stop, and the fee per unit is the percent on the entry plus the percent on the stop. Units = risk amount / (stop distance + fee per unit). Position value = units x entry.

Units = (account x risk%) / (|entry - stop| + entry x fee% + stop x fee%).

Worked example

Example, made-up numbers.

Crypto, no fees

Account $5,000, risk 1%, long, entry 100, stop 92, target 116, no fees.

StepCalculationResult
Risk amount5,000 x 1%$50.00
Stop distance100 - 92$8.00
Units50 / 86.25
Position value6.25 x 100$625.00
Share of account625 / 5,00012.50%
Reward and ratio(116 - 100) x 6.25 = 100.00; 100 / 502.0 to 1

Same trade with 0.75% per side: fee per unit = 0.75 + 0.69 = 1.44, risk per unit 9.44, units 5.2966, value $529.66.

Edge cases and limits

Frequently asked questions

What is position sizing and why does it matter?

Position sizing sets the trade so a stop-out loses a chosen amount of the account, not whatever the price move happens to take.

How much of my account should I risk per trade?

That is a personal choice. The arithmetic of a losing streak is plain: ten straight losses at 1% leave about 90.4% of the account, because 0.99 to the 10th is 0.9044. At 5%, the same streak leaves 59.9%, because 0.95 to the 10th is 0.5987. This is not advice and it is not a claim about a typical number.

Why does the calculator round down?

Rounding up would spend more than the risk amount you entered. Size is rounded down so the stop stays inside that amount.

Does this include leverage or margin?

No. It sizes by the loss at your stop, not by buying power. This calculator does not model leverage or margin.

Related tools

Check the ratio on the risk reward calculator and the dollar cost on the trading fee calculator. The wider frame is risk management for trading.

Try it with a Moby Agent

If you automate trades, limits do the same job. You set your agent's per-trade and daily spending limits and market-cap range; Moby blocks red-rated tokens. This page does not claim that a Moby Agent sizes positions with this method.

Moby Agents · Agentic trading