Martingale Calculator — Forex & Crypto Position Sizing (DCA)
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
Cash available for the whole ladder — the first level it cannot fund is flagged
Total Capital Required
$1,500
Max Drawdown
−$225
R/R Ratio
0.67
Final Avg Entry Price
$35,569.88
Take Profit Price
$39,126.87
Stop Loss Price
$30,234.40
| Level | Entry Price | Size ($) | Capital Required | Exposure (Value) | Avg Entry | P&L at Level |
|---|---|---|---|---|---|---|
| 1 | $40,000.00 | $100 | $100 | $100 | $40,000.00 | +$0.00 |
| 2 | $38,000.00 | $200 | $300 | $295 | $38,644.07 | −$5.00 |
| 3 | $36,100.00 | $400 | $700 | $680 | $37,148.11 | −$19.75 |
| 4 | $34,295.00 | $800 | $1,500 | $1,446 | $35,569.88 | −$53.76 |
* Capital Required is the cash needed to have entered every level so far (no leverage); Exposure is what the whole position is worth at that level's price. P&L at Level shows the unrealized loss on the full position if price reaches that level. Stop loss and take profit are calculated from the final average entry price.
Last reviewed · How we check our calculators
How to Use the Martingale Calculator
The calculator maps out every level of a martingale or grid-style averaging-down strategy before you deploy any capital: average entry, total capital required and maximum drawdown at each level.
- Initial Position Size ($) — The USD value of your first entry; every later level is a multiple of it, so start small.
- Entry Price ($) — The price of the first entry: a coin price, an exchange rate or a share price.
- Price Drop per Level (%) — How far price falls from the previous entry before the next level fills. Tighter spacing fills more levels in an ordinary pullback.
- Size Multiplier — How much larger each level is than the one before. The classic martingale doubles (2×); 1.5× is a common, cheaper variation. Higher multipliers need a smaller bounce but exponentially more capital.
- Max Levels — The number of entries, including the first. Never plan more levels than you can fully fund.
- Stop Loss (%) and Take Profit (%) — Measured from the final average entry; the whole position exits at either price.
- Account Balance ($) — The cash you can commit to the whole ladder. The calculator compares it with the cumulative capital each level requires and flags the first level you cannot fund, with a warning showing the shortfall. A martingale you cannot fund to the last level is not a recovery plan — it simply stops adding at the worst moment.
As you type, the result shows the full level-by-level breakdown: each level's entry price, position size, capital required (total invested so far), exposure (what the whole position is worth at that price), weighted average entry, unrealized P&L and — when you enter a balance — how much cash is left. 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 level-by-level table is built from four formulas.
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 $35,570 (the 4-level $40,000 ladder from the formulas above) means the stop triggers at $30,234 — a 24.4% 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: ≈$2,997 | Total ETH: 0.317
With a 10% take profit from average entry (≈$3,297) and 20% stop loss (≈$2,397): 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.00250 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: ≈$35,570 | Total BTC: 0.04217
Stop loss 15% below average entry: ≈$30,234. Take profit 10% above: ≈$39,127. The price only needs to recover 14.1% from the deepest level ($34,295) to reach take profit — a target that is still below the original $40,000 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 buys EUR/USD at 1.0850 expecting a bounce, adding to the position with a 2× multiplier every 50 pips lower (approximately 0.46% per level). They use 3 levels, a 1% stop loss and a 1.5% take profit 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.0779
A 1% stop below average entry means a stop at ≈1.0671 (a $35 loss on $3,500). Take profit 1.5% above = ≈1.0940. 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.
More Money-Management Tools
Position sizing only works as a system. Check the same plan from every angle:
- Anti-Martingale Calculator — Pyramid Winners — Calculate the anti-martingale position sizing strategy.
- Kelly Criterion Calculator — Calculate the mathematically optimal bet size using the Kelly Criterion formula.
- Bankroll Management Calculator — Calculate optimal bet sizes with fixed stake, fixed percentage, and Kelly Criterion staking plans.
- Masaniello Calculator — Plan a Masaniello staking series: set a bankroll, the number of bets and the wins you expect, and get each stake as results come in, the target and the full stake plan.
- Drawdown Calculator — Calculate the percentage gain needed to recover from a drawdown.
- Risk Reward Calculator — Calculate the risk/reward ratio for any trade in seconds.
New to sizing rules? Read the guide Money Management & Position Sizing: Martingale, Anti-Martingale, Kelly and Risk of Ruin — formulas, worked examples and risk-of-ruin numbers for every method.
Frequently Asked Questions
A martingale trading strategy involves adding to a losing position at predetermined lower price levels, typically by increasing the position size at each level (often doubling). The goal is to lower the average entry price so that a smaller price recovery is needed to reach break-even or profit. When the asset eventually bounces back, the trader closes the entire position at a profit from the lowered average entry. Unlike the gambling version, trading martingales use percentage-based price levels rather than sequential losses, and traders set explicit stop losses. The strategy is widely used in crypto, forex, and CFD trading, often combined with automated bots.
The original martingale is a gambling system: double the stake after every loss on an even-money bet, expecting one win to recover everything. Trading martingales add to a position at set price intervals instead of after discrete losses, target a lower average entry rather than a single recovery bet, use any multiplier, and set both a stop loss and a take profit. They also face frictions the casino version does not — fees, slippage, funding rates on perpetual futures — and the risk that price keeps trending without a bounce.
Dollar-cost averaging (DCA) buys a fixed dollar amount at regular time intervals, such as $100 of Bitcoin every Monday, with no stop or exit target — a long-term accumulation method. A martingale buys at fixed price intervals with a growing size, such as adding twice as much every 5% lower, and exits at a take profit or stop loss — an active trade that needs monitoring.
The primary risk is a sustained trend — if the asset keeps falling through all your planned levels and your stop loss triggers, you lose the maximum drawdown amount. With a 2× doubling multiplier, the capital required grows exponentially: 4 levels need 15× the initial size, 5 levels need 31×, 6 levels need 63×. A second major risk is liquidation on leveraged platforms: if you use margin or perpetual futures, the exchange can liquidate your position before your take profit is reached. Risk management best practices: (1) Never use more than 1–2% of your total account on the initial position size. (2) Set a hard stop loss and respect it — averaging down without a stop is the most common way traders blow accounts. (3) Avoid running martingales on highly correlated assets simultaneously. (4) Account for funding rates and fees, which compound over multi-day holds.
Yes, and this is the most critical risk for leveraged traders. On futures and perpetual swap platforms (Binance, Bybit, OKX, etc.), your position has a liquidation price determined by your leverage and margin. When you add levels using a martingale strategy, each new entry increases your total position size, which can move your liquidation price closer to the current market price if you are using isolated margin. Even with cross-margin, a deep drawdown across many levels can consume your margin and trigger liquidation before your stop. Many traders therefore run martingales on spot markets, or keep leverage very low with ample reserve capital. Always calculate the liquidation price at full deployment and ensure it is well below your stop loss level.
Sources
- Martingale and anti-martingale betting systems (Wikipedia)
- Ralph Vince, The Mathematics of Money Management (Wiley, 1992)
Embed This Calculator on Your Website
Free for blogs, forums and tipster sites. Paste this HTML where the calculator should appear — it resizes automatically.
<div class="calcvault-embed" style="max-width:700px;margin:0 auto;">
<script src="https://www.calcvault.co/widget.js" data-calc="martingale-position-calculator" data-backlink="inline"></script>
<p style="text-align:center;margin:6px 0 0;font-size:12px;font-family:system-ui,sans-serif;"><a href="https://www.calcvault.co/calculators/martingale-position-calculator">Martingale Calculator by CalcVault</a></p>
</div>