🌀Fibonacci Calculator

Calculate any Fibonacci number up to the 70th term, view the full sequence, discover the golden ratio, and explore Fibonacci properties.

Prefer to skip the form? Scroll down and Ask AI Instead. Just describe your situation and let AI handle the math for you in seconds.

Fibonacci Value F(n)

55

F(10) = 55. Golden ratio approximation: 1.61764706 (true φ ≈ 1.61803399).

Previous Term F(n-1)34
Next Term F(n+1)89
F(n)/F(n-1) approx. φ2
True Golden Ratio (φ)2
Even or OddOdd
Number of Digits2
Sequence Preview1, 1, 2, 3, 5, 8, 13, 21, 34, 55

Fibonacci Details

55

1.61764706

Odd

2

Advertisement

728 × 90

✦ Ask AI Instead

Fibonacci Calculator: Fibonacci Sequence Generator and Golden Ratio Explorer

This Fibonacci calculator works as a full Fibonacci sequence generator, computing any term up to F(70) and displaying the ratio between consecutive terms as it converges toward the golden ratio. The Fibonacci sequence starts with 1, 1 and then each number equals the sum of the two before it: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144... Named after Leonardo of Pisa (known as Fibonacci), who introduced the sequence to Western mathematics in 1202, these numbers appear in patterns stretching from ancient math problems to the spirals of a sunflower.

How to Calculate Fibonacci Numbers

The Fibonacci sequence is defined by a recursive formula: F(n) = F(n-1) + F(n-2), with the starting values F(1) = 1 and F(2) = 1. Every term after the second is simply the sum of its two predecessors. This makes the sequence easy to extend by hand for small terms but quickly produces large numbers that require a calculator for higher positions.

  • F(1) = 1
  • F(2) = 1
  • F(3) = 1 + 1 = 2
  • F(4) = 1 + 2 = 3
  • F(5) = 2 + 3 = 5
  • F(10) = 55
  • F(20) = 6,765
  • F(50) = 12,586,269,025

Growth is approximately exponential. Each successive term is roughly 1.618 times the previous one, which is why Fibonacci numbers grow so quickly and why that ratio is mathematically significant.

Nth Fibonacci Number Calculator: Using the Formula Directly

For very large n, repeatedly adding previous terms is slow. Binet's formula provides a closed-form expression for the nth Fibonacci number without computing all previous terms: F(n) = (phi^n - psi^n) / sqrt(5), where phi = (1 + sqrt(5)) / 2 approximately 1.61803 and psi = (1 - sqrt(5)) / 2 approximately -0.61803.

Because psi is less than 1 in absolute value, psi^n approaches zero as n grows. This means F(n) is simply the nearest integer to phi^n / sqrt(5) for any n. Binet's formula reveals that Fibonacci numbers are intimately tied to the golden ratio at a deep algebraic level, not just through the ratio of consecutive terms.

Fibonacci Sequence and the Golden Ratio

The golden ratio phi (approximately 1.6180339887) is the value that consecutive Fibonacci numbers converge toward when you divide each term by the one before it. The convergence accelerates as n increases:

  • F(3)/F(2) = 2/1 = 2.0000
  • F(5)/F(4) = 5/3 = 1.6667
  • F(10)/F(9) = 55/34 = 1.6176
  • F(15)/F(14) = 610/377 = 1.61803...
  • F(20)/F(19) = 6765/4181 = 1.618034...

The golden ratio is the positive solution to the equation x^2 = x + 1, giving x = (1 + sqrt(5)) / 2. This self-referential property means that phi squared equals phi plus 1, and 1/phi equals phi minus 1. A rectangle whose sides are in the golden ratio has the property that removing a square from it leaves a smaller rectangle with the same proportions, which is why the Fibonacci spiral and the golden spiral look nearly identical.

Fibonacci Sequence in Nature Patterns

Fibonacci numbers appear in biological growth patterns so consistently that researchers call it phyllotaxis, the study of leaf and seed arrangement. When a plant adds new growth at the golden angle (approximately 137.5 degrees, derived from phi), each new element occupies a gap in the previous arrangement without overlapping. The result is a spiral pattern where the number of clockwise and counterclockwise spirals are always consecutive Fibonacci numbers.

  • Sunflowers typically show 34 clockwise spirals and 55 counterclockwise spirals, or 55 and 89 in larger heads.
  • Pine cones and pineapples show 8 and 13 spirals, or 13 and 21.
  • Flower petals often come in Fibonacci counts: lilies have 3, buttercups 5, delphiniums 8, ragwort 13.
  • Nautilus shells grow as logarithmic spirals closely related to the golden spiral, though the match is approximate rather than exact.

These are not coincidences engineered by nature. They are the mathematical outcome of a growth process that places each new element at the golden angle, which is the angle that maximizes packing efficiency and minimizes crowding. Natural selection favors this arrangement because more seeds or leaves fit in the available space.

The Rabbit Problem: Origins of the Fibonacci Sequence

Fibonacci introduced the sequence in his 1202 book Liber Abaci through a problem about rabbit population growth. Assume a pair of rabbits produces a new pair every month starting from their second month of life, and no rabbits die. How many pairs exist after n months? The answer in each month is a Fibonacci number. This idealized model does not describe real rabbits, but it captures an important mathematical structure: growth that depends on two previous generations rather than just one.

Frequently Asked Questions

What is the Fibonacci sequence?

The Fibonacci sequence is a series of numbers where each term equals the sum of the two terms before it, starting with 1 and 1. The sequence goes: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, and continues indefinitely. The recursive formula is F(n) = F(n-1) + F(n-2) with F(1) = 1 and F(2) = 1. The sequence grows approximately exponentially, with each term roughly 1.618 times the previous one.

How do I calculate the nth Fibonacci number?

The iterative method starts from F(1) = 1 and F(2) = 1, then repeatedly applies F(n) = F(n-1) + F(n-2) until you reach the desired position. For a direct calculation without iteration, Binet's formula gives F(n) = (phi^n - psi^n) / sqrt(5), where phi = (1 + sqrt(5)) / 2 and psi = (1 - sqrt(5)) / 2. For large n, F(n) is simply the nearest integer to phi^n / sqrt(5) because psi^n becomes negligibly small.

What is the connection between Fibonacci numbers and the golden ratio?

The ratio of consecutive Fibonacci numbers converges to the golden ratio phi as n increases. F(2)/F(1) = 1, F(3)/F(2) = 2, F(10)/F(9) = 1.6176, and the ratios approach phi = 1.6180339887... ever more closely. This connection exists because Fibonacci numbers satisfy the same recurrence relation that defines phi algebraically (x^2 = x + 1). Binet's formula makes the relationship explicit: Fibonacci numbers are exact integer-rounded powers of phi scaled by 1/sqrt(5).

Where does the Fibonacci sequence appear in nature?

Fibonacci numbers appear in the spiral arrangements of seeds in sunflowers, scales on pine cones, and segments on pineapples, where the spiral counts in opposite directions are always consecutive Fibonacci numbers. Flower petal counts (3, 5, 8, 13, 21) follow the sequence. These patterns arise because plants produce new growth at the golden angle (137.5 degrees), which is derived from phi. Placing each new element at this angle maximizes space efficiency, and the resulting spiral counts are always Fibonacci numbers.