Free tool / Money management
FX & CFD Lot Size Calculator
Calculate FX & CFD position size, required margin and the estimated loss at your stop — for free. Enter your account balance, risk tolerance, entry price, stop price, leverage and contract size to see the recommended lot and money-management guideline for a single position.
01 — Calculator
FX & CFD Lot Size Calculator
This free calculator helps you check, before entering, “how large a lot keeps the loss at my stop within an acceptable range.” It shows not only the lot, but also the required margin, margin usage and effective leverage at the same time, so you can use it as a guide to avoid oversized positions.
All figures shown are estimates based on your inputs. Spreads, fees, swaps, slippage, taxes and stop-out rules are not included. The status badges are general guidelines only and are not investment advice.
02 — Highlights
What this free tool calculates
Two constraints
Risk and margin together
It calculates the “risk-constrained lot” (from your acceptable loss) and the “margin-constrained lot” (from required margin) at once, and clearly marks which side is the limit.
Reverse
Lot-check mode
Enter any lot and it works backwards to show the estimated loss, risk %, required margin and effective leverage for that lot.
Multi-asset
FX and CFDs
Enter or preset the contract size and pip/point size to get an estimate for XAUUSD, index CFDs, crypto CFDs and more.
Visual
Safe / Caution / High risk
Risk %, margin usage and effective leverage are shown with calm-coloured badges and in text, so the state never depends on colour alone.
Convenience
Save, share, copy
Your last inputs are stored on your device and restored next time. You can copy the result as text and share the input state by URL (no personal data included).
For every desk
Switch 1-lot units
For FX you can choose 1 lot = 1,000 / 10,000 / 100,000 units. You can also set a free-margin buffer to keep, making oversized lots easier to avoid.
03 — Inputs and results
Inputs
Enter your balance, risk tolerance, entry price, stop price (or the stop distance in pips/points), leverage, free-margin buffer, conversion rate, contract size, pip/point size, minimum lot and lot step. Choosing a symbol preset fills in typical defaults for contract size, pip size and leverage (all editable).
Results
The recommended lot, estimated loss, risk %, required margin and effective leverage are shown prominently, with details such as the risk-constrained lot, margin-constrained lot, the binding constraint, pip/point value and the maximum theoretical lot.
Formulas
Everything is calculated in your browser (client-side); your inputs are never sent anywhere. The main formulas are:
riskAmount = balance × riskPercent ÷ 100lossPerLot = |entry − stop| × contractSize × conversionRatelotByRisk = floorToStep(riskAmount ÷ lossPerLot, lotStep)marginPerLot = (entry × contractSize × conversionRate) ÷ leverageusableMargin = balance × (1 − marginBufferPercent ÷ 100) / lotByMargin = floorToStep(usableMargin ÷ marginPerLot, lotStep)recommendedLot = min(lotByRisk, lotByMargin) (0 if below minimum lot)effectiveLeverage = recommendedLot × (entry × contractSize × conversionRate) ÷ balancepipValuePerLot = pipSize × contractSize × conversionRateAbout the paid version
Combined multi-position risk management is in the paid version
Deeper management — concurrent positions, averaging down, correlation, per-symbol leverage, portfolio-wide maximum loss, changes in margin level and fast-market scenarios — is planned for the paid version.
Get information about the paid version04 — FAQ
Frequently asked questions
Is this lot size calculator free?
Can I use it for CFDs as well as FX?
Can it calculate the combined risk of multiple positions?
Is it safe to trade exactly as the result suggests?
Can I enter any leverage I like?
05 — On managing multiple positions
About multi-position risk management
The free version focuses on single-position calculations. In real trading, when you hold several positions at once, you need to account for correlation across currencies, indices and commodities, same-direction risk and changes in your margin level. These advanced management features are planned for the paid version.
Planned for the paid version
Combined multi-position risk management is in the paid version
Deeper management — concurrent positions, averaging down, correlation, per-symbol leverage, portfolio-wide maximum loss, changes in margin level and fast-market scenarios — is planned for the paid version.
- Combined risk across multiple positions
- Concentration detection (same currency / same index)
- Correlation risk
- Average price & total risk when averaging down / pyramiding
- Per-symbol / per-broker contract specifications
- Scenario analysis of the margin level
- Stress tests including gaps, fast markets & slippage
- TradingView / CSV / trade-history integration
- Money-management templates for corporate & prop accounts
06 — Disclaimer
Disclaimer
Please read before using
- This page is provided for information and calculation assistance only.
- It is not intended as investment advice, a trading recommendation or a solicitation.
- Results are estimates based on your inputs and their accuracy and completeness are not guaranteed.
- Spreads, fees, swaps, slippage, taxes, rejected fills, price jumps during fast markets and stop-out rules are not taken into account.
- For actual trading conditions, please check each broker’s pre-contract documents, trading explanation and latest margin rates.
- Leverage, required margin and minimum trade units differ by country, account type, broker and instrument.
- Trade at your own risk. We accept no liability for any loss arising from use of this tool.
