MADLYTICS

Position Size Calculator

Size any trade - stocks, forex, or crypto - before you enter it.

Calculate, then journal it free

Free to calculate. No account required for the tool.

Free position size calculator for stocks, forex, and crypto

Choose a market, enter account balance, risk percentage, entry price, and stop loss. Madlytics estimates the trade size, planned dollar risk, position value, and risk/reward ratio when you add a take-profit price.

Short answer: position size = account balance x risk percentage, divided by the entry-to-stop distance. A $10,000 account risking 1% has $100 planned risk. With a $2 stop distance, that creates a 50-unit position. Madlytics calculates this for stocks, forex, and crypto so the trade can be planned before it reaches your journal.

How the position size formula works

Position size = (account balance x risk %) / (entry price - stop-loss price)

Use the absolute distance between entry and stop. Direction does not change the formula; long and short trades both use the same planned-risk logic.

  1. 1. Calculate risk amount. Multiply account balance by the risk percentage you want to model.
  2. 2. Measure stop distance. Use the absolute difference between entry price and stop-loss price.
  3. 3. Divide risk by distance. The result is the estimated position size for the market you selected.

Worked examples: stocks, forex, and crypto

The same risk-budget logic works across markets, but the result should use the language of the market: shares for stocks, units and lots for forex, and coin quantity for crypto. These are planning examples, not trade recommendations.

Stocks: shares per trade

$10,000 account, 1% risk, stock entry at $50, stop at $48.

Shares = risk amount / (entry - stop)

$100 planned risk / $2 risk per share = 50 shares.

Round share count down if rounding up would push the trade above the planned risk.

Forex: units, lots, and pip value

$10,000 account, 1% risk, EURUSD entry at 1.1000, stop at 1.0980.

Units = risk amount / price distance; standard lots = units / 100,000

$100 planned risk / 0.0020 price distance = 50,000 units, or about 0.50 standard lots.

Confirm pip value and contract details in your broker platform before trading.

Crypto: coin quantity

$10,000 account, 1% risk, BTC entry at $30,000, stop at $29,400.

Coins = risk amount / (entry - stop)

$100 planned risk / $600 stop distance = 0.1667 BTC.

If the stop gets wider, the coin quantity should get smaller if planned risk stays the same.

Forex position size calculator and lot-size notes

Forex sizing often appears as units, mini lots, micro lots, or standard lots. Madlytics estimates units and standard lots from the same planned-risk formula, then shows the result beside dollar risk and position value.

Treat that as a planning estimate. Before placing a forex trade, confirm pip value, contract size, quote currency, and any broker-specific margin rules in your trading platform.

Crypto position size calculator for spot trades

Crypto volatility can make the stop distance change quickly. If the stop gets wider and planned dollar risk stays the same, the coin quantity should usually get smaller.

The calculator makes that adjustment visible before entry, so the trade size is not chosen from rough mental math while the market is moving.

Risk and reward: sizing for R:R

Take-profit is optional, but adding it lets the calculator show the planned risk/reward ratio. That is useful context when you later compare the trade plan against the actual outcome.

Before you save the calculation

  • Recalculate if the stop changes before entry.
  • Do not round the size up if it pushes planned risk above the rule.
  • Save the planned size, risk amount, and stop distance with the trade record.
  • Review later whether actual risk matched the planned risk.

Why position sizing matters before every trade

The formula is simple. The discipline is doing it from the actual stop level before every entry. If position size gets rounded up while the stop gets wider, the trade can carry more risk than planned.

If your position size changes randomly, your trade review becomes harder to trust. Consistent sizing, tracked in a free trading journal, makes it easier to see whether risk stayed inside the plan.

Connect the calculation to trade review

A calculator is most useful when the planned size, stop, risk amount, and outcome stay connected. Madlytics lets you calculate before entry, then review the trade with notes, screenshots, tags, risk context, and analytics in the same workflow.

Position size calculator showing account size, 1% risk, and calculated trade size in Madlytics
Position size planning works best when the risk context stays attached to the trade record.

Insight

Position size is one of the easiest risk mistakes to miss.

A trade entered at the wrong size does not look different on the chart. The difference shows up when the result is recorded and the risk no longer matches the plan.

Scenario

A simple volatility sizing example

Imagine a trader with a $15,000 account and a 1.5% risk rule. The intended risk per trade is $225. If volatility widens the stop distance, the position size needs to get smaller to keep the same dollar risk.

If the trader keeps using a round number without recalculating from the actual stop level, the risk can drift above the plan. Reviewed in a trading journal afterward, the issue is no longer only the losing trade. It is the gap between intended risk and actual risk.

Log the calculation in your free trading journal

Madlytics does not tell you which trades to take. It helps you calculate planned size, record the setup, and review whether risk stayed inside the plan after the trade closes.

Log this trade in the free journal

Frequently asked questions

What is a position size calculator?

A position size calculator estimates how many shares, units, lots, or coins to trade from your account balance, risk percentage, entry price, and stop-loss price. The goal is to keep planned dollar risk consistent before the trade is placed.

How do I calculate position size?

Calculate dollar risk first: account balance x risk percentage. Then divide that risk amount by the distance between entry and stop. For example, a $10,000 account risking 1% gives $100 planned risk. If entry is $50 and stop is $48, the $2 stop distance gives a 50-share position.

How is forex lot size calculated?

A forex lot estimate starts with the same risk amount and stop distance. In a price-based calculator, estimated units equal risk amount divided by entry-to-stop distance, and standard lots equal units divided by 100,000. Always confirm pip value, contract size, and broker settings before placing the trade.

How do I size a crypto position?

For spot crypto, divide planned dollar risk by the price distance between entry and stop. If BTC entry is $30,000, stop is $29,400, and planned risk is $100, the stop distance is $600 and the estimated size is 0.1667 BTC.

What risk percentage should I use per trade?

Madlytics does not give financial advice. Many traders model small fixed percentages so every setup can be reviewed consistently, but the right risk setting depends on your account, market, strategy, and tolerance for drawdown.

Is the Madlytics position size calculator free?

Yes. The public calculator is free to use without an account. The Madlytics free plan also includes the trading journal, position size calculator, performance dashboard, economic events calendar, and up to 25 trades with no credit card required.

Does this calculator give financial advice?

No. The calculator is an educational planning tool. It helps estimate size from inputs you provide, but it does not recommend trades, guarantee outcomes, account for every broker rule, or remove market risk.

Size the trade before you enter it

Use the calculator before entry, then use Madlytics to review planned risk, actual risk, and trade outcomes in one workflow.

Start free