🌾Exponential Doubling Calculator

Calculate the nth value and running total for real-life doubling scenarios like rice grains or paper folding

units
times

How to Use the Exponential Doubling Calculator

Something that doubles every step becomes enormous far faster than intuition suggests. Enter a starting value and how many times it doubles (n), and this calculator gives you both the value at step n and the running total from the very first step through step n.

The classic example is the chessboard and rice grains problem: place 1 grain of rice on the first square, double it on every following square, and by the 64th square alone you need 2^63 grains — with a running total of 2^64 minus 1, roughly 18.4 quintillion grains. Folding a sheet of paper in half follows the same idea: since the thickness doubles each fold, a famous claim is that just 42 folds would theoretically produce a stack taller than the distance from Earth to the Moon.

The value at step n is calculated as starting value × 2^n, and the running total uses the geometric series sum formula: starting value × (2^(n+1) − 1). This calculator uses exact integer arithmetic so even enormous results stay precise, making it a great way to feel just how fast exponential growth really accelerates.

Frequently Asked Questions

What is the chessboard and rice grains problem?

Starting with 1 grain of rice on the first square and doubling it on each following square across a 64-square chessboard results in a total of 2 to the power of 64 minus 1 grains, roughly 18.4 quintillion. It's a classic illustration of how fast exponential growth accelerates.

What happens if I enter a very large n?

Because doubling grows the result exponentially, this calculator supports up to 300 doublings to keep the computation stable. Entering a value above 300 triggers an error message.