Calculators

Fibonacci Calculator

Calculate the exact nth Fibonacci number, its digit count and the next number privately in your browser.

Find a Fibonacci number and its successor with exact integer arithmetic. Your data stays in your browser.

Enter an index from 0 to 10,000 using digits only, without commas or exponent notation. We use F(0) = 0 and F(1) = 1. Leading zeros are accepted within the five-digit input limit.

Your Fibonacci number will appear here.

Find an exact number in the Fibonacci sequence.

The Fibonacci sequence starts with F(0) = 0 and F(1) = 1. Each later term is the sum of the previous two: F(n) = F(n − 1) + F(n − 2). The first terms are 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55. For index 10, F(10) is 55 and the next term is 89. Enter an index from 0 to 10,000 using at most five digits, without signs, decimals, separators or scientific notation. Leading zeros are accepted. Browser BigInt addition produces exact integers, including values larger than the safe range of ordinary JavaScript numbers. The digit count includes the single digit in zero. This tool finds a term by its zero-based index; it does not test sequence membership or infer patterns from a list. All calculations and copy actions stay in your browser.

Frequently Asked Questions

Everything you need to know about this tool, how it works, and privacy.

Does the Fibonacci sequence start at zero or one?

This calculator uses zero-based indexing: F(0) = 0, F(1) = 1 and F(2) = 1. At index 10, the value is 55.

How are Fibonacci numbers calculated?

Each term is the sum of the previous two terms. Starting with zero and one, the tool repeatedly adds exact BigInt integers rather than using a rounded closed-form approximation.

What is the largest supported index?

Enter an index from 0 to 10,000 with at most five digits. The exact result can be long; F(10000) contains 2090 digits. The next number is also shown.

Does this check whether a number is Fibonacci?

No. The input is the index of the term to calculate, not a candidate sequence value. Your input and results stay in your browser.