Fibonacci Calculator

Updated July 2026

Generate the first N terms of the Fibonacci sequence — 0, 1, 1, 2, 3, 5, 8, 13… — or jump straight to the Nth Fibonacci number. You also get the sum of the listed terms and the ratio of the last two terms, which closes in on the golden ratio φ. Everything runs privately in your browser using exact big-number math.

The Fibonacci sequence follows the rule F(n) = F(n−1) + F(n−2), starting from F(0) = 0 and F(1) = 1. Each term is simply the sum of the two terms before it: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55…
Whole number, 0 or more. Capped at 1000 to keep output readable.
Nth Fibonacci number
Terms shown
Sum of listed terms
Last two terms' ratio
Golden ratio φ
1.6180339887

How this Fibonacci calculator works

The Fibonacci sequence is one of the most famous patterns in mathematics. It begins with 0 and 1, and every term after that is the sum of the two terms before it. So 0 + 1 = 1, then 1 + 1 = 2, then 1 + 2 = 3, 2 + 3 = 5, 3 + 5 = 8, and the values grow without end.

This tool offers two modes. In "Generate first N terms" it lists the sequence from F(0) up to F(N−1) and shows the running sum of those terms. In "Find the Nth term" it computes a single value, F(N), directly. Because Fibonacci numbers grow very fast — F(100) already has 21 digits — the calculator uses JavaScript BigInt arithmetic so every digit is exact, with no rounding or scientific-notation loss.

Worked example: ask for the first 10 terms and you get 0, 1, 1, 2, 3, 5, 8, 13, 21, 34. Their sum is 88. Switch to "Find the Nth term" with N = 10 and you get F(10) = 55 (the eleventh term, since counting starts at F(0)). Dividing 34 ÷ 21 ≈ 1.619 — already close to the golden ratio φ ≈ 1.618.

Reference — the first 15 terms (F(0) to F(14)): 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377. As n grows, F(n)/F(n−1) converges on the golden ratio φ ≈ 1.6180339887.

Frequently asked questions

What is the Fibonacci sequence?
The Fibonacci sequence is a series of numbers where each term is the sum of the two before it. It starts 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 and continues forever.
How is the Fibonacci sequence calculated?
It uses the rule F(n) = F(n−1) + F(n−2), with F(0) = 0 and F(1) = 1. To get any term you add the two terms immediately before it, so F(2) = 1, F(3) = 2, F(4) = 3, and so on.
What is the golden ratio connection?
As you go further along, the ratio of each term to the one before it approaches the golden ratio φ ≈ 1.6180339887. For example 34 ÷ 21 ≈ 1.619 and 89 ÷ 55 ≈ 1.618.
Does the Fibonacci sequence start at 0 or 1?
Both conventions exist. The modern standard starts at 0 (0, 1, 1, 2, 3…) with F(0) = 0 and F(1) = 1; older texts sometimes start at 1. This calculator uses the F(0) = 0 convention.
What is the 10th Fibonacci number?
Using the F(0) = 0 convention, F(10) = 55. The terms run F(0)=0, F(1)=1, F(2)=1, F(3)=2, F(4)=3, F(5)=5, F(6)=8, F(7)=13, F(8)=21, F(9)=34, F(10)=55.
Where does the Fibonacci sequence appear in nature?
Fibonacci numbers appear in sunflower seed spirals, pine cones, plant branching and leaf arrangements, shell spirals, and flower petal counts — patterns tied to the golden ratio and efficient packing.
⚡ Fibonacci Calculator — by larely ↗

Related tools

Molarity Calculator

Solve molarity = moles / liters, including from mass and molar mass.

Modulo Calculator

Calculate a mod n with quotient, remainder and negative-number handling.

Percent Error Calculator

Calculate percent error between an experimental and a true value.

Z-Score Calculator

Find a z-score and its percentile from a value, mean and standard deviation.

Cylinder Volume Calculator

Find a cylinder's volume, surface area and capacity in liters or gallons.

Half-Life Calculator

Calculate remaining quantity, decay constant and half-lives elapsed.

Percent Yield Calculator

Calculate reaction percent yield from actual and theoretical yield.

Trigonometry Calculator

Calculate sin, cos, tan and their inverses in degrees or radians.

Ideal Gas Law Calculator

Solve PV = nRT for pressure, volume, moles or temperature.

Weighted Average Calculator

Calculate a weighted average from value and weight pairs.

Probability Calculator

Calculate single-event probability and combined odds for two events.

Linear Interpolation Calculator

Interpolate a value between two known points, or solve the inverse.

Browse all 251 free tools →