Home Math Fibonacci Number Calculator

Fibonacci Number Calculator

The nth Fibonacci number and the sum of the first n.

Advertisement

How it works

Each Fibonacci number is the sum of the two before it. Start at 0 and 1 and keep adding. The page counts up to your n, so there is no rounding up to 78 terms. The sum of the first n terms equals F(n+2) minus 1.

Advertisement

Formula

F0 = 0, F1 = 1, Fn = F(n−1) + F(n−2)
sum of F1..Fn = F(n+2) − 1

Sources

Example

n = 10: the sequence is 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, so F10 = 55. The sum F1 to F10 = 143 = F12 − 1 = 144 − 1. Check by Binet's formula: 55.0000.

Frequently asked questions

Does it start at 0 or 1?

Here F0 = 0 and F1 = 1.

Why stop at 78?

F78 is the last Fibonacci number below the largest exact whole number a browser can hold (2^53).

Is there a closed form?

Yes, Binet's formula.

What is the ratio of neighbours?

It tends to 1.618034, the golden ratio.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with the discriminant and the vertex.