Rice on the Chessboard
Home · Interesting Math Problems · Problem 17 · Growth & numbers

1. The problem

An old Indian legend: the inventor of chess asks the king for a modest reward — one grain of rice on the first square of the board, two on the second, four on the third, doubling on every square up to the 64th. The king laughs at such a small request.

How much rice is that?

2. The answer

Grains in total
1.8 × 1019
264 − 1 = 18,446,744,073,709,551,615
Weight (25 mg a grain)
≈ 461 billion t
Today's world harvest
≈ 840 years
at about 550 million tonnes of milled rice a year

The first half of the board is harmless: squares 1 to 32 hold about 4.3 billion grains, roughly 107 tonnes — a few truckloads. Every square in the second half holds more than the whole board before it.

3. Working it out

Square k holds 2k−1 grains. The total is a geometric series:

1 + 2 + 4 + … + 263 = 264 − 1

Why? Double the sum and subtract the original: everything cancels except 264 − 1. The same trick shows that each square holds one more grain than all the previous squares together.

A useful rule: 210 = 1,024 ≈ 103. So 264 = 24 × (210)6 ≈ 16 × 1018 — quick to estimate in your head.

4. Fill the board

Grain weight (mg) · World rice harvest (million t/yr)
Square 0 holds
–

Board total so far
–

Equivalent to
–

Grains per square (log scale)

5. Fine print

  • "The second half of the chessboard" is used (after Ray Kurzweil) for the point where steady doubling — such as Moore's law in chips — starts producing changes too large to ignore.
  • Grain weight varies by variety, about 15–30 mg for milled rice; harvest figures are FAO estimates for milled rice. Change both above to see how little they matter.
  • The same doubling governs compound interest at 7 % (doubles in about 10 years), bacterial growth and the spread of an epidemic before it is checked.