← All text tools

Fibonacci number calculator

Find the nth Fibonacci or Lucas number exactly, list the sequence, and check whether any number is a Fibonacci number.

  • Free
  • No sign-up
  • Works on any device

About Fibonacci number calculator

Each Fibonacci number is the sum of the two before it: 0, 1, 1, 2, 3, 5, 8 and so on. This calculator returns the nth term as an exact whole number using BigInt arithmetic and the fast-doubling method, so even the 100,000th term has all its digits. F(50) is 12,586,269,025. You can switch to Lucas numbers, list the first terms, compare with Binet's golden-ratio formula, and test whether any number is Fibonacci using the rule that 5m^2 plus or minus 4 must be a perfect square. A ratio table shows convergence to 1.618.

How to use Fibonacci number calculator

  1. Enter the position n and choose Fibonacci or Lucas numbers.
  2. Read the exact value, the digit count and the Binet comparison, and set how many terms to list.
  3. Type any number into the check box to see whether it is a Fibonacci number and which one.

Why use this tool?

Also known as

Frequently asked questions

Why does the Fibonacci sequence relate to the golden ratio?

The ratio of neighbouring terms approaches (1 + sqrt 5) / 2, about 1.618. The table shows how quickly the gap shrinks as the numbers grow.

Why does Binet's formula stop working for large n?

It uses irrational numbers stored with limited precision, so rounding errors grow. Beyond about n = 70 the result is no longer an exact whole number, which is why exact integers are used here.

What are Lucas numbers?

They follow the same rule as Fibonacci numbers but start with 2 and 1, giving 2, 1, 3, 4, 7, 11, 18. They are closely tied to the Fibonacci numbers.

Is Fibonacci number calculator free?

Yes. Fibonacci number calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Fibonacci number calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.

Related tools