What are the chances of US President Donald Trump being removed from office if the Democrats do retake the House of Representatives in the upcoming midterm elections, or at least make significant gains?

These days, you can bet on anything in politics, including which White House Cabinet member might be next to leave and how many Saudi Arabia tweets Trump will send this week.

In politics, as in everything else, one should follow the money. If the betting markets give good odds, surely that means it is likely to happen, right?

Not quite. Suppose a fictitious horse, Tempestuous Daniels (named after Stormy Daniels, naturally), is running in the Melbourne Cup with odds of $3, and that some billionaire puts $10 million on her to win.

Bookmakers do not want any further bets on the horse, otherwise, if she were to win, they'd go bankrupt. So, they'll shorten the odds to $1.01 to discourage further bets. The horse is now surely the favourite, but not due to its intrinsic chances of winning.

A successful impeachment needs 218 votes in the House and a successful removal needs 67 votes in the Senate. ( Ben Shafer, www.sxc.hu )

Odds of impeachment in the House are quite good

So, what of impeachment? The US Constitution allows for the impeachment of a president for "treason, bribery or other high crimes and misdemeanours". The House of Representatives can vote with a simple majority to impeach a president. The impeached leader is then tried in the Senate. If two-thirds of the Senate find him or her guilty, the president is removed from office.

There are 435 voting members of the House, and 100 Senators. This means that a successful impeachment needs 218 votes in the House and a successful removal needs 67 votes in the Senate. Currently, the Republicans control both chambers, making impeachment of Trump extremely unlikely.

But will the chances of impeachment change if the Democrats retake the House after the November midterm elections? The US political website FiveThirtyEight.com publishes daily forecasts of all the races and the probability of each party winning control of the House and Senate.

For example, the site predicts the Democrats have an 83.6 per cent chance of retaking the House, while the Republicans have a 16.4 per cent chance of retaining control (as of time of publishing). There's a 1.7 per cent chance the Republicans will maintain a majority of one with 218 seats; a 1.7 per cent chance they will retain a 219-216 majority; a 1.6 per cent chance of 220-215, and so forth.

But first, a few assumptions…

To make the following analysis easier, we shall assume that all Democrats will always vote to impeach (in the House) and vote for guilty (in the Senate). Given this assumption, we can boil the analysis down to one number: the odds of any given Republican crossing the floor (or crossing the aisle, as they say in America) and voting against Trump. We'll call this probability "p".

We'll also make the assumption that the decision of any given Republican to cross the floor does not affect the decision of any other Republican to cross the floor. That is, we make the assumption that the probabilities of crossing the floor are independent.

To explain the concept of independence, consider the following. The odds of rolling a five on a standard die are 1-in-6; the odds of drawing a diamond from a standard pack of cards are 1-in-4. The die has nothing to do with the cards. Therefore, these probabilities are independent of one another.

What, then, are the odds of rolling a five and then drawing a diamond? Only one-sixth of the time do we roll a five, and only one-quarter of the time do we draw a diamond. Therefore, the odds of doing both are 1-in-24.

Crunching the numbers

Let's return to the election predictions. Let's also assume the Republicans retain a slim 218-217 majority in the House. We don't care whether it is Peter who crosses the floor, or Mabel, or John. What we want is the number of ways of choosing one Republican to cross the floor, and all 217 others to stay loyal. There are 218 such ways for this to happen.

Doing the calculations, Fred will cross the floor with probability p. Other Republicans will stay loyal with probability 1-p. Therefore, the odds of Fred crossing the floor and all other Republicans staying loyal is p(1-p)…(1-p), with 217 (1-p)s in the product.

Similarly, we can figure out the odds of two (or more) Republicans crossing the floor. We need to figure out how many ways we can choose two "p"s (to cross the floor) and 216 (1-p)s (to stay loyal). This brings us to an area of mathematics known as combinatorics.

Crunching the numbers, we arrive at a long expression that gives us the odds of a Trump impeachment where the only variable is p.

Suppose there was even just a 1 per cent chance of a Republican crossing the floor, that is, that p = 1 per cent. Then the probability of impeachment according to these calculations is 83 per cent. If p = 3 per cent, this jumps to 90 per cent; if p = 5 per cent then there is a 95 per cent chance that Trump becomes the third impeached president after Andrew Johnson and Bill Clinton.

Therefore, even if there is only a small chance of any given Republican crossing the floor, there is a very high chance of impeachment.

Bill Clinton was the second US president to be impeached. ( Bobby Yip, file photo: Reuters )

But odds in the Senate are far longer

What, though, about a guilty verdict in the Senate? Remember, you need 67 senators to vote in favour of removing a president from office.

According to FiveThirtyEight.com, the Republicans currently have a 81 per cent chance of retaining control of the Senate.

The Democrats face very long odds to get even close to the 67 senators needed to impeach — they have a 0.1 per cent chance to reach even 56 seats. Even then, they would need 11 Republicans to cross the floor — a very tall order.

This makes a guilty verdict almost impossible to achieve.

For Trump to be removed, he needs to be impeached by the House and then found guilty by the Senate. Assume these events are occurring independently of one another.

If the odds of any given Republican (in either the House or Senate) defecting were 1-in-4, there would only be a 7 per cent chance of Trump's removal.

Even if this rose to a staggeringly unbelievable 1-in-3 — meaning one-third of Republicans would try to remove their own President — the odds of removal are still not quite even money.

Tim Trudgian is an ARC Future Fellow at the School of PEMS, UNSW. This article is based on the G.S. Watson Annual Lecture at La Trobe University, Bendigo and first appeared on The Conversation.