Skip to content
ToolsLeb ToolsLeb

Fibonacci Sequence Calculator

Calculate the nth number in the Fibonacci sequence.

Simple Math

Calculator Inputs

Your Result

Enter your details and press Calculate to see your result.

Formula

Fibonacci Sequence = Fibonacci Nth(Position (n))
Position (n) Which term in the sequence (0-indexed: F(0)=0, F(1)=1, F(2)=1, F(3)=2...).

How it works

  1. Enter a position n in the Fibonacci sequence.
  2. View the value at that position.

Share on Social Media:

The Fibonacci sequence starts 0, 1, and each number after that is the sum of the two before it: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55… Enter a position n (from 0 to 1,000) and this calculator gives you F(n) exactly, with every digit.

Definition and indexing

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

The calculator counts from zero, so F(10) = 55, not 34. Some books start at F(1) = 1, F(2) = 1, which gives the same values with the same numbering. Check which convention your course or problem uses.

Examples

nF(n)
1055
206,765
30832,040
5012,586,269,025
100354,224,848,179,261,915,075

F(1000) has 209 digits. The calculator adds numbers as exact strings, so there's no rounding even at that size.

The golden ratio

Divide each Fibonacci number by the one before it and the result gets closer and closer to the golden ratio, φ ≈ 1.6180339887. For example, 55 ÷ 34 = 1.6176. Binet's formula uses this to give F(n) directly: F(n) = (φⁿ − ψⁿ) ÷ √5, where ψ = 1 − φ.

Where Fibonacci numbers appear

  • Nature: the number of spirals in sunflower heads, pine cones and pineapples is often a Fibonacci number.
  • Computer science: a classic example for teaching recursion and dynamic programming.
  • Agile planning: story points often use a modified Fibonacci scale (1, 2, 3, 5, 8, 13).
  • Conversions: consecutive Fibonacci numbers roughly convert miles to kilometres: 5 miles ≈ 8 km, 8 miles ≈ 13 km.

The sequence is named after Leonardo of Pisa (Fibonacci), whose 1202 book Liber Abaci introduced it to Europe, though Indian mathematicians described it centuries earlier.

Frequently Asked Questions

A series of numbers where each number is the sum of the two before it, starting 0, 1, 1, 2, 3, 5, 8, 13, and so on.

The Fibonacci sequence up to a term or value you specify, or a specific term's value.

Approximations of it appear in patterns like flower petal counts, pinecone spirals, and shell shapes, which is part of why it's a popular topic beyond pure math.

Yes — Binet's formula can calculate a specific Fibonacci term directly using the golden ratio, though repeated addition is simpler to compute for smaller terms.

As you go further into the sequence, the ratio of consecutive Fibonacci numbers gets closer and closer to the golden ratio (approximately 1.618), a connection studied extensively in mathematics and art.