Random variable
How can you turn a dice roll into something you calculate with?
By assigning a value to each possible outcome: that is a random variable, the mathematical formalisation of a quantity depending on chance. The value showing on a die (from 1 to 6), the side of a coin, or the number of cars waiting at a motorway toll gate are examples. This idea came from games of chance, where players assigned a payoff to each outcome.