Position Size Calculator
The single most important number in trading isn't the entry — it's how much you put on. Enter your account, the risk you'll accept, your entry and your stop, and get the exact size that keeps one trade from hurting you. Research and education only — not financial advice.
Size is rounded down so you never exceed your risk. For options, one contract controls 100 shares, so the calculator assumes your stop is a premium level — see why resting stops on cheap options misfire before using a hard intraday stop on a sub-$1 premium.
How risk-based sizing works
Pick a fixed slice of your account you're willing to lose on any one trade — most disciplined traders use 0.5% to 2%. That's your dollar risk. Divide it by your risk per unit (entry minus stop, per share) and you get the size. Because the size adjusts to how far away your stop is, a tight-stop trade lets you hold more shares and a wide-stop trade fewer — but the dollar you can lose stays constant. That constancy is what keeps a losing streak survivable. See position sizing and the risk/reward ratio for the full logic.
Common questions
What risk % should I use?
Why round down instead of up?
Does this work for options?
Disclosures. This calculator is a research and education tool. Its outputs are illustrative estimates, exclude commissions, slippage, and gap risk (a stop may not fill at your price), and are not a recommendation to buy or sell any security or derivative. Trading involves substantial risk of loss. ClaudeQuantAlgo is not a registered investment adviser or broker-dealer. You are solely responsible for your own trading decisions. Never risk money you cannot afford to lose.