Trading Calculator & Investment Tools

Nine calculators, one page, including a position size calculator for stocks, forex lots and crypto. Pick a tool, enter your numbers, and get an instant, formula-backed result — calculated entirely in your browser.

Position Size Calculator

Find the position size that keeps your risk at a fixed percentage of your account, based on your entry and stop-loss price. Use it as a lot size calculator for forex by setting units per lot or contract to match your instrument (for example 100,000 for a standard forex lot, or 1 for shares and coins). It also works as a forex position size calculator, a crypto position size calculator, or for stocks — see the full position size guide.

Formula: Risk Amount = Balance × (Risk% / 100), then Position Size = Risk Amount ÷ |Entry − Stop|
Position size (units)—
Position size (lots)—
Amount at risk—
Position value—

"Lots" divides units by the contract size above — set it to 1 if you trade in raw units or shares.

Limitation: assumes your entry price is also your fill price — it does not add spread, commission or slippage. It also does not convert currencies or apply tick values: it treats each unit of price movement as one unit of your account currency per unit traded. For forex pairs whose quote currency differs from your account currency, or for futures, CFDs and other instruments with a tick value or contract multiplier, convert the price risk into your account currency yourself before relying on the units or lots shown. Otherwise the position size may not limit your loss to the percentage you intended.

Trading Risk % Calculator

A risk management calculator and risk per trade calculator in one: check exactly what percentage of your account a specific trade puts at risk, given your entry, stop and position size.

Formula: Risk Amount = |Entry − Stop| × Size, then Risk % = Risk Amount ÷ Balance × 100
Risk (%)—
Amount at risk—

Limitation: uses the position size and prices you enter — it does not check them against a live account or broker order.

Risk/Reward Calculator

A risk/reward (R:R) calculator for trading: work out the risk-to-reward ratio of a trade and the win rate you'd need just to break even. See the full risk/reward ratio guide.

Formula: RR = |Target − Entry| ÷ |Entry − Stop|, break-even win rate = Risk ÷ (Risk + Reward)
Risk : Reward—
Risk distance—
Reward distance—
Break-even win rate needed—

Limitation: measures price distance only — it does not factor in spread, commission, or the likelihood of reaching the target.

Stop Loss Calculator

A stop loss calculator for trading: work out the exact stop-loss price that matches a fixed risk amount and position size. See the full stop loss & take profit guide.

Formula: Risk Amount = Balance × (Risk% / 100), then Distance = Risk Amount ÷ Size. Long: Stop = Entry − Distance. Short: Stop = Entry + Distance
Stop-loss price—
Stop distance—
Amount at risk—

Limitation: gives a theoretical stop price — actual fills can differ because of slippage or price gaps. See the stop loss & take profit guide.

Take Profit Calculator

A take profit calculator for trading: set a take-profit price that targets a specific risk/reward ratio from your entry and stop. See the full stop loss & take profit guide.

Formula: Long TP = Entry + (RR × |Entry − Stop|). Short TP = Entry − (RR × |Entry − Stop|)
Take-profit price—
Reward distance—

Limitation: the price shown is a target, not a guarantee — real exits depend on market liquidity and order type.

Leverage Calculator

A leverage calculator for trading forex, crypto or any margin position — calculate the leverage a position uses, or the margin and maximum position size a given leverage allows. See the full leverage & margin guide.

Formulas: Leverage = Position Value ÷ Equity · Margin = Position Value ÷ Leverage · Max Position = Equity × Leverage
Leverage—
Margin required—
Max position value—

Limitation: shows leverage and margin only — it does not model margin calls, liquidation levels, or your broker's maintenance margin rules.

Drawdown Calculator

A trading account drawdown calculator: measure the maximum drawdown percentage from a peak balance, and the gain required to recover it.

Formula: Drawdown % = (Peak − Current) ÷ Peak × 100 · Recovery needed = (Peak − Current) ÷ Current × 100
Drawdown—
Amount lost from peak—
Gain needed to recover—

