UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingTools
Blog
  1. Home
  2. Math

Fibonacci Calculator

Fibonacci numbers, golden ratio, and sequence generation

F(10)

55

Terms

11

φ (phi)

1.618034

Enter 0–78. Generates the sequence F(0) through F(n).

Uses the property that n is Fibonacci if 5n²±4 is a perfect square.

F(10)

55

Golden Ratio (φ)

1.61803399

Binet Formula

55

Formulas Used

Fibonacci Recurrence

F(n) = F(n-1) + F(n-2), with F(0) = 0, F(1) = 1

Each Fibonacci number is the sum of the two preceding numbers in the sequence.

Where:

F(n)= The nth Fibonacci number
n= Position in the sequence (0-indexed)

Binet's Formula

F(n) = (φⁿ - ψⁿ) / √5

Direct formula using the golden ratio, avoiding iterative computation.

Where:

φ= (1 + √5) / 2 ≈ 1.618 (golden ratio)
ψ= (1 - √5) / 2 ≈ -0.618 (conjugate)
√5= Square root of 5 ≈ 2.236

Golden Ratio

φ = (1 + √5) / 2 ≈ 1.6180339887...

The limit of F(n+1)/F(n) as n approaches infinity. An irrational number with unique mathematical properties.

Where:

φ= Phi, the golden ratio
√5= Square root of 5

Example Calculations

1Calculate F(10)

Inputs

Position (n)10

Result

F(10)55
Sequence0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55
F(10)/F(9)1.6176...

F(10) = F(9) + F(8) = 34 + 21 = 55. The ratio 55/34 ≈ 1.6176 is close to the golden ratio 1.6180.

2Calculate F(20)

Inputs

Position (n)20

Result

F(20)6,765
F(20)/F(19)1.6180339...
Golden Ratio1.6180339887...

F(20) = 6,765. The ratio F(20)/F(19) = 6765/4181 = 1.6180339... matches the golden ratio to 7 decimal places.

3Check if 144 is Fibonacci

Inputs

Check Number144

Result

Is Fibonacci?Yes
PositionF(12) = 144
5n² + 4103,684 = 322²

5 × 144² + 4 = 5 × 20,736 + 4 = 103,684 = 322². Since this is a perfect square, 144 is a Fibonacci number (F(12)).

Frequently Asked Questions

Q

What is the Fibonacci sequence?

The Fibonacci sequence starts with 0 and 1, and each subsequent number is the sum of the two preceding ones: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, and so on. It was introduced to Western mathematics by Leonardo of Pisa (Fibonacci) in 1202.

  • F(0) = 0, F(1) = 1, then F(n) = F(n-1) + F(n-2)
  • First 10 terms: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34
  • Named after Leonardo of Pisa (Fibonacci), c. 1202
  • Originally described rabbit population growth
  • Appears throughout nature: sunflowers, pinecones, shells
nF(n)Calculation
00Base case
11Base case
553 + 2
105534 + 21
206,7654,181 + 2,584
Q

What is the golden ratio and how does it relate to Fibonacci?

The golden ratio (phi, φ) equals (1 + √5) / 2, approximately 1.6180339887. The ratio of consecutive Fibonacci numbers F(n+1)/F(n) converges to phi as n increases. By F(10)/F(9) = 55/34 = 1.6176..., it is already accurate to 3 decimal places.

  • φ = (1 + √5) / 2 ≈ 1.6180339887...
  • F(n+1)/F(n) approaches φ as n increases
  • F(3)/F(2) = 2/1 = 2.0 (rough approximation)
  • F(10)/F(9) = 55/34 = 1.6176... (3 decimal accuracy)
  • F(20)/F(19) = 6765/4181 = 1.6180339... (7 decimal accuracy)
RatioValueError from φ
F(5)/F(4) = 5/31.66670.0486
F(8)/F(7) = 21/131.61540.0027
F(10)/F(9) = 55/341.61760.0004
F(15)/F(14) = 610/3771.618030.00001
Q

What is Binet's formula for Fibonacci numbers?

Binet's formula computes F(n) directly without iteration: F(n) = (φ^n - ψ^n) / √5, where φ = (1+√5)/2 and ψ = (1-√5)/2. Since |ψ| < 1, the ψ^n term shrinks rapidly, so F(n) ≈ round(φ^n / √5) for n >= 0.

  • F(n) = (φⁿ - ψⁿ) / √5
  • φ = (1+√5)/2 ≈ 1.618 (golden ratio)
  • ψ = (1-√5)/2 ≈ -0.618 (conjugate)
  • |ψ^n| < 0.5 for all n >= 0, so rounding works
  • Allows O(1) computation of any Fibonacci number
nIterative F(n)Binet FormulaMatch
555.000Yes
105555.000Yes
206,7656,765.000Yes
30832,040832,040.000Yes
Q

How do I check if a number is a Fibonacci number?

A positive integer n is a Fibonacci number if and only if 5n² + 4 or 5n² - 4 is a perfect square. For example, 13: 5(169) + 4 = 849 (not square), 5(169) - 4 = 841 = 29² (perfect square), so 13 is Fibonacci.

  • Test: n is Fibonacci if 5n² + 4 or 5n² - 4 is a perfect square
  • 13: 5(169) - 4 = 841 = 29², so yes
  • 14: 5(196) + 4 = 984 (not square), 5(196) - 4 = 976 (not square), so no
  • Works for all non-negative integers
Number5n²+45n²-4Fibonacci?
8324 = 18²316Yes
13849841 = 29²Yes
14984976No
212209 = 47²2201Yes
Q

Where do Fibonacci numbers appear in nature?

Fibonacci numbers appear in many natural phenomena: the number of petals on flowers (lilies have 3, buttercups 5, daisies 13 or 21), spiral patterns in sunflower heads and pinecones, and the branching of trees. The golden spiral based on Fibonacci rectangles models nautilus shells.

  • Flower petals: lily (3), buttercup (5), daisy (13, 21, 34)
  • Sunflower spirals: typically 34 clockwise and 55 counterclockwise
  • Pinecone spirals: 8 and 13 spirals in opposite directions
  • Tree branching patterns follow Fibonacci counts
  • Nautilus shell growth approximates the golden spiral
Natural PhenomenonFibonacci NumbersPattern
Lily petals3Petal count
Sunflower34, 55Opposing spirals
Pinecone8, 13Opposing spirals
Pineapple8, 13, 21Hexagonal scales

Related Calculators

GCD & LCM Calculator

Euclidean algorithm for GCD and LCM

Prime Factorization

Factor tree and divisor analysis

Ratio Calculator

Solve and simplify ratios and proportions

Percent Calculator

Calculate percentages quickly and accurately

Pythagorean Theorem Calculator

Solve a\u00B2 + b\u00B2 = c\u00B2 for any missing side with step-by-step solutions. Identifies Pythagorean triples and calculates triangle area, perimeter, and angles.

Distance Calculator

Calculate the distance between two points in 2D or 3D using the distance formula. Shows squared distance, midpoint, components, and step-by-step work.

Related Resources

GCD & LCM Calculator

Find greatest common divisor and least common multiple

Prime Factorization Calculator

Break numbers into prime factors

Statistics Calculator

Descriptive statistics for data sets

Square Root Calculator

Calculate square roots and nth roots

Last Updated: Mar 9, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro