Finance calculators

Position Size Calculator

Updated Jun 8, 2026 By Jehan Wadia
Looking at this specification, I'll build a comprehensive Position Size Calculator. Here's my implementation:
Asset Class
Account & Risk
Symbol / Ticker
Trade Levels
Enables Risk:Reward ratio calculation.

Position Summary
Position Size
Position Value
Amount at Risk
Risk : Reward
Direction
Entry Price
Stop Loss Price
Stop Distance
Risk per Unit
Account Risked
Potential Profit
Take Profit Price
Risk vs. Reward

Introduction

A position size calculator helps you figure out how many shares, lots, or contracts to buy or sell in a trade. It uses your account balance, the amount you are willing to risk, your entry price, and your stop loss to give you the right trade size. Getting your position size right is one of the most important parts of trading because it keeps you from losing too much money on a single trade.

This free calculator works for stocks, forex, crypto, and futures. You can set your risk as a percentage of your account or as a fixed dollar amount. It also calculates your risk-to-reward ratio when you add a take profit price. Whether you are a beginner or an experienced trader, this tool makes it simple to manage your risk and protect your capital before you enter any trade. For forex-specific profit calculations, you may also want to check out our Forex Profit Calculator.

How to Use Our Position Size Calculator

Enter your account details, risk preferences, and trade levels below. The calculator will tell you how many shares, lots, or contracts to buy, how much money is at risk, and your risk-to-reward ratio.

Asset Class: Pick the type of market you are trading. Choose from Stocks, Forex, Crypto, or Futures.

Trade Direction: Select Long if you expect the price to go up. Select Short if you expect the price to go down.

Account Balance: Type in the total amount of money in your trading account. If you need help tracking your overall finances, our Net Worth Calculator can give you a complete picture of your financial standing.

Account Currency: Choose the currency your trading account is held in, such as USD, EUR, or GBP.

Risk Mode: Pick how you want to set your risk. Use percent to risk a percentage of your account, fixed to risk an exact dollar amount, or lots if you trade forex and already know your lot size.

Currency Pair: If you chose Forex, search for and select the currency pair you want to trade. The calculator will load a reference rate for you.

Symbol / Ticker: If you chose Stocks, Crypto, or Futures, type in the name or ticker of the asset you are trading.

Tick Value: If you chose Futures, enter the dollar value of a one-point move per contract. For example, the E-mini S&P 500 has a tick value of $50 per point.

Entry Price: Enter the price where you plan to open your trade. You can also click "Use Live Price" to fill in an estimated current price.

Stop Loss: Set where you will exit the trade if it goes against you. You can enter a specific price or a number of pips or points away from your entry.

Take Profit: Check the box and enter a target price where you plan to take your profits. This is optional but lets the calculator show your risk-to-reward ratio.

Calculate Button: Click this button to see your results. The calculator will show your position size, position value, amount at risk, risk-to-reward ratio, and a bar chart comparing your potential loss to your potential gain.

Reset Button: Click this button to clear all fields and start over with the default values.

What Is a Position Size Calculator?

A position size calculator tells you how many shares, lots, or contracts to buy or sell in a trade based on how much money you are willing to lose. It is one of the most important tools in risk management. Instead of guessing how big your trade should be, this calculator does the math for you so you never risk more than you planned.

Why Position Sizing Matters

Every trade has a chance of losing money. Position sizing controls how much you lose when a trade goes wrong. If you risk too much on one trade, a single loss can wipe out a big chunk of your account. If you risk a small, fixed percentage each time, your account can survive a string of losses and still recover. Most professional traders risk between 1% and 2% of their account per trade. Understanding your overall return on investment across all your trades is just as important as managing individual position sizes.

How It Works

The calculator uses three key pieces of information to find your position size:

  • Account balance – the total money in your trading account.
  • Risk amount – the most you are willing to lose on this trade, set as a percentage of your balance or a fixed dollar amount.
  • Stop loss distance – the gap between your entry price and your stop loss price. This is how far the price must move against you before you exit the trade.

The basic formula is: Position Size = Risk Amount ÷ Stop Loss Distance. For example, if your account is $10,000, you risk 1% ($100), and your stop loss is $5 away from your entry, you would buy 20 shares. If you want to calculate profits on stock trades after determining your position size, try our Stock Profit Calculator.

Asset Classes Supported

This calculator works for stocks, forex, crypto, and futures. Each asset class sizes positions a little differently. Stocks and crypto use share or unit counts. Forex uses lots, where one standard lot equals 100,000 currency units. Futures use contracts, and each contract has a fixed dollar value per point of price movement called the tick value. For crypto traders looking to track gains over time with a regular buying strategy, our DCA Calculator is a helpful companion tool. If you are focused on crypto gains from a specific trade, the Crypto Profit Calculator can help with that.

