Fibonacci Calculator

Fibonacci Calculator

Compute the nth Fibonacci number with exact BigInt arithmetic and a preview of the sequence.

Last updated: June 2026 | By Patchworkr Team

Exact Sequence Value
Enter a non-negative integer. The calculator uses an iterative BigInt loop so the result stays exact.
Result
F(n)
55
Digits
2
Index
10
Sequence preview: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55

What the sequence is

Each Fibonacci number equals the sum of the two previous numbers, starting from 0 and 1.

Why BigInt matters

BigInt keeps large Fibonacci values exact instead of overflowing JavaScript numbers.

Formula and example

F(n) = F(n-1) + F(n-2)

Example: F(10) = 55.

Worked Example

Calculate F(10).

1. Start with F(0) = 0 and F(1) = 1.

2. Add the previous two terms repeatedly.

3. F(10) = 55.

Final answer: 55

Related Tools