Limitation: based only on the peak and current balance you enter — it does not track your account automatically.

Trading ROI Calculator

An investment ROI calculator for trading: work out return on investment as a percentage, plus an annualized rate if you enter a holding period.

Formula: ROI % = (Final − Initial) ÷ Initial × 100 · Annualized = ((Final ÷ Initial)^(365/days) − 1) × 100
ROI—
Net profit—
Annualized ROI—

Limitation: a simple point-to-point calculation — it does not account for the timing of deposits or withdrawals within the period. Annualizing a very short holding period (a few days or weeks) extrapolates one result across a full year and can produce extremely large, misleading figures; treat it as a way to compare rates, not as a forecast.

Compound Investment Calculator

This compound investment and compound growth calculator projects the future value of an investment with regular contributions and compounding returns.

Formula: FV = P(1+r/n)^(nt) + PMT × (((1+r/n)^(nt) − 1) ÷ (r/n))
Final balance—
Total contributed—
Interest earned—

Limitation: assumes a constant rate and regular contributions — actual investment returns vary and are never guaranteed.

Overview

What each calculator does

A quick reference for all nine tools above. Each uses a standard formula shown openly on its tab — see the guides for worked examples.

Position Size

Converts your account balance, risk % and stop distance into the number of units or lots to trade.

Account bar with a 1% slice: $10,000 at 1% risk and a $3 stop distance give 33.33 units.

Trading Risk %

Checks what percentage of your account a specific entry, stop and position size puts at risk.

Gauge from 0 to 12% showing a trade that risks 5.33% of a $12,000 account, past the 5% flag.

Risk/Reward

Compares risk and reward distance to give a ratio and the win rate needed to break even.

Two bars: $3 of risk and $9 of reward, a 1:3 ratio with a 25% break-even win rate.

Stop Loss

Works backward from a risk amount and position size to a theoretical stop-loss price.

Entry at $100 with a stop-loss $3 below at $97, sized so the loss equals $100.

Take Profit

Derives a take-profit price from your stop distance and a target risk/reward ratio.

Entry at $100, stop at $97 and take-profit at $107.50, a 1:2.5 plan.

Leverage

Calculates leverage used, or the margin and maximum position size a given leverage allows.

A $10,000 equity block beside five blocks making a $50,000 position: 5x leverage.

Drawdown

Measures the percentage drop from a peak balance and the gain needed to recover it.

A 50% drawdown needs a 100% gain: two bars of 50 and 100 percent.

ROI

Turns an initial and final value into a return percentage, with an optional annualized rate.

Two bars: $5,000 invested and $5,900 final value, an 18% return.

Compound Investment

Projects future value from a starting amount, regular contributions and a compounding rate.

$10,000 compounding at 10% a year reaches $25,937 in ten years, above the $20,000 of simple interest.
Worked examples

How to use and read each calculator, with examples

Each example below uses different numbers from the guides and can be reproduced in the calculator above. Results are arithmetic on the numbers you enter; they are not forecasts of what a market will do.

Position size: turning a risk budget into a share count

Inputs: account balance, the percentage of it you are willing to lose if the stop is hit, entry price and stop-loss price (all in the same currency units), and optionally the units per lot.

Example: a $25,000 account risking 0.5% on a share bought at 48.20 with a stop at 46.90. The risk amount is $125.00, the stop distance is 1.30, so the position is 125.00 ÷ 1.30 = 96.1538 shares, worth about $4,634.62.

Reading it: brokers rarely allow fractions, so round down. 96 shares risk 96 × 1.30 = $124.80, just inside the budget; 97 shares would risk $126.10, just over it. The size is only as reliable as the stop: a gap through the stop price can make the real loss larger. The position size guide explains the method in more depth.

