Fibonacci Number (Binet Formula) & Golden Ratio Calculator

Compute exact Fibonacci terms and consecutive ratio convergence toward φ ≈ 1.618034.

Fibonacci Number F_15 610
Lucas Number L_15 1,364
Golden Major Section (L / φ) 61.803
Golden Minor Section 38.197
Inputs
Try:
Fibonacci index n (0 to 70).
Reference length to partition into Golden Ratio sections a and b.
Results & Graph
Fibonacci Number F_15
610
Lucas Number L_15
1,364
Golden Major Section (L / φ)
61.803
Golden Minor Section
38.197

Fibonacci Number F_15

Graph 1 • How the inputs feed Fibonacci & φ
Fibonacci Number (Binet Formula) & Golden Ratio Calculator • Custom Domain Schematic (Sequences & Series) indexNscaleLenFibonacci & φ Index N: 15 • Scale Length: 100 FIBONACCI NUMBER F_15 610 • Lucas Number L_15: 1,364 • Golden Major Section (: 61.803 Eq: F_n = (φ^n − ψ^n) / √5, where φ
Graph 2 • Fibonacci Number F_15 as Index N changes (40% to 160% of current)
0 25.5k 51.0k 8 6 34 9 144 12 610 15 2.6k 18 10.9k 21 46.4k 24
Graph 3 • Index N and Scale Length together Compares Fibonacci Number F_15 when Scale Length is shifted +25% (solid) vs. −25% (dashed).
0 436.2 872.3 --- Scale Length @ 75% 427 -30% 518.5 -15% 610 +0% 701.5 +15% 793 +30%
Summary: F_15 = 610 and companion Lucas number L_15 = 1,364. Partitioning 100 by φ gives 61.8 and 38.2.
Summary: F_15 = 610 and companion Lucas number L_15 = 1,364. Partitioning 100 by φ gives 61.8 and 38.2.
Interactive chart & math engine powered by CalculatorGraph

Formula: Fibonacci & φ Mathematical Identity

Fn = (φn − ψn) / √5, where φ = (1 + √5) / 2
F_n = (φ^n − ψ^n) / √5, where φ = (1 + √5) / 2
  • indexN: Index N (numeric parameter)
  • scaleLength: Scale Length (numeric parameter)

Frequently Asked Questions

Why is an index of 71 refused?

The page accepts whole numbers from 0 to 70 only. Above that the values grow past the range a browser can store as exact whole numbers, so the last digits could be wrong. Rather than show a figure it cannot vouch for, the page asks for a smaller index. For bigger terms, use integer arithmetic with arbitrary precision in a short script.

Are the large values shown with every digit?

Yes. The headline and the Lucas line print the full integer, with thousands separators, all the way to index 70. Nothing is rounded to trailing zeros. The interpretation sentence repeats the same figures, so either place is safe to copy from. Only the golden section lines are rounded, to three decimals, because they are not whole numbers.

Is the Lucas number exact at high indices?

Yes, through L_70. The engine builds Lucas numbers by adding the two previous terms in whole numbers, the same way it builds Fibonacci numbers, so floating point error never enters. You can still check any pair with L_n = F_(n minus 1) + F_(n + 1), or with L_n² minus 5F_n² = ±4 for small n.

Does the golden split depend on the index N?

No. The split uses φ directly, not a Fibonacci ratio, so only the scale length moves it. With a scale of 100 you get 61.803 and 38.197 whether N is 9, 15 or 23. If you want a Fibonacci approximation of the cut instead, divide the length by F_(n + 1) and multiply by F_n. At N = 9 that gives 100 × 34/55, close to the 61.803 shown.

What happens if I enter a decimal index?

The page refuses it and asks for a whole number from 0 to 70. Fibonacci numbers are defined only at whole indices in this sequence. Binet's formula can be pushed to non integer n, but the ψ^n term becomes complex there, so there is no single real answer. Enter 7 or 8 if you meant one of the neighbouring terms.

Can it give Fibonacci numbers for negative indices?

Not directly. A negative index is refused. Extending the rule backwards gives F_(minus n) = (minus 1)^(n + 1) F_n, so F_(minus 1) = 1, F_(minus 2) = minus 1, F_(minus 3) = 2. Lucas numbers extend as L_(minus n) = (minus 1)^n L_n. Look up the positive index here and apply the sign yourself.

Why do people say F_n is φ^n over √5 rounded?

Because the second term in Binet's formula, ψ^n/√5, is always smaller than one half in size, so rounding φ^n/√5 to the nearest integer gives F_n exactly. At n = 9, φ^9/√5 is about 33.994, which rounds to 34. The same idea gives L_n as φ^n rounded, for n of 2 and above.

Which convention does the page use for the first terms?

F_0 = 0 and F_1 = 1, so F_2 = 1, F_3 = 2 and F_15 = 610 on this page. Some books index from F_1 = F_2 = 1, which gives the same numbers at the same positions from 1 upward. Others start 1, 1 at index 0, which shifts every answer by one place. Check which your source uses before comparing.

How close is 61.803 to the true golden section?

It is 100/φ rounded to three decimals, and φ itself is irrational, so no finite decimal is exact. The full value begins 61.80339887. For any physical measurement three decimals are already far finer than you can cut, and even a rounded 62 and 38 split is within a few tenths of a percent.

How can I check a large Fibonacci number from another source?

Use a divisibility fact: F_m divides F_n whenever m divides n. For example F_23 = 28,657 is prime, matching the fact that 23 is prime, which is necessary though not sufficient. Cassini's identity is a sharper test when you have three consecutive terms. For an exact match, compute the term with a simple integer loop.

Why does the Lucas number grow at the same rate as the Fibonacci number?

Both are built with the same rule, so both are dominated by φ^n once n is a few steps in. Only the starting pair differs, which fixes the constant in front. L_n is close to φ^n and F_n is close to φ^n divided by √5, so L_n is about 2.236 times F_n. At N = 23 that gives 64,079 against 28,657, a ratio of 2.236 to three decimals.

F_15 = 610 and its Lucas partner 1,364

Start the page and it asks for two things: an index N, set to 15, and a scale length, set to 100. The answer is F_15 = 610, shown in the headline. Underneath sit the Lucas number L_15 = 1,364 and a golden split of the length 100 into 61.803 and 38.197.

The two inputs are unrelated. N drives the Fibonacci and Lucas lines, and the scale length drives only the two golden sections. Change N to 9 and you get F_9 = 34 and L_9 = 76, but the split of 100 stays at 61.803 and 38.197. Change N to 23 and you get F_23 = 28,657 and L_23 = 64,079, with the split still unmoved. That surprises some people, who expect the split to use Fibonacci numbers. It does not. It divides by φ itself.

The indexing follows the most common convention: F_0 = 0, F_1 = 1, and every later term is the sum of the two before it. So the sequence runs 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and the tenth term after F_0 is F_10 = 55. Some textbooks and puzzles start counting at 1, 1 with index 0, which shifts everything by one. If your answer is off by exactly one position, that is the reason.

Binet's formula, checked by hand at N = 9

Binet's closed form is the formula printed on the page: F_n = (φ^n minus ψ^n)/√5, where φ = (1 + √5)/2, about 1.618034, and ψ = (1 minus √5)/2, about minus 0.618034. The engine itself gets each number by exact whole number iteration, adding terms one by one, so what you see is never a rounded floating point estimate. Binet is still the best way to understand the size of the answer and to check it by hand.

Try it for the Lower preset, N = 9. φ^9 is about 76.013 and ψ^9 is about minus 0.013. Their difference is about 76.026, and dividing by √5, about 2.236, gives 34.000. That is F_9. The Lucas number uses the sum instead of the difference and skips the division: φ^9 + ψ^9 is about 76.000, which is L_9 = 76.

The ψ term is what makes the formula exact. Because |ψ| is less than 1, ψ^n shrinks toward zero as n grows, and its only job is to cancel the irrational part of φ^n. By N = 15 it is under a thousandth. That is why a simpler rule works too: F_n is φ^n divided by √5, rounded to the nearest whole number. You can see this in the outputs. 1,364 divided by √5 is 610.0, and 64,079 divided by √5 is 28,657.0, because L_n is so close to φ^n.

Lucas numbers and the identities that tie them to Fibonacci

Lucas numbers obey the same rule, each term the sum of the previous two, but start from 2 and 1 instead of 0 and 1. The sequence runs 2, 1, 3, 4, 7, 11, 18, 29, 47, 76. The page gives L_n beside F_n because the pair checks each other.

The neatest link is L_n = F_(n minus 1) + F_(n + 1). For N = 9 that is F_8 + F_10 = 21 + 55 = 76, matching L_9. A second identity doubles the index: F_(2n) = F_n × L_n. With n = 5, F_5 = 5 and L_5 = 11, and 5 × 11 = 55 = F_10.

A third gives a test for whether a pair of numbers really belongs together: L_n² minus 5F_n² equals 4 when n is even and minus 4 when n is odd. At n = 4, L_4 = 7 and F_4 = 3, so 49 minus 45 is 4.

The ratio L_n / F_n also settles down, toward √5. For the default, 1,364 divided by 610 is 2.2361, already matching √5 to four decimals. That gives you a quick way to estimate one sequence from the other at any large index.

Why the index stops at 70

The index must be a whole number from 0 to 70. Anything else, such as 71, 7.8 or minus 1, is refused with a message rather than quietly adjusted. That limit is set by ordinary number precision. A browser stores numbers in a format that holds whole numbers exactly only up to 2^53, a little over nine quadrillion. F_70 has 15 digits and is comfortably inside that range. A few steps further, Lucas numbers and then Fibonacci numbers pass the limit, and the last digits could no longer be trusted.

Because the engine iterates in whole numbers instead of evaluating Binet's formula with decimals, every value up to index 70 is exact, Lucas numbers included. The full integer is shown in the headline and in the supporting line, with every digit, so you can copy F_70 or L_70 straight from the screen.

If you try Binet's formula yourself in a spreadsheet or a quick script, you will see why the iteration matters. The tiny rounding error in φ gets multiplied by φ^n, and near the top of the allowed range the floating point version of the Lucas formula lands one away from the true integer. Adding integers avoids that entirely.

Need more than index 70? A loop over arbitrary precision integers, available in most languages, handles thousands of terms easily. For negative indices, use F_(minus n) = (minus 1)^(n + 1) F_n with a value from this page.

The golden split of 100 into 61.803 and 38.197

The scale length line divides a length L into two parts so that the whole is to the larger part as the larger is to the smaller. Both ratios equal φ. The larger part is L/φ, and for L = 100 that is 61.803. The smaller is what is left, 38.197, which also equals L/φ².

Check the ratios: 100 divided by 61.803 is 1.618, and 61.803 divided by 38.197 is also 1.618. That equality is the whole definition of the golden section.

The split scales in proportion. Enter 1 as the scale length and the parts are 0.618 and 0.382. Enter a page width, a canvas size or a garden bed and you get the cut point directly. The two parts always sum to the length you entered, so you only need to measure one of them.

Fibonacci ratios approximate the same cut. 34/55 is 0.61818, against 1/φ = 0.61803. Splitting 100 as 62 and 38 is a common rounded version, and it lands within a fraction of a percent of the true golden split.

Growth across the presets: 34, 610 and 28,657 in a few steps

The three presets show how quickly the sequence grows. From N = 9 to N = 15 is six steps, and F rises from 34 to 610, about eighteen times larger. From 15 to 23 is eight steps, and F rises from 610 to 28,657, about 47 times larger.

Both factors match powers of φ. φ^6 is about 17.9 and φ^8 is about 47.0. Each step multiplies a Fibonacci number by close to 1.618, so every five steps the value grows by a factor of about 11, a bit more than one extra digit. That rule of thumb tells you roughly how many digits F_n has before you calculate it: about n/5 digits, a little over. F_70 has 15 digits, which is right at the edge of what floating point can hold exactly, and that is no accident: it is why the page stops there.

How fast consecutive ratios close in on φ

The page summary mentions ratio convergence. The ratio F_(n + 1)/F_n alternates above and below φ, getting closer each step. 2/1 = 2, 3/2 = 1.5, 5/3 = 1.667, 8/5 = 1.6, 13/8 = 1.625, 21/13 = 1.615, 34/21 = 1.619, 55/34 = 1.6176.

The error shrinks by a factor of about φ² each step, roughly 2.6, so every two steps buys you nearly one more correct decimal. By the default index of 15 the ratio of neighbours matches φ to about five decimal places.

This slow, alternating approach is also why φ is called the most irrational number. Its continued fraction is all ones, and the Fibonacci ratios are exactly its successive approximations. No other number is approximated so badly by fractions with small denominators, which is one reason φ turns up in plant leaf spacing models and in search methods such as golden section search.

Using the outputs in code and puzzles

If you are writing code, the page is a quick way to confirm test values: F_9 = 34, F_15 = 610 and F_23 = 28,657 are all safe to hard code. For production code, do not use Binet in floating point beyond about n = 70. A loop that adds integers is exact and fast, and for very large n the fast doubling method, built on F_(2n) = F_n × L_n and its partner identities, takes only a handful of steps.

A second identity is handy for checking code by hand. Cassini's identity says F_(n minus 1) × F_(n + 1) minus F_n² equals plus or minus 1. At n = 5, 3 × 8 minus 25 = minus 1. If a function returns values that fail this test, it has a bug.

For puzzles that ask whether a number is Fibonacci, there is a test from the identity above: x is a Fibonacci number exactly when 5x² + 4 or 5x² minus 4 is a perfect square. For x = 34, 5x² minus 4 is a perfect square, 76 squared, and the 76 is L_9.