CalcUnit Logo

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

  1. 1Type the position n of the term you want into the input box — for example, 10.
  2. 2Read the nth Fibonacci number from the result: 55 for n = 10.
  3. 3Check the F(n)/F(n−1) ratio beside it, about 1.618, the golden ratio approximation.
  4. 4Try n = 20 to see the value jump to 6,765 and the ratio tighten further.
  5. 5Compare n = 1 and n = 2 to confirm both return 1, the sequence's seed pair.
  6. 6Remember that values grow exponentially — past n = 75 the numbers exceed what fits comfortably in a standard integer.

Formula

F(n) = F(n-1) + F(n-2)

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

ScenarioCalculationResult
F0Term Position (n) = 0Fibonacci Number (Fn) = 0
F1Term Position (n) = 1Fibonacci Number (Fn) = 1
F10Term Position (n) = 10Fibonacci Number (Fn) = 55
F20Term Position (n) = 20Fibonacci 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)
32
55
821
1055
206765
30832040
40102334155

Practice Problems

Check your understanding of the Fibonacci Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

F0: Given Term Position (n) 0, what does it come out to?

Show Answer
With Term Position (n) 0, the results are Fibonacci Number (Fn) 0.
Q2

F1: You enter Term Position (n) 1 — what does the calculator return?

Show Answer
Entering Term Position (n) 1 gives Fibonacci Number (Fn) 1.
Q3

F10: With Term Position (n) 10, what are the results?

Show Answer
The calculator returns Fibonacci Number (Fn) 55 for Term Position (n) 10.
Q4

Term Position (n) 25 — work it out, then check the answer.

Show Answer
With Term Position (n) 25, the results are Fibonacci Number (Fn) 75,025.

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.

01

Gather your inputs

Type in your Term Position (n). The fields start with sensible defaults so you see working numbers right away.

02

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.

03

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.

04

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.

05

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.

1

Homework check

For Term Position (n) 20, expect Fibonacci Number (Fn) 6,765.

2

Double-checking a spreadsheet

A quick run with Term Position (n) 5 gives Fibonacci Number (Fn) 5.

3

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

Share this Calculator

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