Skip to content
MasterMath

Fibonacci Calculator

Any term of the Fibonacci sequence, the whole run up to it, and the ratio between consecutive terms — which converges on the golden ratio.

That term is

—

That term is—
The sequence up to it—
Sum of all the terms—
Ratio to the previous term—
Golden ratio—

How this was worked out

    The rule

    F(n) = F(n−1) + F(n−2), starting from 0 and 1

    Why it works

    Each Fibonacci number is the sum of the two before it. That single rule produces a sequence that turns up in botany, in art and in the analysis of algorithms, and whose consecutive ratios approach the golden ratio.

    How to do it by hand

    1. Start with 0 and 1
    2. Add the last two to get the next
    3. Repeat until you reach the term you want
    4. Divide any term by the previous one to see the ratio converge

    What is worth knowing

    The convergence on the golden ratio, about 1.618, is exact in the limit and fast in practice: by the tenth term the ratio is already right to three decimals. Fibonacci introduced the sequence to Europe in 1202 with a problem about breeding rabbits, though Indian mathematicians had described it centuries earlier. The botanical connection is real but often overstated: sunflower seed spirals and pine cone scales do follow Fibonacci counts, because that packing is efficient, but plenty of plants do not. Beyond term 78 the numbers exceed what a double can hold exactly, which is where this calculator stops.

    Frequently asked questions

    What is the Fibonacci sequence?

    Each number is the sum of the two before it, starting 0, 1, 1, 2, 3, 5, 8, 13.

    What is its link to the golden ratio?

    The ratio between consecutive terms converges on it, about 1.618. By the tenth term it is already accurate to three decimals.

    Does it really appear in nature?

    In some places, genuinely: sunflower spirals and pine cone scales follow it, because that packing is efficient. The claim is often stretched further than the evidence.

    Why does the calculator stop at term 78?

    Beyond that the numbers exceed what a double-precision float can hold exactly, and the answers would be silently wrong.