Fibonacci Calculator

Generate Fibonacci sequences up to 50 terms, find the Nth Fibonacci number, and check if a number is in the sequence.

F(10) (Nth term)

34

Golden Ratio approx.

1.6190476190

True Golden Ratio (φ)

1.6180339887

Sequence (F(0) through F(9)):

F(0)=0F(1)=1F(2)=1F(3)=2F(4)=3F(5)=5F(6)=8F(7)=13F(8)=21F(9)=34

How to Use the Fibonacci Calculator

  1. Generate a sequence. Enter how many Fibonacci numbers you want, up to 50. The calculator shows F(0) through F(n-1), starting at 0. It also shows the Nth term and the golden ratio approximation formed by dividing consecutive terms.
  2. Check any number. Switch to the "Check a Number" tab and enter any non-negative integer. The calculator instantly tells you whether it is a Fibonacci number using the closed-form test (no need to generate the sequence).
  3. Golden ratio. As n grows, the ratio F(n)/F(n-1) converges to φ = 1.6180339887... The calculator shows both the approximation from your sequence and the true value for comparison. By F(20), the ratio is accurate to 7 decimal places.

Example: the first 10 Fibonacci numbers are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. The ratio 34/21 = 1.619047..., which is already very close to φ.

Fibonacci Formulas and Properties

Recursive definition:
  F(0) = 0
  F(1) = 1
  F(n) = F(n-1) + F(n-2)  for n ≥ 2

First 15 terms:
  n:    0  1  1  2  3  5  8  13  21  34  55  89  144  233  377

Closed-form (Binet's formula):
  F(n) = (φⁿ - ψⁿ) / √5
  where φ = (1+√5)/2 ≈ 1.6180339887 (golden ratio)
        ψ = (1-√5)/2 ≈ -0.6180339887

Golden ratio relationship:
  lim(n→∞) F(n+1)/F(n) = φ = 1.6180339887...

Test if N is a Fibonacci number:
  N is Fibonacci iff (5N²+4) or (5N²-4) is a perfect square.
  Example: N=34: 5×34²+4 = 5780+4 = 5784. √5784 ≈ 76.05 (no)
           5×34²-4 = 5776. √5776 = 76. 76² = 5776. Yes! 34 is Fibonacci.

Sum identity: F(0)+F(1)+...+F(n) = F(n+2) - 1
  Example: 0+1+1+2+3+5 = 12 = F(7)-1 = 13-1

Frequently Asked Questions

The Fibonacci sequence is a series of numbers where each number is the sum of the two before it, starting with 0 and 1. So the sequence goes: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, and so on. It was described by Leonardo of Pisa (nicknamed Fibonacci) in 1202, though mathematicians in India knew of it centuries earlier. The sequence appears in nature in the spiral patterns of sunflowers, pinecones, and nautilus shells, and in the branching of trees.

Related Calculators