Risk-to-Reward Ratio

When you set a take profit price, the calculator also shows your risk-to-reward ratio. This ratio compares how much you could lose to how much you could gain. A ratio of 1:2 means you stand to make twice what you risk. Traders generally look for setups where the reward is at least equal to or greater than the risk. You can use our Ratio Calculator to explore ratio math in more detail. For options traders who need to evaluate potential profit and loss scenarios, our Options Profit Calculator provides a dedicated analysis tool. Once your trades generate returns, tools like the Compound Interest Calculator and Investment Calculator can help you plan how to grow those profits over time.


Frequently asked questions

What is the difference between risk percentage and fixed risk mode?

Risk percentage mode lets you risk a set percent of your account on each trade. If your account grows or shrinks, the dollar amount at risk changes with it. Fixed risk mode lets you type in an exact dollar amount you are willing to lose. Use percentage mode if you want your risk to scale with your account size. Use fixed mode if you always want to risk the same dollar amount.

What lot size should I use for forex trading?

A standard lot is 100,000 units of currency. A mini lot is 0.10 (10,000 units) and a micro lot is 0.01 (1,000 units). Most beginners start with micro or mini lots. This calculator tells you the exact lot size based on your risk, so you do not have to guess. Just enter your account balance, risk amount, and stop loss, and the tool does the math for you.

How much of my account should I risk per trade?

Most professional traders risk between 1% and 2% of their account per trade. This means if you have a $10,000 account and risk 1%, you would lose no more than $100 if the trade hits your stop loss. Keeping risk small lets your account survive losing streaks without major damage.

What is a stop loss and why do I need one?

A stop loss is a price level where you exit a trade to limit your loss. It is the price where you say "I was wrong" and close the position. Without a stop loss, the calculator cannot figure out your position size because it does not know how much you could lose per share, lot, or contract.

What is the difference between pips and points?

Pips are used in forex trading. One pip is 0.0001 for most currency pairs and 0.01 for Japanese yen pairs. Points are used for stocks and futures and usually equal one unit of price movement. When you set your stop loss in pips or points, the calculator converts it to a price level for you.

What is tick value in futures trading?

Tick value is the dollar amount you gain or lose for each one-point move in a futures contract. For example, the E-mini S&P 500 (ES) has a tick value of $50 per point. If the price moves 2 points against you, you lose $100 per contract. You must enter the correct tick value so the calculator can size your position properly.

Does this calculator work for short selling?

Yes. Select "Short" under Trade Direction. When you go short, your stop loss must be above your entry price because you lose money when the price goes up. The calculator adjusts all the math automatically based on the direction you choose.

What is a good risk-to-reward ratio?

A risk-to-reward ratio of 1:2 or higher is considered good by most traders. This means you aim to make at least twice what you risk. A ratio of 1:1 means your potential gain equals your potential loss. The calculator color-codes the ratio: green for 1:2 or better, yellow for 1:1 to 1:2, and red for below 1:1.

Why does my position size change when I switch account currencies?

The calculator converts everything into your account currency. If your account is in EUR but you trade a USD-based asset, the exchange rate between EUR and USD affects how much risk you take in your home currency. A different account currency means a different conversion rate, which changes the final position size.

Can I use this calculator for day trading and swing trading?

Yes. The calculator works for any trading style. Day traders usually have tighter stop losses and smaller position sizes. Swing traders often use wider stop losses, which means fewer shares or lots per trade. Just enter your actual entry and stop loss prices, and the tool handles the rest.

What does the Use Live Price button do?

The Use Live Price button fills in an estimated current market price for your entry. For forex pairs, it uses the reference rate shown in the pair selector with a small random variation. It gives you a quick starting point, but you should always confirm the real price on your broker's platform before placing a trade.

How do I calculate position size for crypto?

Select Crypto as the asset class, enter your account balance, set your risk, type in your entry price and stop loss, then click Calculate. The tool will tell you how many units of the cryptocurrency to buy. Since crypto prices can have many decimal places, the calculator shows up to six decimal places for crypto positions.

What happens if my stop loss is on the wrong side of my entry price?

The calculator will show an error. For a long trade, your stop loss must be below your entry price. For a short trade, your stop loss must be above your entry price. If the stop is on the wrong side, the trade setup does not make sense and no result will be shown.

Is position value the same as the amount at risk?

No. Position value is the total dollar value of your entire trade. Amount at risk is only the money you would lose if the price hits your stop loss. For example, buying 100 shares at $50 gives a position value of $5,000, but if your stop loss is $2 away, your amount at risk is only $200.

Should I round my position size up or down?

You should round down. Rounding up means you risk slightly more than planned. For stocks, round down to the nearest whole share. For forex, round down to the nearest micro lot (0.01). Keeping your actual risk at or below your planned risk is the safer choice.