Category Archives: Sports Betting

Implied odds behind lay betting

In a precedent post,  I introduced the concept of back and lay bets on a given event, for example the fact that it will rain on a given day.  We also said that we are given some odds $o$, which express how much we can earn if we guess the right outcome between the event happening ($E$) or not ($\bar{E}$).


Usually, people betting are very familiar with the “common” back bet and the odds $o$, which generate a net cash flow of $x (o-1)$ when we guess right and $-x$ when we guess wrong on an invested amount of $x$. However, I always found lay bets less intuitive and I prefer to see them as betting on the event not to happen.  This post about seeing a lay bet on $E$ as a back bet on $\bar{E}$, for example backing that it will not rain on a given day. The difference is explained in the table below:

$E$ $\bar{E}$
Laying $E$ $-x(o-1)$ $x$
Backing $\bar{E}$ $-y$ $y(\bar{o}-1)$

We see a new term $\bar{0}$ appearing, which are the odds of backing the event not to happen. Because both lines actually imply betting on the same thing (the event not to happen), the cash flows in case of $E$ or $\bar{E}$ must be the same. Therefore, we get the following system of equations:

-x(o-1) &= -y\\
x &= y (\bar{o}-1)

The fist equation tell us that $y=x(o-1)$ and we can substitute in the second equation to solve for $\bar{o}$:
x &= y (\bar{o}-1)\\
x &= x(o-1) (\bar{o}-1)\\
\frac{x}{x(o-1)} &= \bar{o}-1\\
\bar{o} &= 1+\frac{1}{o-1}\\
\bar{o} &= \frac{o}{o-1}\\

Now, we can take bets on the event not to happen much more intuitively. Let’s go back to our example and let’s say that the odds of the bet on having rain today is $o = 5$. If we want to bet on the fact that it will not rain today, we need to place a lay bet, but what are our odds $\bar{o}$? Using the formula we derived above, we can easily compute them:

$$\bar{o} = \frac{o}{o-1} = \frac{5}{5-1} = 1.25 $$

Let’s say that we are happy with those odds, and we’d like to place a bet of $y=2$ at $\bar{o}=1.25$. Well, if we look at your system of equation, we see that $x = y (\bar{o}-1)$, so we need to bet:

$$x = y (\bar{o}-1) = 2 (1.25-1)=0.5$$

Let’s check:

$E$ $\bar{E}$
Laying $E$ $-x(o-1) = -0.5 (5-1) = -2$ $x = 0.5$

This is correct! An easy way of computing $x$ is to keep in mind that $x = y (\bar{o}-1)$ is simply the amount you expect to win by betting on the event not to happen.

Exchange Sports Betting: how to close your bets?

Good evening,

It’s been a very long time since I last posted something on this blog because I have been very busy at work but I thought I will try to be more active from now on.

Today, I’d like to share some basic maths about exchange sports betting, and actually we could generalize this to exchange betting in general.

Exchange betting has emerged over the last decade on the internet. Companies such as Betfair act as intermediary between individuals (or actors) willing to bet on a specific event.

From a general point of view, actors bet on an event $E$ to happen or not to happen.

  • When you want to bet on the fact that $E$ does happen, we say that you back $E$
  • When you want to bet on the fact that $E$ does not happen (denoted $\bar{E}$), we say that you lay $E$.

I chose to discuss exchange betting in this post because you have the opportunity to directly bet both on $E$ and $\bar{E}$. When you bet against a bookmaker, usually he will allow you only on an event to happen. For example, on a football game between Team A and Team B, the bookmaker will allow you to bet on Team A to win, Draw or Team B to win, but he will not let you bet directly on Team A not to win. This does not mean that you cannot recreate this bet synthetically, but I wanted to keep things as simple as possible on this post.

Let’s keep the example of the football game, and let’s say that the event of Team A to win is denoted by $A$. When you place a bet, you do it at given odds, which we will denote by $o$. For example, let’s say that $o=2$. Here I am using the European convention, which means that if you bet an initial amount $x$ on $A$,

  • If $A$ happens, the payoff is $x \cdot (o-1)=x \cdot (2-1)=x$.
  • If $A$ does not happen, the payoff is $-x$.

Now let’s say that the odds do not change and that you lay an initial amount of $x$ on $A$:

  • If $A$ happens, the payoff is $-x \cdot (o-1)=-x$.
  • If $A$ does not happen, the payoff is $x$.

Let’s draw a table to see what happens now in both situations, using generic odds $o$:

