Skip to content
M2TOOLKIT

Calculators · free tool

Fibonacci Number Calculator

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

Use it as often as you like — it's free, with no sign-up and no limits.

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

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.

Use cases

  • Maths homework and puzzles.
  • Testing big-number and recursion code.
  • Exploring the golden ratio and patterns in nature.

Fibonacci numbers grow fast

By the 100th term the number has 21 digits:

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

Common mistakes

  • Mixing up whether the sequence starts at F(0) = 0 or F(1) = 1.
  • Calculating large terms with ordinary floating point, which loses digits after about F(78).
  • Writing naive recursive code, which gets very slow for big n.

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.

Frequently asked questions

Why does F(n+1) ÷ F(n) approach 1.618?

The ratio converges to the golden ratio φ as the numbers grow.

Is there a formula for F(n)?

Yes, Binet's formula: F(n) = (φⁿ − ψⁿ) ÷ √5, where ψ = 1 − φ.

Are the big results exact?

Yes, they use arbitrary-precision integers.

Content last updated . See how M2Toolkit works.

Helpful guides

Other tools people use alongside the fibonacci calculator.