Martingale Position Calculator — DCA Position Sizing Tool
Calculate the capital requirements for a martingale trading strategy. See exactly how much capital each level needs, your average entry price, stop loss, and maximum drawdown.
USD size of the first entry
Price of first position entry
% drop to trigger next entry
Position size growth per level
Total number of entries
From final average entry
From final average entry
How to Use the Martingale Position Size Calculator
The martingale position calculator maps out every level of a martingale or grid-style averaging-down strategy before you deploy any capital. It shows your average entry price, total capital required, and maximum drawdown at each level — so you can size the strategy correctly and set your stop loss and take profit with precision.
- Initial Position Size ($) — The USD value of your first entry. This becomes the base unit that all subsequent levels are scaled from. Start conservatively: the strategy will multiply this amount at each subsequent level.
- Entry Price ($) — The price at which you open the first position. For crypto, this might be the current BTC or ETH price; for forex, this is the exchange rate; for stocks, this is the share price.
- Price Drop per Level (%) — The percentage decline from the previous level at which you add to the position. A 5% setting means each new level is triggered when price falls 5% from the prior entry. Smaller intervals = more levels triggered in a normal pullback; larger intervals = fewer triggers but larger individual losses per level.
- Size Multiplier — How much larger each subsequent position is compared to the previous one. The classic martingale doubles (2×) with each level, but 1.5× and 2.5× are common variations. Higher multipliers recover faster after a bounce but require exponentially more capital.
- Max Levels — The total number of position entries (including the initial). 2–4 levels is common for moderate strategies; 5–6 levels requires very substantial capital. Never set more levels than you can fully fund.
- Stop Loss (%) — The percentage decline from the final average entry price at which you exit the entire position at a loss. This is your maximum loss scenario.
- Take Profit (%) — The percentage gain from the final average entry price at which you close all positions for a profit.
Click Calculate Martingale Levels to see the full level-by-level breakdown: each level's entry price, position size, total capital invested, weighted average entry, and unrealized P&L at that price. The summary shows total capital required, stop loss and take profit prices, maximum drawdown in dollar terms, and the risk/reward ratio.
The Formula
The martingale position calculator builds a level-by-level table using four core formulas. Understanding the math is essential before committing real capital.
Entry Price per Level
Each level entry price compounds the previous level's price down by the drop percentage:
- Level 1: Entry Price = initial entry price (user input)
- Level N: Entry Price[N] = Entry Price[N−1] × (1 − priceDropPercent / 100)
With a 5% drop per level starting at $40,000: Level 1 = $40,000 → Level 2 = $38,000 → Level 3 = $36,100 → Level 4 = $34,295.
Position Size per Level
- Level 1: Position Size = initialPositionSize
- Level N: Position Size[N] = initialPositionSize × multiplier^(N−1)
With a $100 initial size and 2× multiplier: $100 → $200 → $400 → $800. Total for 4 levels: $1,500. This geometric growth is what makes martingale strategies capital-intensive.
Weighted Average Entry Price
The average entry price after N levels is the total USD invested divided by total units purchased:
- Total Units[N] = Σ (Position Size[i] / Entry Price[i]) for i = 1 to N
- Average Entry Price[N] = Total Invested[N] / Total Units[N]
The average entry price always falls between the first and last level entry prices, weighted by the size of each position. Larger positions at lower levels pull the average down faster, which is the mathematical advantage of the martingale: a smaller bounce is needed to reach break-even compared to a flat position.
Stop Loss and Take Profit
- Stop Loss Price = Final Average Entry × (1 − stopLossPercent / 100)
- Take Profit Price = Final Average Entry × (1 + takeProfitPercent / 100)
- Maximum Drawdown ($) = Total Capital Required × stopLossPercent / 100
- Risk/Reward Ratio = takeProfitPercent / stopLossPercent
Note that stop loss and take profit are applied to the final average entry, not the first level entry price. This is critical: a 15% stop on a final average entry of $37,500 (in the 4-level example above) means the stop triggers at $31,875 — a 20.3% drop from the original $40,000 entry.
Practical Examples
Example 1 — Conservative 3-Level ETH Strategy
A crypto trader wants to accumulate ETH during a dip using a controlled martingale. ETH is at $3,200. They use a 1.5× multiplier with 3 levels and 5% price drops.
- Level 1: $3,200 — $200 position — 0.0625 ETH
- Level 2: $3,040 (−5%) — $300 position — 0.0987 ETH
- Level 3: $2,888 (−10%) — $450 position — 0.1558 ETH
- Total invested: $950 | Average entry: ≈$3,032 | Total ETH: 0.317
With a 10% take profit from average entry ($3,332) and 20% stop loss ($2,426): Max profit ≈ +$95, Max drawdown ≈ −$190. Risk/reward = 0.5. The conservative multiplier keeps capital requirements manageable while still lowering the average entry meaningfully.
Example 2 — Aggressive 4-Level BTC Doubling Strategy
A trader enters BTC at $40,000 with $100 initial size, 2× multiplier, and 5% level spacing.
- Level 1: $40,000 — $100 — 0.0025 BTC
- Level 2: $38,000 — $200 — 0.00526 BTC
- Level 3: $36,100 — $400 — 0.01108 BTC
- Level 4: $34,295 — $800 — 0.02333 BTC
- Total invested: $1,500 | Average entry: ≈$37,368 | Total BTC: 0.04117
Stop loss 15% below average entry: ≈$31,763. Take profit 10% above: ≈$41,105. The price only needs to recover from the deepest level ($34,295) by 19.9% to reach take profit — versus needing a 16.5% rally from $40,000 to make any profit on a single entry. However, the total capital committed ($1,500) is 15× the initial $100 position. A 15% stop would cost $225.
Example 3 — Forex Grid on EUR/USD
A forex trader sells EUR/USD at 1.0850 expecting a move down, adding to the position with a 2× multiplier every 50 pips (approximately 0.46% per level). They use 3 levels and a 1% stop loss from average entry.
- Level 1: 1.0850 — $500 position
- Level 2: 1.0800 (−0.46%) — $1,000 position
- Level 3: 1.0750 (−0.46%) — $2,000 position
- Total invested: $3,500 | Average entry: ≈1.0774
A 1% stop from average entry means stop at ≈1.0881 (on a short position, this is a 1% rise). Take profit of 1.5% = ≈1.0612. This is a leveraged scenario — in forex the $3,500 controls a much larger notional position. Traders must account for overnight swap costs and margin requirements when running multi-level forex grids.
Frequently Asked Questions
Related Calculators
Anti-Martingale Calculator — Pyramid Winners
Calculate the anti-martingale position sizing strategy. Enter base position size, win streak multiplier, and win rate to see your position ladder and simulated P&L.
Martingale Betting Calculator
Calculate Martingale betting progression to see required stakes and bankruptcy risk. Understand why the strategy always fails mathematically.
Monte Carlo Trading Simulator
Run a Monte Carlo simulation on any trading strategy. Enter win rate, average win/loss, and risk per trade to see probability of profit, ruin, and outcome distribution.
Drawdown Calculator
Calculate the percentage gain needed to recover from a drawdown. Understand how losses compound and plan your recovery strategy.