$A$ happens $A$ does not happen
Back $x$ at $o$  $x(o-1)$ $-x$
Lay $x$ at $o$  $-x(o-1)$ $x$
Net payoff  $0$ $0$

As expected, if you back and lay $A$ for the same odds $o$, then your payoff will be $0$ in both cases.

Let’s now consider a case where the odds change in time. Originally, you back $A$ at $o_1$, and then the odds change to $o_2$. What I would like to show on this post is that you can again guarantee a similar payoff in both cases ($A$ happens or not) by laying some amount $y$ on $A$ at $o_2$.

Let’s draw the table again:

$A$ happens $A$ does not happen
Back $x$ at $o_1$  $x(o_1-1)$ $-x$
Lay $y$ at $o_2$  $-y(o_2-1)$ $y$
Net payoff $x(o_1-1)-y(o_2-1)$ $y-x$

Now, we want the net payoff to be equal in both cases:

$$x(o_1-1)-y(o_2-1) = y-x$$

$$x(o_1-1) + x = y +  y(o_2-1)$$

$$x(o_1-1+1) = y(o_2-1+1)$$

$$x o_1 = y o_2$$

$$y = x \frac{o_1}{ o_2}$$

By solving this equation, we know that if we bet $y = x \frac{o_1}{ o_2}$, we will have the same payoff in both cases. We can also compute the value of this payoff:

$$\text{Payoff} = y-x = x \frac{o_1}{ o_2} – x = x \left(\frac{o_1}{ o_2} – 1 \right)$$

So we see here that if $\frac{o_1}{ o_2} – 1 > 0$, we will have a positive payoff in any case. In particular, if $\frac{o_1}{ o_2}>1$, we make money, if $\frac{o_1}{ o_2} < 1$, we lose money, and if $\frac{o_1}{ o_2}=1$, we make $0$ (which is the case $o_1=o_2=o$ we saw previously).

In conclusion, we make profit if and only if $o_2<o_1$. This makes a lot of sense; let’s say $o_1=3$ and $o_2=2$, the odds became lower because the market acknowledged that  $A$ is more likely to happen because it’s now willing to pay less if $A$ happens than before. This means that you were right, and hence that you have made money.

Now, how does it work if you want to take the opposite position originally, namely you lay an initial amount $x$ on $A$  at $o_1$, and then the odds change to $o_2$. How can you close the position by backing $A$ with an amount $y$?

$A$ happens $A$ does not happen
Lay $x$ at $o_1$  $-x(o_1-1)$ $x$
Back $y$ at $o_2$  $y(o_2-1)$ $-y
Net payoff $y(o_2-1)-x(o_1-1)$ $x-y$

We then need:


$$y + y(o_2-1)=x + x(o_1-1)$$

$$y o_2 = x o_1 $$

$$y = x \frac{o_1}{o_2} $$

Then, the payoff is:

$$\text{Payoff} = x-y = x – x \frac{o_1}{o_2}  = x \left( 1 – \frac{o_1}{o_2} \right)  $$

In this case, we see that we make a positive payoff if $\frac{o_1}{o_2} < 1$, that is, if $o_1 < o_2$. Again, this makes sense intuitively; if you lay $A$ at $o_1=2$ and then $o_2 = 3$,  then the market believes that $A$ is now less likely to happen than before, which means that you were originally right to lay $A$ and hence deserve a payoff.

Let’s do a final sanity check on what we just said. First, we know that odds can take any value in $[1, \infty]$. When $o=1$, then $E$ will happen with probability $1$. When $o = \infty$, then $E$ will never happen (probability is $0$).

Assume you had a bet at $o_1$ and then $o_2 = 1$, which means that $E$ will happen. Then, if you backed $E$ you can get a payoff of $x \left( \frac{o_1}{1} – 1 \right) = x (o_1 -1 )$. If you laid $E$, then the payoff is $x \left( 1 – \frac{o_1}{1} \right) = -x (o_1 – 1)$. These match the payoff we defined orginally for back and lay bets on $E$.

Assume now $o_2 = \infty$, then if you backed $E$ the payoff is $x ( 0-1) = -x$ and if you laid $E$ the payoff is $x (1-0)=x$. This also matches the original definition and we have shown here that the approach above is sound.

Please keep in mind that all the above assumes there is no transaction costs to take into account, which is not exactly correct and which I will address in a later post, but the idea is there.

That’s all for now, hope you enjoyed that and I’ll be back with more.