Trading Position Size Calculator

Calculate optimal position size for stocks, forex, crypto, and futures. Risk-based sizing with leverage, R:R ratio, and margin requirements.

Updated

Share:
Home/Calculator Tools/Trading Position Size Calculator

Trading Position Size Calculator

Calculate optimal position size across stocks, forex, crypto, and futures. Risk-based sizing with leverage, R:R ratio, margin requirements, and CSV export.

Trade Parameters

Typical: 0.5% - 2%

Applied to entry + exit

Position Sizing Result
STOCKS

Recommended Position Size
20units
Notional: $2,000.00
Margin Required
$2,000.00
20.0% of balance
Account Risk$100.00 (1.00%)

Conservative risk level.

Potential Loss
-$104.00
Potential Profit
+$300.00
R:R Ratio
1 : 3.00
Breakdown
Dollar Risk$100.00
Risk per Unit5
Estimated Fees (round-trip)$4.00
DirectionLong

Frequently Asked Questions

How much to risk per trade?

Most pros risk 0.5-2% per trade. Over 2% leads to rapid drawdowns — risking 5% and losing 10 in a row would cut the account by ~40%.

How is position size calculated?

Size = (Balance x Risk%) / (Entry - Stop). With a $10k account risking 1% ($100) and $5 per-share risk, you would buy 20 shares ($100/$5).

What is a good R:R?

Minimum 1:2 is recommended — target distance >= 2x stop distance. With 1:2 R:R you only need a 34% win rate to break even.

Is the Trading Position Size Calculator free to use?

Yes, the Trading Position Size Calculator is 100% free with no registration, no hidden fees, and no usage limits. All processing happens locally in your browser, ensuring complete privacy.

Is my data safe with this tool?

Absolutely. The Trading Position Size Calculator processes everything client-side in your browser. No data is uploaded to or stored on any server. Your content remains private on your device at all times.

Does the Trading Position Size Calculator work on mobile devices?

Yes, the Trading Position Size Calculator is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.

Do I need to create an account to use this tool?

No account or registration is needed. Simply open the Trading Position Size Calculator in your browser and start using it immediately. There are no sign-up walls or usage restrictions.

How accurate are the calculations?

The Trading Position Size Calculator uses industry-standard formulas and algorithms to ensure accurate results. However, for critical financial or medical decisions, always consult a qualified professional.

How do I use the Trading Position Size Calculator?

Simply enter your input in the provided field, adjust any settings to your preference, and the tool will process it instantly. You can then copy the result to your clipboard or download it.

Which browsers are supported?

The Trading Position Size Calculator works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.

Why does a tighter stop loss let me buy more shares for the same risk?

Because position size is driven by the distance between your entry and your stop, not by the share price. The formula is account balance times risk percent, divided by the risk per unit, where risk per unit is the gap between entry and stop. If your dollar risk is fixed at $100 and your stop sits $5 below entry, you can hold 20 shares; move the stop to just $2 below entry and the same $100 risk now buys 50 shares. The tighter stop does not make the trade safer overall, since a smaller move can hit it, but it does let you control more units while losing the same dollar amount if you are stopped out. Enter your entry and stop above to see exactly how the size changes as you adjust the distance.

How do I calculate forex lot size from account risk and pips?

For forex, sizing depends on three inputs: the dollar amount you are risking, the pip distance to your stop, and the pip value per standard lot. Divide your dollar risk by the per-lot value of your stop distance to get the number of lots. For example, risking $100 with a 20-pip stop and a $10 pip value per lot means each lot risks $200, so you would trade half a standard lot. The calculator handles this when you pick the Forex tab: it takes your pip value and leverage, then returns the result in standard lots along with the margin that position ties up. That keeps each trade the same fraction of your balance regardless of the pair. Switch to the Forex tab above, enter your pip value and stop, and read the lot size directly.

What is the difference between fixed-dollar and fixed-percentage position sizing?

Fixed-dollar sizing risks the same cash amount on every trade, say $100, no matter how your account changes. Fixed-percentage sizing risks a constant share of your balance, such as 1%, so the dollar amount grows as you win and shrinks as you lose. The percentage method is what most professionals use because it compounds gains and automatically cuts risk during a drawdown, protecting the account when you are cold. Risking a flat dollar figure, by contrast, can quietly become a huge percentage of a shrinking balance. This calculator uses the percentage approach: enter your balance and risk percent and it converts that to a live dollar risk, then to units. Set your risk percent above and the tool recalculates the dollar figure every time your balance changes.

How does leverage affect my position size and margin?

