Risk ManagementIntermediate

Martingale Strategy

The martingale strategy doubles the stake after every loss so that one win recovers all earlier losses plus the first stake. It wins small amounts often, but it needs unlimited money; with finite capital, size limits and leverage, one long losing streak can wipe out the account.

Double after every loss and the first win puts you ahead: on paper the martingale looks like a system that cannot lose. In practice it swaps many small, frequent wins for a rare loss large enough to erase them all. Probability theory explains why no doubling scheme can turn a fair bet into a profitable one, and trading adds problems that casinos do not have: trends, gaps, margin calls and liquidation. This entry shows the arithmetic, the gambler’s ruin result behind it, the anti-martingale alternative, and how the idea reappears in averaging down and trading bots.

Category
Risk Management
Reading time
7 min
Also called
Martingale, Martingale system, Martingale betting system
Updated

The martingale in plain words

In gambling, a martingale is a system in which a losing player keeps doubling, or otherwise raising, the stake so that any win covers the losses before it.1

Start with $50, lose, bet $100, lose, bet $200 and win: the $200 win beats the $150 lost so far by the original $50. Each completed run nets exactly the first stake.2

The catch is the size of the bets during a losing run. They double every time, and a run that lasts longer than your money, or longer than the largest bet you are allowed to place, ends with a large loss.2 The opposite approach, the anti-martingale, raises size after wins instead.2

How a martingale sequence runs, step by step

  1. Pick a base stake

    For example $100 on a bet with roughly even odds.2

  2. After a loss, double

    The next stake is twice the last: $200, then $400, then $800.1

  3. After a win, reset

    Return to the base stake. The run has netted exactly one base stake.1

  4. Watch the total at risk

    After n losses the money lost is base × (2ⁿ − 1), and the next stake is base × 2ⁿ. Ten losses mean a stake 1,024 times the base.

  5. Hit a limit

    Capital, a maximum trade size or margin stops the doubling, and the whole run’s losses are realized at once.2

Worked examples

Example 1 — Five losses, then a win

+$100

Base stake $100, even-money bets. The first five bets lose and the sixth wins (hypothetical).

Example 1 — Five losses, then a win — calculation
Losing stakes$100, $200, $400, $800, $1,600
Lost so far$100 × 31 = $3,100
Sixth stake2 × $1,600 = $3,200
Net result of the run$3,200 − $3,100 = $100

Risking $3,200 on the last bet, with $3,100 already lost, to make $100 overall: that is the real risk-reward of a long martingale run. See Risk-to-Reward Ratio.

Example 2 — A $10,000 account meets six losses

No edge

Account $10,000, base stake $100, fair 50/50 bets (hypothetical). How long can the doubling last?

Example 2 — A $10,000 account meets six losses — calculation
Lost after 6 losses$100 × 63 = $6,300
Seventh stake needed$100 × 64 = $6,400
Cash left$10,000 − $6,300 = $3,700
Chance of 6 losses in a row1 ÷ 64 ≈ 1.6%
Average result per run(63 × $100 − $6,300) ÷ 64 = $0

63 runs in 64 win $100; one in 64 loses $6,300. The average is exactly zero, as theory says it must be for a fair bet. Add trading costs and the average turns negative.32

Example 3 — Martingale by averaging down

−$2,050

A trader buys 10 shares at $100 and doubles the share count every $5 fall: 20 at $95, 40 at $90, 80 at $85. The price then drops to $75 (hypothetical).

Example 3 — Martingale by averaging down — calculation
First two buys$1,000 + $1,900 = $2,900
Last two buys$3,600 + $6,800 = $10,400
Cost of 150 shares$2,900 + $10,400 = $13,300
Average price$13,300 ÷ 150 ≈ $88.67
Value at $75150 × $75 = $11,250
Open loss$11,250 − $13,300 = −$2,050

A $1,000 position became a $13,300 one in three steps. A rebound to about $88.67 would break even, but a 25% fall from the first entry already costs twice the original position. With leverage, the margin needed grows just as fast. See Averaging Down and Averaging Up.

Martingale vs. anti-martingale sizing

AspectMartingaleAnti-martingale
After a lossIncrease size (usually double)2Cut size
After a winGo back to the base stakeIncrease size2
Typical patternMany small wins, rare large lossMany small losses, rare large gains
Main dangerA streak longer than your capitalGiving back gains at peak size

