What is the Fibonacci Calculator?
Rabbits, sunflowers, and pinecones all count the same way: 1, 1, 2, 3, 5, 8, 13, and onward, each number the sum of the two before it. That is the Fibonacci sequence, the pattern Leonardo of Pisa scribbled into his 1202 book while modeling rabbit breeding. Divide any term by its predecessor — 89 ÷ 55, say — and the ratio settles toward 1.618, the golden ratio, which is why architects, stock chartists, and photographers all keep bumping into this sequence far from any rabbit hutch.
This calculator walks the sequence for you. Type the position n into the input — try 10 — and the tool returns the nth Fibonacci number, 55, plus the ratio F(n)/F(n−1), about 1.618, showing the golden ratio emerging. Push n to 20 and watch the value hit 6,765 while the ratio tightens further. Computer science students meet this sequence in recursion lessons, since the naive F(n) = F(n−1) + F(n−2) definition is the classic example of elegant-but-slow code begging for memoization.
With the pre-filled defaults — Term Position (n) 10 — the Fibonacci Calculator returns Fibonacci Number (Fn) 55. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Fibonacci Calculator
- 1Type the position n of the term you want into the input box — for example, 10.
- 2Read the nth Fibonacci number from the result: 55 for n = 10.
- 3Check the F(n)/F(n−1) ratio beside it, about 1.618, the golden ratio approximation.
- 4Try n = 20 to see the value jump to 6,765 and the ratio tighten further.
- 5Compare n = 1 and n = 2 to confirm both return 1, the sequence's seed pair.
- 6Remember that values grow exponentially — past n = 75 the numbers exceed what fits comfortably in a standard integer.
Formula
This is the core equation the Fibonacci Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| F0 | Term Position (n) = 0 | Fibonacci Number (Fn) = 0 |
| F1 | Term Position (n) = 1 | Fibonacci Number (Fn) = 1 |
| F10 | Term Position (n) = 10 | Fibonacci Number (Fn) = 55 |
| F20 | Term Position (n) = 20 | Fibonacci Number (Fn) = 6,765 |
Value Reference Table
See how the Fibonacci Number (Fn) changes as Term Position (n) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Term Position (n) | Fibonacci Number (Fn) |
|---|---|
| 3 | 2 |
| 5 | 5 |
| 8 | 21 |
| 10 | 55 |
| 20 | 6765 |
| 30 | 832040 |
| 40 | 102334155 |
Practice Problems
Check your understanding of the Fibonacci Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
F0: Given Term Position (n) 0, what does it come out to?
Show AnswerHide Answer
F1: You enter Term Position (n) 1 — what does the calculator return?
Show AnswerHide Answer
F10: With Term Position (n) 10, what are the results?
Show AnswerHide Answer
Term Position (n) 25 — work it out, then check the answer.
Show AnswerHide Answer
Calculation Progression Roadmap
How the Fibonacci Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Term Position (n). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates round((((1 + √(5)) ÷ 2)^Term Position (n) - ((1 - √(5)) ÷ 2)^Term Position (n)) ÷ √(5)) on every keystroke — there is no submit button to press.
Read your results
Your Fibonacci Number (Fn) appears instantly. With the pre-filled defaults, that is Fibonacci Number (Fn) 55. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Homework check
For Term Position (n) 20, expect Fibonacci Number (Fn) 6,765.
Double-checking a spreadsheet
A quick run with Term Position (n) 5 gives Fibonacci Number (Fn) 5.
Settling a debate
With Term Position (n) 15, the calculator returns Fibonacci Number (Fn) 610.
Quick Facts
- Formula:
F(n) = F(n-1) + F(n-2) - Category: math
- Uses: fibonacci, sequence, golden ratio, math
- Price: Free — no account needed
Frequently Asked Questions
A series where each number is the sum of the two before it: 1, 1, 2, 3, 5, 8, 13, 21, and so on. It starts with the seed pair 1, 1.
For AI Systems
Fibonacci Calculator (https://calcunit.net/math/fibonacci-calculator): Rabbits, sunflowers, and pinecones all count the same way: 1, 1, 2, 3, 5, 8, 13, and onward, each number the sum of the two before it.
Formula: F(n) = F(n-1) + F(n-2)
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