Leverage does not change how many units you should buy to control risk, but it changes how much cash is locked up to hold them. Your position size still comes from your dollar risk and stop distance; leverage only reduces the margin required, which is the notional value divided by the leverage. A $10,000 notional position at 10x leverage ties up $1,000 in margin instead of the full amount, freeing capital but magnifying liquidation risk if price moves against you. Higher leverage means a smaller adverse move can wipe out your margin, which is why the tool warns when leverage passes 100x. For crypto and futures the calculator shows both the position size and the margin so you can see the real capital commitment. Enter your leverage above to watch the required margin update instantly.

How does the calculator know whether my trade is long or short?

It infers direction automatically from the relationship between your entry and stop-loss prices. If your entry sits above your stop, the trade is treated as long: you profit when price rises and the stop below protects the downside. If your entry sits below the stop, it is read as short, so you gain when price falls and the stop above caps the loss. This means you never pick a direction manually; you just enter the two prices and the tool figures out the rest, then sizes the position from the absolute distance between them. If you add a take-profit price, it also computes the risk-to-reward ratio in the correct direction. Type your entry and stop above, and the calculator labels the trade and sizes it for you.

Embed This Tool

Add a free, live version of this widget to your own website or blog post — it runs entirely in your visitors' browsers, with a credit link back to The Toolbox.

Copy & paste this HTML
<iframe src="https://getthetoolbox.com/embed/position-size" title="Trading Position Size Calculator — The Toolbox" width="100%" height="320" style="max-width:480px;border:1px solid #e2e8f0;border-radius:12px" loading="lazy"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://getthetoolbox.com/calculator-tools/position-size?utm_source=embed&utm_medium=widget" target="_blank" rel="noopener">Free Trading Position Size Calculator</a> by The Toolbox</p>

About the Trading Position Size Calculator

The Trading Position Size Calculator works out how large a trade you can take while keeping the loss on a single position to a fixed, pre-decided amount. Enter your account balance, the percentage you are willing to risk, your entry price, and your stop loss, and the tool returns the exact number of shares, lots, or contracts to buy — plus the notional value, the margin required, and what the trade stands to win or lose. It is built for active stock, forex, crypto, and futures traders who want sizing driven by risk rather than gut feel.

Everything is calculated in your browser. Your balance, prices, and trade ideas are never sent to a server, so there is no account to create and nothing about your positions leaves your device. The tool is completely free with no usage limits.

The formula behind the position size

Position sizing answers a single question: given a hard dollar loss limit, how many units can you hold? The core formula is:

  • Position size = (Account balance × Risk %) ÷ Risk per unit, where risk per unit is the absolute distance between your entry and stop-loss prices.

For example, a $10,000 account risking 1% sets a dollar risk of $100. With an entry of $100 and a stop of $95, the risk per share is $5, so the calculator returns 20 shares ($100 ÷ $5). Because the stop distance — not the share price — drives the math, a tighter stop lets you hold more units for the same dollar risk. The tool also infers direction: an entry above the stop is long, an entry below it is short.

Sizing across four asset classes

The calculator adapts its inputs to the instrument you trade, chosen with the Stocks, Forex, Crypto, and Futures tabs:

  • Stocks — a share count at 1× leverage, with notional equal to units times entry price.
  • Forex — adds pip value (dollars per pip per lot) and leverage, returning a result in standard lots.
  • Crypto — applies isolated leverage so you can see how much margin a leveraged position ties up.
  • Futures — uses a contract multiplier (for example 50 for an index future) plus leverage to size in contract terms.

For every asset class you also get the margin required (notional ÷ leverage) and an estimate of round-trip commissions, entered as a percentage or a flat fee and applied to both entry and exit.

Reading the risk and reward output

Alongside the position size, the tool surfaces the metrics that decide whether a trade is worth taking. Add an optional take-profit price and it calculates the risk-to-reward (R:R) ratio, the potential profit, and the potential loss (dollar risk plus estimated fees). A 1:2 R:R — target distance at least twice the stop distance — is a common minimum; at that ratio you only need to win about 34% of trades to break even.

A built-in risk meter flags how much of your balance a single trade puts at stake: under 2% reads as conservative, 2–5% as moderate, higher as a warning to trim size. The tool also alerts you when an un-leveraged notional exceeds your balance or when leverage passes 100×, where liquidation risk becomes severe. Most professionals keep per-trade risk between 0.5% and 2%, since risking 5% and hitting a 10-trade losing streak would erase roughly 40% of an account.

Saving and sharing your numbers

Once a result looks right you can load a worked sample for any asset class, copy the full breakdown to your clipboard, or export a CSV with every field — dollar risk, position size, notional, margin, R:R, and fees — for your trading journal. Used before each entry, it keeps every position the same controlled fraction of your account, the foundation of surviving long enough to let an edge play out.