Skip to content
M2TOOLKIT

Fibonacci Number Calculator

Get the exact nth Fibonacci number and the sequence leading up to it.

  • Free
  • No sign-up
  • Nothing is sent or stored

F(0) = 0, F(1) = 1. Up to n = 20,000, exact.

Result

F(20)
6,765
Digits
4
F(n) ÷ F(n−1)
1.6180339632
Approaches the golden ratio φ = 1.6180339887
How it was calculated
  1. F(0) = 0, F(1) = 1
  2. F(n) = F(n−1) + F(n−2)
Sequence
nF(n)
00
11
21
32
43
55
68
713
821
934
1055
1189
12144
13233
14377
15610
16987
171,597
182,584
194,181
206,765

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved.

How to use the Fibonacci Calculator

  1. Enter the position n (F(0) = 0, F(1) = 1).
  2. Read F(n) and its number of digits.
  3. Tick the option to list the sequence.

What does this tool do?

Each Fibonacci number is the sum of the two before it: 0, 1, 1, 2, 3, 5, 8, 13… The sequence appears in nature — in sunflower seed spirals, pine cones and branching patterns — and in computer science and finance.

The ratio of consecutive Fibonacci numbers gets closer and closer to the golden ratio φ ≈ 1.6180339887. Big values are calculated exactly with arbitrary-precision integers.

Why use it?

  • Exact even for thousands of digits.
  • Lists the sequence.
  • Shows the golden-ratio link.

The formula

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

Privacy

The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.

Last reviewed by the M2Toolkit team.

Other tools people use alongside the fibonacci calculator.