18+ Gambling is addictive. A calculator cannot predict a result. Help and limits
BetSmart Kenya p = 1 ÷ odds

Hedging a bet: the arithmetic of locking in a return

To hedge a bet, stake on the opposite outcome an amount equal to your first stake times its odds, divided by the opposite odds. Both outcomes then pay the same total. Because the opposite price carries the bookmaker's margin, the locked result is usually lower than the fair value.

The short answer

A hedge is a second bet placed on the opposite side of an event after a first bet is already open. Its purpose is to make the total result the same, or closer together, whichever outcome occurs. The arithmetic depends on the prices, and every price carries a bookmaker margin, so the locked result is lower than the same hedge would give at fair prices.

This guide derives the stake formula, tests it on a worked example in KES, and shows what changes when the opposite price moves against you. It describes the arithmetic only. It is not a suggestion to place any bet.

The formula, derived step by step

Let the first bet have stake S and decimal odds D1 on outcome X. If X occurs it returns S × D1. Now add a bet of stake H on the opposite outcome Y at decimal odds D2, which returns H × D2 if Y occurs. This guide assumes an event with two outcomes only.

Total staked = S + H If X occurs: result = S × D1 − (S + H) If Y occurs: result = H × D2 − (S + H) Equal results need H × D2 = S × D1, so H = S × D1 ÷ D2 Locked result = S × D1 − S − S × D1 ÷ D2

Stake, return and profit are different things, as the guide on stake, return and profit sets out. The formula above equalises the return of the two bets, and the locked result is that return minus everything staked on both.

Worked example with a table

Illustrative example. A bet of KES 1,000 is placed on outcome X at decimal odds 3.00, so it would return KES 3,000. Later, the market for the opposite outcome Y shows a price. The table applies the formula for several possible values of that price. All prices are invented.

Opposite odds D2Hedge stake H = 3,000 ÷ D2Total stakedLocked result either way
1.40KES 2,142.86KES 3,142.86−KES 142.86
1.50KES 2,000.00KES 3,000.00KES 0.00
1.60KES 1,875.00KES 2,875.00+KES 125.00
1.80KES 1,666.67KES 2,666.67+KES 333.33
2.00KES 1,500.00KES 2,500.00+KES 500.00
2.50KES 1,200.00KES 2,200.00+KES 800.00

Take the 2.00 row. The hedge stake is 3,000 ÷ 2.00 = KES 1,500, and the total staked is 1,000 + 1,500 = KES 2,500. If X occurs the first bet returns KES 3,000, so the result is 3,000 − 2,500 = +KES 500. If Y occurs the hedge returns 1,500 × 2.00 = KES 3,000, which is again +KES 500.

The break-even row is D2 = 1.50. That is D1 ÷ (D1 − 1) = 3.00 ÷ 2.00. Below it the locked result is negative, and the hedge then only limits a loss.

Why the locked return is lower than fair value

A bookmaker's prices for the two outcomes have implied probabilities that add to more than 1, as covered in the guide on fair or true odds. The hedge price is therefore a little worse than the fair price. Here is the same event, with invented current prices of 1.85 for X and 2.00 for Y.

StepWorkingValue
Implied probability of X1 ÷ 1.850.5405
Implied probability of Y1 ÷ 2.000.5000
Sum (margin is the excess over 1)0.5405 + 0.50001.0405
Fair probability of Y0.5000 ÷ 1.04050.4805
Fair odds for Y1 ÷ 0.48052.081
Hedge stake at fair odds3,000 ÷ 2.081KES 1,441.56
Locked result at fair odds3,000 − 1,000 − 1,441.56+KES 558.44
Locked result at the offered 2.003,000 − 1,000 − 1,500+KES 500.00

The margin costs about KES 58 on this hedge. The same figure comes from expected value: the hedge bet has an expected result of 0.4805 × 2.00 − 1 = −0.039 per shilling staked, and −0.039 × 1,500 is about −KES 58. The guide on expected value of a bet explains that calculation. The fair figures use the margin-removal method from the margin guide, and they are rounded.

A partial hedge

