Position size calculator
Position size
–

The formula
Amount at risk = account × risk %
Position size = amount at risk ÷ loss per unit if the stop is hit
Position size = amount at risk ÷ loss per unit if the stop is hit
This calculator is set up for currency pairs, where the stop is measured in pips. The same idea works for shares: with a $20,000 portfolio and a limit of 1% ($200) on a trade, a share bought at $50 with a stop at $45 ($5 risk per share) allows 40 shares.
For long-term investors
Most long-term investors do not use stop-losses, but the principle of deciding in advance how much any single holding can hurt still applies. Many keep individual shares to a small fraction of the portfolio. See portfolio diversification.