Fibonacci Number Generator
Random Fibonacci numbers, with the sequence listed in full.
Generated numbers
Your numbers will appear here. Press Generate to start.
Draw random numbers from the Fibonacci sequence, and see the whole sequence listed below. Each term is the sum of the two before it — 0, 1, 1, 2, 3, 5, 8, 13 — which makes it one of the few sequences that turns up as often in nature as it does in textbooks. Widen the range and the tool will list every Fibonacci number within it.
Every match from 0 to 10,000
There are 20 of them, listed in full below. The generator above draws from exactly this set, so every result you get is one of these — and each is equally likely.
- 0
- 1
- 2
- 3
- 5
- 8
- 13
- 21
- 34
- 55
- 89
- 144
- 233
- 377
- 610
- 987
- 1597
- 2584
- 4181
- 6765
Why use this tool?
The sequence, listed
Every Fibonacci number in your range appears on this page in order — the reference table most people are actually looking for.
Random picks too
Draw one Fibonacci number or twenty, with no repeats if you want them distinct.
Exact to 78 terms
The sequence is computed with exact integer arithmetic and stops before precision would be lost, so no result is ever silently approximate.
Free and private
Everything runs in your browser. No account, no tracking, nothing sent anywhere.
How this fibonacci number generator works
The sequence is built from its definition: start at 0 and 1, and repeatedly add the last two terms. Because Fibonacci numbers grow exponentially — roughly by a factor of 1.618 each step — even an enormous range contains very few of them. There are only 21 below 10,000 and just 78 below JavaScript's largest exact integer.
That sparsity is why the tool enumerates the sequence and then draws from it. Picking random numbers and testing whether each is Fibonacci would be absurd: in the range 1 to 10,000 you would expect to test around 500 numbers before finding one. Enumerating first turns it into an instant lookup.
Generation stops at the last term that remains an exact integer. Past that point, values would be silently rounded and the sums would stop being correct — a wrong answer presented confidently, which is worse than no answer.
How to use it
Step 1: Set the range
Choose the lowest and highest values. Widening the maximum adds more terms to the list.
Step 2: Choose how many to draw
Pick a quantity and whether the same term may repeat.
Step 3: Generate
Press Generate, or just read the full sequence listed below.
Example usage
- Agile story points
- Estimation scales use Fibonacci numbers because the widening gaps discourage false precision on large items — nobody argues between 21 and 22.
- Design and layout
- Consecutive Fibonacci numbers approximate the golden ratio, which is why they show up in spacing scales and grid proportions.
- Teaching sequences
- The listed sequence alongside random draws makes it easy to set questions and check answers in the same place.
Frequently asked questions
What are the first Fibonacci numbers?
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144 and onward. Each term is the sum of the two before it. Some definitions start at 1, 1 rather than 0, 1 — both are in common use and the sequence is identical from the third term on.
Why does 1 appear only once in the list?
The sequence proper contains 1 twice, as the second and third terms. Listing it twice here would make it twice as likely to be drawn and would let unique mode return it two times, so the list shows distinct values.
How many Fibonacci numbers are below 1,000?
Sixteen distinct values: 0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610 and 987. Set the maximum to 1000 and the list on this page shows exactly those.
What is the connection to the golden ratio?
Divide any Fibonacci number by the one before it and the answer gets closer to 1.618… as the numbers grow. 8/5 is 1.6, 89/55 is 1.618. The ratio never lands exactly, because the golden ratio is irrational.
How large can these numbers get here?
Up to the 78th term, which is the last one JavaScript can represent exactly as an integer. Beyond that the tool stops rather than returning rounded values that would no longer add up.
Related tools
Random Prime Number Generator
Random primes in any range, plus the full list of primes under 100.
Random Number Generator
Set any minimum and maximum and draw as many numbers as you need.
Random Even Number Generator
Random even numbers in any range, plus the full list from 1 to 100.
Browse every tool in Random Number Generators & Number Tools.