Lottery is a game in which people buy numbered tickets and the winners are determined by chance. Prizes can be anything from cash to goods. Many states and countries have lotteries. It is also a way to raise money for charity. In the past, a fixed amount of money would be awarded to the winner. Now most lotteries award a percentage of the total revenue. This means that a large number of winners can be expected.

The word lottery comes from the Latin loteria, which means “drawing of lots,” or distribution by lot. The first recorded lotteries took place in 15th-century Burgundy and Flanders, with towns raising money to fortify their defenses or help the poor. Francis I of France began to sanction public lotteries in several cities in the 16th century.

Some lotteries advertise huge prizes, such as a billion-dollar jackpot. But this figure doesn’t mean that there is a single billion-dollar check sitting in a vault, waiting to be handed over to the next winner. Instead, the actual prize is a lump sum, usually invested as an annuity with 29 annual payments over three decades.

If the entertainment value and other non-monetary benefits from playing the lottery are high enough for a particular individual, then the expected utility of a monetary loss can be outweighed by the additional benefits, making the purchase a rational decision. But that’s not the message that most lotteries convey, and it obscures how much regressivity they involve.