Math & Trig
Fibonacci sequence in spreadsheets: recursive column and direct Nth term (Binet)
Generate Fibonacci numbers row-by-row (=B2+B3) or jump directly to the Nth Fibonacci number in a single cell using Binet's Golden Ratio formula.
Recursive addition vs closed-form Nth Fibonacci lookup
The Fibonacci sequence starts F(0) = 0, F(1) = 1, and adds the two preceding terms F(n) = F(n-1) + F(n-2) to produce 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55—widely used for Agile estimation scales and mathematical modeling.
When you need F(n) directly in one cell without helper rows, Binet's formula uses the Golden Ratio phi = (1 + SQRT(5)) / 2 (approx 1.618034) and psi = (1 - SQRT(5)) / 2: F(n) = ROUND((phi^n - psi^n) / SQRT(5), 0).
| Index n | Fibonacci F(n) | Adjacent Ratio F(n)/F(n-1) |
|---|---|---|
| 0, 1, 2, 3, 4 | 0, 1, 1, 2, 3 | 3 / 2 = 1.5000 |
| 5, 6, 7 | 5, 8, 13 | 13 / 8 = 1.6250 |
| 10 | 55 | 55 / 34 = 1.6176 |
| 12 | 144 | 144 / 89 = 1.6180 (-> phi) |
Closed-form Binet demonstration
Floating-point exponentiation eventually loses integer accuracy. Use modest nonnegative integer indices for this demonstration; exact large terms require integer recurrence with sufficient precision.
=LET(phi, (1 + SQRT(5)) / 2, psi, (1 - SQRT(5)) / 2, ROUND((phi^A2 - psi^A2) / SQRT(5), 0))Golden ratio rounded to six decimals
Equals (1 + SQRT(5)) / 2 = 1.6180339887...
=ROUND((1 + SQRT(5)) / 2, 6)Inputs and interpretation
Validate n as a nonnegative integer. Rounding a floating-point result does not make it exact at arbitrary n. The adjacent ratio is undefined where its denominator is F(0).
Try the example
Use the original values or change them to test your understanding.