Fibonacci Calculator

The 10th Fibonacci number is 55, the ratio to the previous term is about 1.618 and the first ten terms add to 143. The ratio between neighboring terms approaches the golden ratio, about 1.618034, as n grows. Fibonacci numbers show up in plant growth patterns, art and architecture, computer algorithms and financial folklore.

Use the ratio output to watch how quickly it converges.

Fibonacci Calculator: inputs

Calculated result
Fibonacci number F(n)55
Ratio F(n) ÷ F(n−1)1.6
Sum of the first n terms143

Fibonacci Calculator: Position n sensitivity

Fibonacci Calculator: Position n and Fibonacci number F(n)5 calculations vary the “Position n” input while holding the other entered inputs constant.8219341055118912144

Fibonacci: worked example

Position n10
Fibonacci number F(n)55
Ratio F(n) ÷ F(n−1)1.6
Sum of the first n terms143

Fibonacci: formula

F(n) = F(n−1) + F(n−2), with F(1) = F(2) = 1; the sum of the first n terms = F(n + 2) − 1

Fibonacci Number: Wolfram MathWorld

Enter the position n of the Fibonacci number you want, counting F(1) and F(2) as 1. Each number is the sum of the two before it: 1, 1, 2, 3, 5, 8 and so on. The calculator also shows the ratio of F(n) to the previous term and the sum of the first n terms, which equals F(n plus 2) minus 1.

Use whole positive positions; very large n produces enormous numbers.

Fibonacci: changing Position n

Position nFibonacci number F(n)Ratio F(n) ÷ F(n−1)Sum of the first n terms
8211.654
9341.688
10 (example)551.6143
11891.6232
121441.6376

Fibonacci: compare input ranges

InputTested fromToFibonacci number F(n): low inputFibonacci number F(n): high inputSwing
Position n911348955 (100%)

Fibonacci: individual input comparisons

InputValueFibonacci number F(n)Ratio F(n) ÷ F(n−1)Sum of the first n terms
Position n8211.654
9341.688
10551.6143
11891.6232
121441.6376

Fibonacci: which assumptions move the result?

Fibonacci: Fibonacci number F(n) as Position n changesFibonacci number F(n) starts at 21. Moving Position n from 8 to 12 changes it to 144, with the displayed formula kept fixed.8219341055118912144
Chart quantityDisplayed settings
Position n8 → 12
Fibonacci number F(n)21 → 144

Fibonacci: values and definitions

Quantity and definitionValue used
Position n — A whole number from 1 to 76. Beyond that the value is too large to hold exactly.10
Fibonacci number F(n)55
Ratio F(n) ÷ F(n−1)1.6
Sum of the first n terms143

Fibonacci: half and double Position n

Position nFibonacci number F(n)
55
1055
206,765

Common error: Expecting the ratio to hit the golden ratio exactly. It alternates above and below it and only gets closer as the terms grow.

The pattern's appearance in nature is often overstated, and many claimed examples are approximate. Ratios for small n differ visibly from the golden ratio. Some definitions start the sequence at 0.

Large values need many digits, and floating-point rounding appears above about the 70th term.

Number Theory & Precision calculators: Prime Number Calculator, GCF & LCM Calculator, Prime Factorization Calculator, Scientific Notation Calculator, Percent Error Calculator, Number Base Converter Calculator.

Each Fibonacci number is the sum of the two before it, so 1, 1, 2, 3, 5, 8 and on to 55 at the tenth place. The sequence grows by about 1.6 times at each step, and the ratio of neighbors closes in on the golden ratio. The sum of the first ten terms is 143, which is always one less than the term two places further on.

Shells, petals and stock-chart folklore all cite it.

Note that the count starts with F(1) = 1 and F(2) = 1 here. Some texts start with F(0) = 0, which shifts every position by one.

See the golden ratio calculator, the geometric and arithmetic sequence calculators for other patterns, and the factorial page for a faster-growing function. The prime number and modulo pages explore properties of integers. The exponent page shows how fast growth compares with powers.

How is it related to the golden ratio?

The ratio of consecutive Fibonacci numbers approaches the golden ratio, about 1.618, as the numbers get larger.

Where do Fibonacci numbers appear?

In the arrangement of leaves and seeds in some plants, in computer science algorithms and in mathematical puzzles, though some claims about nature are exaggerated.

What is the Fibonacci sequence?

A sequence starting with 1 and 1 in which each number is the sum of the two preceding numbers: 1, 1, 2, 3, 5, 8, 13.