Fibonacci Calculator
Generate the Fibonacci sequence up to any number of terms, live as you type, with no precision loss.
Computed live using JavaScript's BigInt, so it stays exact even at hundreds of terms (a plain number would lose precision well before then). The sequence starts at 0. Runs entirely in your browser.
Need the opposite? Rounding Calculator
What is Fibonacci Calculator?
Choose how many terms you want and see the Fibonacci sequence generated instantly. It's computed with JavaScript's BigInt, so it stays exact even hundreds of terms in, well past where a normal number would lose precision.
First 15 Fibonacci Numbers
| Position (n) | Fibonacci Number |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 1 |
| 3 | 2 |
| 4 | 3 |
| 5 | 5 |
| 6 | 8 |
| 7 | 13 |
| 8 | 21 |
| 9 | 34 |
| 10 | 55 |
| 11 | 89 |
| 12 | 144 |
| 13 | 233 |
| 14 | 377 |
How to Use the Fibonacci Calculator
- 1
Choose the Number of Terms: Set how many terms of the sequence you want generated.
- 2
Read the Sequence Instantly: The full sequence appears automatically, computed with BigInt for exact precision.
The Fibonacci Recurrence Relation
Each term is the sum of the two before it: F(n) = F(n-1) + F(n-2), starting from F(0) = 0 and F(1) = 1. That single rule is what this tool applies repeatedly, no formula lookup, just adding the previous two results together for however many terms you ask for. Fibonacci numbers show up beyond the classic rabbit-population example. They're used to teach recursion and dynamic programming in computer science courses, appear in the time complexity analysis of Fibonacci heaps, and the ratio between consecutive terms converges toward the golden ratio (≈1.618) as n grows, a genuinely useful property, not just a curiosity.
How to Generate the Sequence by Hand
Start with 0 and 1. Each next term is the sum of the previous two: 0, 1, 0+1=1, 1+1=2, 1+2=3, 2+3=5, 3+5=8, 5+8=13, 8+13=21, 13+21=34... This tool does exactly that, term by term, using BigInt so the addition stays exact no matter how large the numbers get.
Frequently Asked Questions
Common questions about Fibonacci Calculator.