Where martingale sizing shows up

  • Casino betting systems

    The original setting: doubling on even-money bets until a win.1

  • Averaging down

    Buying ever larger amounts as a position falls is a martingale in disguise.2 See Averaging Down and Averaging Up.

  • Martingale and DCA bots

    Some exchange bots add larger orders at set intervals as price moves against the position, scaled by a multiplier, with up to 10x leverage on one futures bot.4 See Trading Bots and Grid Trading.

  • Anti-martingale sizing

    Adding to winners (Pyramiding) and risking a fixed share of a growing account are anti-martingale ideas. See Position Sizing.

Advantages and disadvantages

Advantages

  • Wins most runs over short samples.
  • Simple rules that are easy to automate.
  • Each completed run nets the base stake.1
  • The anti-martingale version shrinks risk during losing streaks.

Disadvantages

  • Stakes grow exponentially with every loss.
  • Needs unlimited capital and no maximum trade size.2
  • Cannot turn a fair or losing bet into a winning one.3
  • With leverage, liquidation can come before any recovery.4

Going deeper

Read as far as you need. Each level builds on the one before it.

Why it feels safe

Beginner

Most runs end with a small win, so a martingale often shows a high Win Rate for weeks. The losses are rare but huge, so the win rate says almost nothing about the result. See Expectancy.

A loss does not make the next bet more likely to win. Believing it does is the Gambler’s Fallacy and Hot-Hand Fallacy, and it is the belief that keeps martingale players doubling.

Gambler’s ruin and fair games

Intermediate

In a fair game where a player starts with k and stops on reaching a target n or going broke, the chance of reaching n is k ÷ n.3 Starting with $10,000 and aiming for $10,100 gives $10,000 ÷ $10,100 ≈ 99.0% to win $100 and about 1.0% to lose everything.

The optional stopping theorem says that, under conditions such as a bounded bankroll, no rule about when to stop changes the expected value of a fair game.3 Doubling only reshapes the outcomes: frequent small wins and a rare large loss that cancel on average. With a house edge, spreads or commissions, the average is negative. See Risk of Ruin.

Infinite debts and real markets

Advanced

Even in the ideal case, the expected size of the largest debt run up before the winning bet is infinite, which is why the system needs unlimited wealth.1 Real limits arrive earlier: finite funds, maximum trade sizes, transaction costs, or a market that stops trading.2

Markets add trends and gaps. A position that is doubled into a persistent move keeps growing, and with Leverage the account may be liquidated before the hoped-for rebound. One exchange’s futures martingale bot warns that in a sustained trend it may keep adding to the position and that high leverage can lead to liquidation.4 See Margin Call and Liquidation.

Common mistakes

  1. Believing a win is due

    Past losses do not change the odds of the next bet. See Gambler’s Fallacy and Hot-Hand Fallacy.

  2. Ignoring size and margin limits

    A run ends when you cannot place the next doubled stake, not when you choose.2

  3. Running a leveraged martingale bot unattended

    In a one-way market it can keep adding until liquidation.4

  4. Judging it by win rate

    A 98% win rate means little if the 2% loses more than all the wins. See Loss Chasing.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1With a $50 base stake, you lose four times in a row. What is the fifth stake under a doubling martingale?
Q2In a fair game, what does a doubling strategy do to the expected profit?

Key points to remember

  1. A martingale doubles after each loss so one win recovers everything plus the base stake.
  2. Stakes grow exponentially: ten losses need a stake 1,024 times the base.
  3. It cannot create an edge; in a fair game the average result stays zero.
  4. Finite capital, size limits, costs and leverage turn it into a rare but devastating loss.
  5. The anti-martingale cuts size after losses and is the basis of most sound sizing rules.

Frequently asked questions

Does the martingale strategy work in trading?

It can win for a long time, but it does not create an edge. In a fair game the expected result stays zero, and costs make it negative.32 One long streak against you can cost more than all the earlier wins.

Is the anti-martingale better?

It flips the risk: you increase size after wins and cut it after losses, so losing streaks shrink your bets.2 It still needs an edge, and a loss at peak size can give back recent gains.

Why do trading bots offer martingale settings?

Adding at lower prices pulls the average entry down, so a small rebound can close the position in profit.4 The same mechanism keeps adding in a sustained trend, and the platform itself warns of liquidation with high leverage.4

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Carnegie Mellon University, Department of Statistics. Martingales (Introduction to Probability lecture handout G, March 2006) (opens in a new tab) Checked .
  2. Corporate Finance Institute. Martingale Strategy (opens in a new tab) Checked .
  3. MIT OpenCourseWare. 6.436J Fundamentals of Probability, Lecture 26: Optional stopping and gambler's ruin (Fall 2018) (opens in a new tab) Checked .
  4. KuCoin Help Center. Introduction: Futures Martingale (updated October 2026) (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.