# Probability and Expected Value

> How likely a thing is, as a number from 0 to 1. How to work out what a bet or a choice is worth on average, if you could play it many times.

**Course:** [Probability and Statistics](https://learn.benibix.com/learn/general-math)  
**Time:** 11 min

**After this lesson you can:**

- Write a chance as a number from 0 to 1
- Work out the expected value of a bet
- Explain why a casino always wins in the long run

## How do you work out what a bet is worth?

Probability is how likely a thing is, as a number from 0 to 1. Zero means it will not happen and 1 means it will. A fair coin landing heads is 0.5. A dice showing a six is 1 in 6, about 0.17. Expected value is what a choice is worth on average: each outcome times its chance, all added up.

When every outcome is equally likely, probability is a simple count. A bag holds four balls and one is red. The chance of pulling the red one is 1 in 4, or 0.25. That is also 25 percent, the same idea written out of 100.

Chances for things that do not affect each other multiply. Two heads in a row is 0.5 times 0.5, which is 0.25. Ten heads in a row is about 1 in 1,000. Chances for things that cannot both happen add. Rolling a one or a two is 1 in 6 plus 1 in 6, which is 1 in 3.

Expected value sums up chances in a single number. For a dice, the faces 1 to 6 add up to 21. Divide by 6 and the expected value is 3.5. You can never roll 3.5. It is the average you get if you roll many times.

It shows why casinos win. A roulette wheel in Europe has 37 pockets, 18 red, 18 black and one green zero. Bet 10 on red, and you win 10 with a chance of 18 in 37, or lose 10 with a chance of 19 in 37. The expected value is a loss of about 27 cents a bet.

Any one night can go either way. But over millions of bets, the casino keeps close to that small edge. Lotteries work the same way, only with a far bigger edge for the seller.

The common mistake is to judge a choice by how it turned out. A good bet can lose and a bad bet can win. Expected value judges the choice before the result, which is the only time you can make it.

![Six equal bars for the faces of a dice, 1 to 6, each with a chance of 1 in 6. A balance point sits under the bars at 3.5, labelled expected value. A note shows 1 plus 2 plus 3 plus 4 plus 5 plus 6, divided by 6, is 3.5.](https://learn.benibix.com/diagrams/gen-expected-value.svg)

### Example: A raffle at school

A school raffle sells 500 tickets at 2 each. The one prize is worth 300.

Each ticket's expected value is 300 divided by 500, which is 60 cents, so a 2 ticket loses 1.40 on average. Jon buys one anyway, because the money goes to the school.

**Words in this lesson:** [Probability](https://learn.benibix.com/term/general/probability), [Expected Value](https://learn.benibix.com/term/general/expected-value)

**Question:** What is the chance of flipping heads twice in a row with a fair coin?

**Answer:** 0.25. The two flips do not affect each other, so their chances multiply: 0.5 times 0.5 is 0.25.

---

Source: https://learn.benibix.com/learn/general-math/probability-and-expected-value
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
