# A number from chance

> A random variable turns an outcome into a number: the face of a die, sales next week, the return on a stock.

Canonical URL: https://monte.markets/learn/rv/random-variable/

License: CC BY 4.0, reuse with credit to monte.markets.

Lesson 1 of 5 in [Random variables and expected value](https://monte.markets/learn/rv.md).

**Question:** You roll a die and record the number. Before you roll, what kind of thing is that number?

- A constant: A constant is fixed. This one changes with every roll.
- A probability: The probabilities are the chances of each value. The number rolled is the variable.
- **A random variable** (right answer): Yes. A number whose value depends on chance.

A random variable turns an outcome into a number: the face of a die, sales next week, the return on a stock. Its distribution lists each value and its chance, and the chances add to 1.

**Question:** A ticket wins $10 with chance 0.1 and $0 otherwise. What's missing from this distribution?

- The price of the ticket: The price matters for profit, but the distribution of winnings is complete.
- **Nothing: $10 at 0.1, $0 at 0.9** (right answer): Yes. Two values, chances 0.1 and 0.9, adding to 1.
- The chance of $0: It's implied: 1 − 0.1 = 0.9.

Every random variable has a list of values and chances. Check that the chances add to 1.

Next: [The long-run average](https://monte.markets/learn/rv/expected-value.md)
