I often have to generate φ digits so I created this simple online utility that does it for me. It lets you calculate however many golden ratio digits you need, starting from any position. It works in the browser and is powered by alien technology from the future.

Phi Digits Generator Options

Golden Ratio Root
Generate digits of the positive φ root (1.618033988…).
Generate digits of the negative φ root (-0.618033988…).
Start and Count
Digit Separator
Write φ digits with the prefix "1." (or "-0." if root is negative).

Phi Digits Generator Examples (click to try!)

First 100 φ Digits
This example calculates the first one hundred digits of the positive golden number. (Positive φ is calculated using the formula (1+√5)/2 but the negative using the formula (1-√5)/2).
1.6180339887498948482045868343656381177203091798057628621354486227052604628189024497072072041893911374
Positive Phi
Starting position.
How many φ digits to generate?
Separate φ digits with this character.
Include the Whole Part
Digits of φ from 1,000th to 1,200th Position
In this example, we calculate golden mean digits (another name for φ) from 1,000th to 1,200th position (the 1,000th position is inclusive but 1,200 is exclusive). We also change the digit separator and put a comma character between them, and also hide the integer part of φ.
2, 1, 0, 7, 6, 7, 3, 8, 9, 3, 7, 6, 4, 5, 5, 6, 0, 6, 0, 6, 0, 5, 9, 2, 1, 6, 5, 8, 9, 4, 6, 6, 7, 5, 9, 5, 5, 1, 9, 0, 0, 4, 0, 0, 5, 5, 5, 9, 0, 8, 9, 5, 0, 2, 2, 9, 5, 3, 0, 9, 4, 2, 3, 1, 2, 4, 8, 2, 3, 5, 5, 2, 1, 2, 2, 1, 2, 4, 1, 5, 4, 4, 4, 0, 0, 6, 4, 7, 0, 3, 4, 0, 5, 6, 5, 7, 3, 4, 7, 9, 7, 6, 6, 3, 9, 7, 2, 3, 9, 4, 9, 4, 9, 9, 4, 6, 5, 8, 4, 5, 7, 8, 8, 7, 3, 0, 3, 9, 6, 2, 3, 0, 9, 0, 3, 7, 5, 0, 3, 3, 9, 9, 3, 8, 5, 6, 2, 1, 0, 2, 4, 2, 3, 6, 9, 0, 2, 5, 1, 3, 8, 6, 8, 0, 4, 1, 4, 5, 7, 7, 9, 9, 5, 6, 9, 8, 1, 2, 2, 4, 4, 5, 7, 4, 7, 1, 7, 8, 0, 3, 4, 1, 7, 3, 1, 2, 6, 4, 5, 3
Positive Phi
Starting position.
How many φ digits to generate?
Separate φ digits with this character.
Include the Whole Part
The Millionth φ Digit
In this example, we find the millionth digit of the golden constant. To do this, we enter 1,000,000 in the start position option, and we enter 1 in the sequence length option. It turns out that the millionth digit of phi is 4.
4
Positive Phi
Starting position.
How many φ digits to generate?
Separate φ digits with this character.
Include the Whole Part

How Does This Phi Digits Generator Work?

This phi digits generator works entirely in your browser and is written in JavaScript. I computed the first one million digits of phi by numerically evaluating one of the golden roots (1+√5)/2 and stored this sequence of digits in a phiDigits string. This string gets loaded from a module phi-digits.js when you first use this utility. To return the specified range of digits, it applies the slice(start, start + count) function on the phiDigits string and that returns count values, starting from the start position. If the separator symbol is set in the options, it calls the split("") function to turn the string of digits into an array and then uses the join(separator) function to concatenate array elements with the desired separator. After this, it prints the result to the screen.

Created by Browserling

This phi digits generator was created by me and my team at Browserling. Behind the scenes, it's actually powered by our programmer tools that are used by millions of people every month. Browserling itself is an online cross-browser testing service powered by alien technology. Check it out!

Secret message: If you love my tools, then I love you, too! Use coupon code TOOLLING to get a discount at my company.