Know exactly how many shares to buy and how much you'll risk before you enter a trade

The stock position size calculator helps traders determine the ideal number of shares or units to trade based on their account size, risk tolerance, and trade setup. Proper position sizing is a cornerstone of effective risk management, ensuring you don't expose your capital to excessive losses on any single trade.

Whether you're trading stocks or other equity assets, using a reliable position sizing tool like this one is crucial for maintaining a consistent risk profile and preserving your trading capital over the long term.

More free trading calculators

Understanding Position Sizing and Risk Management

Effective position sizing is arguably more important than your entry or exit strategy. Without it, even a winning strategy can lead to ruin. By properly calculating your position size before entering a trade, you gain several advantages:

  • Consistency: You risk a similar, predetermined amount of capital on every trade, regardless of the asset or setup volatility.
  • Capital Preservation: It prevents catastrophic losses from a single bad trade wiping out a significant portion of your account.
  • Emotional Control: Knowing your maximum potential loss beforehand reduces fear and greed, leading to more objective decisions.
  • Improved Risk-Reward Analysis: It forms the basis for evaluating the potential profitability of a trade relative to its risk.

How This Position Sizing Tool Works (Percentage Risk Model)

This calculator uses the most common method: the fixed fractional or percentage risk model. The formula is:

Position Size = (Account Size × Risk %) ÷ (Entry Price - Stop Loss)

Here's how it works:

  1. You define the maximum percentage of your trading account you're willing to risk on this specific trade (e.g., 1%, 2%).
  2. You determine your entry price and your stop-loss price (the price at which you'll exit if the trade goes against you).
  3. The difference between your entry and stop-loss represents your risk per share/unit.
  4. The calculator determines how many shares/units you can buy so that if your stop-loss is hit, your total loss equals the percentage of your account you specified.

While other models exist (like fixed dollar risk), the percentage risk model helps your position size scale naturally with your account balance.

How to Use the Calculator Effectively

  • Account Size: Enter your total trading capital available.
  • Risk Per Trade (%): Enter the maximum percentage of your account size you're willing to lose on this single trade (1-2% is common).
  • Entry Price: The price at which you plan to enter the trade.
  • Stop Loss Price: The price at which you will exit the trade if it moves against you to limit losses. Ensure this is based on your technical analysis or strategy rules, not just an arbitrary number.

Example Calculation

Let's say you have a $10,000 account and want to risk 1% per trade. You identify a setup in stock XYZ, planning to enter at $50 and place a stop-loss at $48.

  • • Account Size: $10,000
  • • Risk Per Trade: 1% (which is $100)
  • • Entry Price: $50
  • • Stop Loss: $48
  • • Risk Per Share: $50 - $48 = $2

The calculator would determine your position size as follows:

Dollar Risk = Account Size × Risk %
Dollar Risk = $10,000 × 0.01 = $100

Risk Per Share = Entry Price - Stop Loss
Risk Per Share = $50 - $48 = $2

Maximum Shares = Dollar Risk ÷ Risk Per Share
Maximum Shares = $100 ÷ $2 = 50 shares

Total Position Value = Shares × Entry Price
Total Position Value = 50 × $50 = $2,500

Position Size Calculator FAQs

How do I calculate position size for a stock trade?

Divide the dollars you are willing to risk (account size × risk percentage) by your risk per share (the distance between entry and stop loss). The result is the number of shares to buy. This calculator does it instantly and can save the result as a trade plan.

What percentage of my account should I risk per trade?

Most risk-management frameworks suggest risking 1–2% of account equity per trade so a normal losing streak cannot severely draw down the account. Enter your own percentage to see the exact share count for your risk tolerance.

Why does position size depend on the stop loss?

The stop loss defines your risk per share. A wider stop means each share risks more, so you buy fewer shares for the same total dollar risk; a tighter stop allows a larger position at identical risk.

Is this position size calculator free?

Yes — the calculator is free with no signup required. Creating a free account lets you save calculations as trade plans and track their outcomes.