Fibonacci Number Calculator

Enter any non-negative integer n to see the Fibonacci number at that position using Binet's closed-form formula.

Index in the Fibonacci sequence starting at 0

For educational purposes only.

Examples

  • n = 7 ⇒ 13
  • n = 10 ⇒ 55
  • n = 15 ⇒ 610

FAQ

Can I use negative numbers?

This calculator works for non-negative integers only.

Why is the result rounded?

Binet's formula yields decimals, so rounding gives the exact integer.

What is the first Fibonacci number?

By this convention, F(0) = 0 and F(1) = 1.

Is there a faster way to compute?

This closed-form expression avoids iterative calculation.

Additional Information

  • Sequence starts with F(0) = 0 and F(1) = 1.
  • Binet's formula uses the golden ratio to compute terms directly.
  • Results may lose precision for very large n due to floating-point limits.