Fibonacci Sequence Calculator
Generate exact Fibonacci terms, find indexed values through F₅₀₀₀, and calculate prefix sums.
Generate Fibonacci numbers and find exact terms
The Fibonacci sequence starts with F₀ = 0 and F₁ = 1. Each next term is the sum of the two before it. Generate up to 500 terms, find an indexed term through F₅₀₀₀, or get the sum of the terms you generated.
Enter 1–500 terms. The first term is F₀ = 0.
First 20 terms
- F00
- F11
- F21
- F32
- F43
- F55
- F68
- F713
- F821
- F934
- F1055
- F1189
- F12144
- F13233
- F14377
- F15610
- F16987
- F171597
- F182584
- F194181
Sum of the first 20 terms
How to use this Fibonacci calculator
- Choose whether to generate a sequence or find one indexed term.
- Enter a whole-number count or zero-based index within the displayed limit.
- Read the exact result and use the copy action if you need it elsewhere.
A count of N generates F₀ through Fₙ₋₁. The value of Fₙ is the term at index n, so the count and index are different quantities. The recurrence is Fₙ = Fₙ₋₁ + Fₙ₋₂ for n ≥ 2.
Worked example: find F₅
Start with F₀ = 0 and F₁ = 1. Then F₂ = 1, F₃ = 2, F₄ = 3, and F₅ = F₄ + F₃ = 3 + 2 = 5.
Fibonacci calculator features
- Generate up to 500 canonical terms with exact integer values.
- Find Fₙ exactly for any index from 0 through 5,000.
- See the sum of the generated terms and copy results.
- All calculations run in this browser tab.
Fibonacci calculator FAQ
Does the Fibonacci sequence start with 0 or 1?
This calculator uses zero-based indexing: F₀ = 0 and F₁ = 1. Some lists call 1 the first term, but this page shows each term's index so the convention is clear.
What is the difference between a term count and an index?
A count asks for how many terms to list. An index n asks for the single value Fₙ. For example, the first 10 terms are F₀ through F₉, while F₁₀ is the next term.
How is the sum of the generated terms calculated?
For N terms starting at F₀, the sum F₀ + … + Fₙ₋₁ is Fₙ₊₁ − 1. The result is shown below the generated list.
Are the large values rounded?
No. The calculator uses exact integer arithmetic for Fibonacci values and displays the full decimal result within its stated limits.