A hedge does not have to use the full formula stake. Suppose only half of the KES 1,500 is staked, so H = KES 750 at 2.00, and the total staked is KES 1,750.

OutcomeReturnsResult
X occursKES 3,0003,000 − 1,750 = +KES 1,250
Y occurs750 × 2.00 = KES 1,5001,500 − 1,750 = −KES 250

The two results are no longer equal. Compared with no hedge, where the results would be +KES 2,000 and −KES 1,000, the spread is narrower, but not removed. A partial hedge is a choice about how wide the spread should be, and the cost of the margin applies to the KES 750 as well.

Hedging with a lay price

Where a lay price L is offered, the first bet is hedged by laying the same event outcome, and the lay stake is S × D1 ÷ L before any commission. The roles of the two bets are covered in the guide on lay and back bets. A lay carries a liability of lay stake × (L − 1), which can be larger than the lay stake, so the money at risk is not the same as the stake.

Cash-out as a built-in hedge

A cash-out offer does a similar job in one step. It replaces your open bet with a single sum, and that sum is the fair value minus a margin, as the guide on how cash-out is priced shows. A hedge and a cash-out both pay for certainty with margin, and both are worth comparing against simply holding the bet.

Hedging is not the same as arbitrage

A hedge is made after a price has moved, on a bet you already hold. Arbitrage is the planned placing of all legs at the outset. The condition for a positive locked result is in both cases that the implied probabilities of the two prices used add to less than 1, which is why sure bets are rare. In the example, the first price 3.00 gives 0.333 and the hedge price 2.00 gives 0.500, a total of 0.833. The gain comes only because the price of X moved from 3.00 to 1.85.

What can go wrong

  1. The opposite price can change before the hedge is accepted, which changes H and the locked result.
  2. A stake limit can cap the hedge below the formula amount, which leaves a partial hedge.
  3. The hedge stake must be at least KES 20 online. Section 71(1) of the Gambling Control Act, 2025 says a player in an online gambling activity shall not bet less than twenty shillings, as covered in the guide on the minimum online stake.
  4. If a bet is voided, the other bet stays as an ordinary bet with a risk of loss.
  5. Markets with more than two outcomes need a stake on every other outcome, not one.

Safer-play note

Hedging adds stake and turnover to an event. The total of all bets still has to fit inside the amount set aside in advance, as shown in the guide on setting a betting budget and limits. Do not use money meant for rent, school fees or bills, and do not hedge or stake more to recover a loss. The GRA toll-free line and self-exclusion process are on the responsible gambling page.

Betting is not a way to make money: every price carries a cost, and a locked figure on paper is not a result. 18+. Gambling is addictive. Play responsibly.

Questions and answers

What is the hedge stake formula?

Hedge stake = first stake x first decimal odds / opposite decimal odds. The hedge stake is sized so that the hedge returns the same total as the first bet would, so the result is identical whichever outcome occurs.

Does hedging remove the cost of the margin?

No. The hedge bet is priced by the same bookmaker margin as any bet, so locking a return costs a little compared with the fair value. The margin is charged on the extra stake as well.

Can a hedge lock in a loss instead of a profit?

Yes. If the opposite odds are below the first odds divided by (first odds minus 1), the locked result is negative. It is then a way to cap a loss, not to make a gain, and the arithmetic should be checked before placing it.

Is a partial hedge possible?

Yes. Any hedge stake smaller than the full formula amount leaves a gap between the two outcomes. A smaller hedge costs less extra stake, but the result then differs depending on which outcome occurs.

Does the KES 20 minimum stake apply to a hedge bet?

Section 71(1) of the Gambling Control Act, 2025 says a player in an online gambling activity shall not bet less than twenty shillings. A hedge calculated at less than KES 20 cannot be placed online as calculated.

Does hedging make betting safer?

It fixes the spread of outcomes on one event, but it adds stake and turnover, and every bet carries a margin. Total spending is still what a budget has to cover.

Sources

  1. Gambling Control Act, 2025, s.71 (minimum amount a person can bet online), accessed 2026-11-20