Forex lot example: a $10,000 account risking 1% ($100.00) on EUR/USD, with entry at 1.0850 and a stop at 1.0820, so the stop distance is 0.0030. The position is 100.00 ÷ 0.0030 = 33,333.33 units. With units per lot set to 100,000 (a standard forex lot), that is 0.3333 lots; round down to the lot step your broker allows. Set units per lot to match the instrument: 100,000 for a standard forex lot, or 1 if you trade shares or coins in single units. This example works because the account is in dollars and EUR/USD is quoted in dollars. Spread, commission and slippage are not included, and a different quote currency, a tick value or a contract multiplier means converting the price risk into your account currency first. The pip value calculator helps with forex pairs.

Trading risk %: checking a trade you have already planned

Inputs: balance, entry, stop and position size in units.

Example: a $8,000 account buys 20,000 units of EUR/USD at 1.0850 with a stop at 1.0820. The loss if stopped is 0.0030 × 20,000 = $60.00, which is 0.75% of the account.

Reading it: capping the share of the account that any single trade can lose is the core of what many traders call money management, so compare the percentage with the limit you set yourself. This calculator treats one unit of price movement as one unit of your account currency, which holds here because the account is in dollars and EUR/USD is quoted in dollars. For other pairs, convert first with the pip value calculator. The trading risk percentage guide discusses how to choose the limit itself. For how sizing and risk rules fit together, see position sizing vs risk management.

Risk/reward: how much you stand to make for each unit risked

Inputs: entry, stop-loss and take-profit prices.

Example: entry 1.0850, stop 1.0820, target 1.0910. Risk is 0.0030, reward is 0.0060, so the ratio is 1 : 2.00 and the break-even win rate is 0.0030 ÷ (0.0030 + 0.0060) = 33.33%.

Reading it: you would break even, before costs, by winning about one trade in three. The ratio describes the payoff only; it says nothing about how likely the target is to be reached, and spreads or commissions raise the win rate you really need. See the risk/reward ratio guide.

Stop loss: the price that matches your risk budget

Inputs: balance, risk %, entry price, position size and direction.

Example: a $12,000 account risking 1% ($120.00) on 40 units bought at 250.00. The stop distance is 120.00 ÷ 40 = 3.00, so a long stop sits at 247.00.

Reading it: treat the result as a limit, not a prediction. If a stop at 247.00 sits inside the price noise of that market, the fix is a smaller position, not a tighter stop that is hit more often. The stop-loss and take-profit guide covers where stops can be placed.

Take profit: a target from a chosen ratio

Inputs: entry, stop-loss, the ratio you want and direction.

Example: continuing the same trade (entry 250.00, stop 247.00) with a 1 : 2 ratio, the reward distance is 6.00 and the long target is 256.00. On 40 units that is $240.00 of potential reward against $120.00 of risk.

Reading it: a target is only worth using if the chart gives a plausible reason for price to reach it. A ratio chosen purely for its appearance can place the target beyond where the market tends to travel. The same guide has a table of targets for common multiples.

Leverage: exposure compared with your own capital

Inputs: account equity and position value; in the second mode, a leverage multiple.

Example: $5,000 of equity holding a $40,000 position is 8.00× leverage. Planning the same position at 10× needs $4,000 of margin, and $5,000 of equity at 10× could carry at most $50,000.

Reading it: margin is collateral held by the broker, not the amount you can lose. What you can lose is set by the stop and the position size. See the leverage and margin guide and the liquidation price calculator.

Drawdown: how far the account has fallen and what recovery takes

Inputs: the account peak and the current (or lowest) value.

Example: a peak of $20,000 that has fallen to $15,000 is a 25.00% drawdown, a $5,000 loss, and needs a gain of 33.33% from the lower balance to get back to the peak.

Reading it: recovery needs a bigger percentage than the loss because the gain applies to a smaller base. That asymmetry is why many traders set a drawdown limit that pauses trading; the drawdown guide shows how.

ROI: profit relative to what you put in

Inputs: initial investment, final value and, optionally, the holding period in days.

