No ads, no sign-upChecked 2026-08-25

Fibonacci Calculator

Result

55

Result: 55
How the result moves

Every term is the sum of the two before it, starting 0, 1, 1, 2, 3, 5, 8, 13. The index counts from zero, so F(0) is 0 and F(10) is 55, not 34. The last term a standard number holds exactly is F(78).

Worked examples

How it's calculated

F(n) = F(n − 1) + F(n − 2), F(0) = 0, F(1) = 1

  1. StepEnter the position n, counting from zero.
  2. StepThe sequence is built up from 0 and 1.
  3. StepEach step replaces the pair with the second value and their sum.
  4. ResultAfter n steps the first value is F(n).

Reference table

Index nReads asF(n)
0the first starting value0
1the second starting value1
20 + 11
10ten steps after the zeroth term55
20twice as far, 123 times as large6765
30past eight hundred thousand832040
50past twelve billion12586269025
78the last term held exactly8944394323791464

Questions

What is the Fibonacci sequence?

It starts with 0 and 1, and every number after that is the sum of the two before it: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. As a rule, F(n) = F(n − 1) + F(n − 2) with F(0) = 0 and F(1) = 1.

Does this calculator count from 0 or from 1?

From 0: F(0) = 0, F(1) = 1, F(2) = 1, F(3) = 2. The index is the position counting from zero, so entering 10 gives F(10) = 55. Under the other common convention, where 1 is the first term, the same index would give 34.

How is Fibonacci related to the golden ratio?

Divide each term by the one before it and the ratios close in on the golden ratio φ ≈ 1.618. For instance 55 ÷ 34 ≈ 1.6176 and 89 ÷ 55 ≈ 1.6182, and the larger the terms, the closer it sits.

Why does the calculator stop at F(78)?

Beyond that the terms grow larger than a standard computer number can hold exactly. F(78) = 8,944,394,323,791,464 is the last one that fits without rounding error, so the calculator stops there rather than print digits it has lost.

Where does the sequence show up in real life?

In nature — the spiral of a sunflower head, the branching of trees, the arrangement of leaves — and across computer science in algorithms, data structures and search techniques. Its link to the golden ratio makes it a recurring motif in art and design too.

Sources and last check

  1. mathworld.wolfram.com

Information, not professional advice.