You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

The rice and chessboard problem: why exponential growth fools your brain

The rice and chessboard problem: one grain of rice, doubled on every square

One grain of rice on the first square of a chessboard, two on the next, then four, then eight. It sounds like a tiny gift. Try it with a real 1 kg bag of rice, and the bag is empty before the second row is done. So how much rice would all 64 squares need?

  1. 1 An old legend tells of the man who invented chess. The king loved the game so much that he let the inventor choose his own reward. The inventor pointed at the board.the inventorthe king

    An old legend tells of the man who invented chess. The king loved the game so much that he let the inventor choose his own reward. The inventor pointed at the board.

  2. 2 He asked for rice. One grain on the first square, two on the second, four on the third. Each square gets double the square before, up to the 64th square. The king laughed at such a small wish.1248double on each square

    He asked for rice. One grain on the first square, two on the second, four on the third. Each square gets double the square before, up to the 64th square. The king laughed at such a small wish.

  3. 3 On a rainy Saturday, your friend Rono tells you this legend while he teaches you chess. He has a 1 kg bag of rice. Surely that is enough for the whole board, he says.you1 kgof riceRono

    On a rainy Saturday, your friend Rono tells you this legend while he teaches you chess. He has a 1 kg bag of rice. Surely that is enough for the whole board, he says.

  4. 4 You start with the first row. It takes only 255 grains, less than a spoonful. Rono smiles: the bag is still almost full.first row: 255 grains1 kgof ricealmost full

    You start with the first row. It takes only 255 grains, less than a spoonful. Rono smiles: the bag is still almost full.

  5. 5 Then the heaps grow fast. Squares 1 to 15 already take about 33,000 grains. Square 16 alone needs 32,768 more. A kilo of rice holds only about 40,000 to 50,000 grains, so the bag runs out partway through square 16.square 16:32,768 grainsempty

    Then the heaps grow fast. Squares 1 to 15 already take about 33,000 grains. Square 16 alone needs 32,768 more. A kilo of rice holds only about 40,000 to 50,000 grains, so the bag runs out partway through square 16.

  6. 6 And the last square? It alone would need about 9 billion billion grains. Written out, the number has 19 digits.9,223,372,036,854,775,808about 9 billion billion grains

    And the last square? It alone would need about 9 billion billion grains. Written out, the number has 19 digits.

  7. 7 The whole board would need about 18 billion billion grains. That is more rice than the whole world grows in 500 years. In the legend, the king could never pay. He had laughed too soon, and so had Rono.the whole board:about 18 billion billion grainsis more thanall the rice the worldgrows in 500 years

    The whole board would need about 18 billion billion grains. That is more rice than the whole world grows in 500 years. In the legend, the king could never pay. He had laughed too soon, and so had Rono.

  8. Go further

    Two other ways to say it.the wheat andchessboard problemthe same puzzle, often toldwith wheat. The story is atleast 750 years olda power of 2square 64 holds 2 multipliedby itself 63 times. Each newsquare multiplies by 2 againabout 400 billion tonnesthe weight of the whole board.The world grows about 560million tonnes of rice a year

    Two other ways to say it.

Next episode Exponential vs linear growth: why your brain guesses so low

Share this comic

More comics