Example: $4,000 grown to $4,900 is a $900 profit, an ROI of 22.50%. Held for 200 days, the annualised figure is (4,900 ÷ 4,000)^(365 ÷ 200) − 1 = 44.83%.

Reading it: annualising repeats a short period as if it would continue, which can exaggerate. Use it to compare holdings of different lengths, not to predict a year. The result also ignores money added or withdrawn along the way. The ROI guide covers these limits and how to adjust for them.

Compound investment: growth with regular contributions

Inputs: starting amount, contribution per period, annual rate, years and how often it compounds (contributions follow the same frequency).

Example: $5,000 to start, $200 added each month, 7% a year for 10 years, compounded monthly: a final value of $44,665.27, of which $29,000 is money you contributed and $15,665.27 is interest.

Reading it: a fixed rate is an assumption, not an expected return; real returns vary and can be negative. Try several lower and higher rates to see a range rather than a single answer. The compound growth guide explains why projections mislead.

Formulas

Formulas used by the nine calculators

Every result above comes from one of these standard formulas. Repeat any calculation by hand or in a spreadsheet to check it.

CalculatorFormula
Position SizeRisk amount = balance × risk % ÷ 100; units = risk amount ÷ |entry − stop|; lots = units ÷ units per lot
Trading Risk %Risk amount = |entry − stop| × position size; risk % = risk amount ÷ balance × 100
Risk/RewardRatio = |target − entry| ÷ |entry − stop|; break-even win rate = risk ÷ (risk + reward)
Stop LossRisk amount = balance × (risk % ÷ 100); distance = risk amount ÷ position size; long stop = entry − distance, short stop = entry + distance
Take ProfitReward distance = |entry − stop| × target ratio; long target = entry + distance, short target = entry − distance
LeverageLeverage = position value ÷ equity; margin = position value ÷ leverage; maximum position = equity × leverage
DrawdownDrawdown % = (peak − current) ÷ peak × 100; gain needed to recover = (peak − current) ÷ current × 100
ROIROI % = (final − initial) ÷ initial × 100; annualized = ((final ÷ initial)^(365 ÷ days) − 1) × 100
Compound InvestmentFuture value = P(1 + r/n)^(nt) + PMT × ((1 + r/n)^(nt) − 1) ÷ (r/n)

Trading calculator FAQ

How do I calculate position size?

Work out how much you are willing to lose (account balance × risk %), then divide it by the distance between your entry and your stop-loss. A $10,000 account risking 1% risks $100; with an entry of $100 and a stop at $97 the distance is $3, so the position is 100 ÷ 3 = 33.33 units. The position size guide covers forex lots, crypto and stocks.

What is a good risk/reward ratio?

There is no universal number, because the ratio only means something together with your win rate. The break-even win rate is risk ÷ (risk + reward): at 1:1 you must win 50% of trades, at 1:2 about 33.3%, before costs. See the risk/reward ratio guide or the break-even win rate calculator.

Do the calculators include fees, spreads or slippage?

The nine core calculators use only the numbers you enter and do not add spread, commission or slippage. The Trade Planner, Futures P&L, Partial Close and Average Entry Price tools let you enter fees.

What is the difference between this page and the Advanced Tools page?

This page holds nine single-purpose calculators for quick answers. The Advanced Trading Tools are larger, multi-step tools such as the Trade Planner, liquidation price and risk of ruin.

Are my numbers stored or sent anywhere?

Calculations run in your browser and the values you type are not sent to our servers. The site remembers only your theme and currency choice on your device, plus the Trade Planner history if you choose to save it. See the Privacy Policy.

More tools for planning and stress-testing a trade

Once the core numbers are set, go further: plan a full trade with fees and a safety check, find the value of a pip, check a break-even win rate, work out an average entry price, price a partial close, estimate futures profit after fees and funding, a liquidation price, or the risk of ruin. See all advanced tools.

These calculators are educational tools for planning and risk management. They do not constitute financial advice and do not guarantee trading or investment results. See our Financial Disclaimer.