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

Sqrt(5) Digits Generator Options

Start and Count
Digit Separator
Write √5 digits with the prefix "2.".

Sqrt(5) Digits Generator Examples (click to try!)

First Hundred Digits of Sqrt(5)
In this example, we compute the first one hundred decimal digits of the square root of 5.
2.2360679774997896964091736687312762354406183596115257242708972454105209256378048994144144083787822749
Starting position.
How many √5 digits to generate?
Separate √5 digits with this character.
Include the Whole Part
500 √5 Digits from 500th Position
This example starts calculating sqrt(5) digits from the 500th position and generates 500 following values (up to 999th position). We don't use the integer prefix "2" in the result and display the digits separated by the underscore symbol.
0_2_6_3_5_9_0_4_7_3_7_8_8_5_5_0_4_3_8_9_6_8_7_0_6_1_1_3_5_6_6_0_0_4_5_7_5_7_1_3_9_9_5_6_5_9_5_5_6_6_9_5_6_9_1_7_5_6_4_5_7_8_2_2_1_9_5_2_5_0_0_0_6_0_5_3_9_2_3_1_2_3_4_0_0_5_0_0_9_2_8_6_7_6_4_8_7_5_5_2_9_7_2_2_0_5_6_7_6_6_2_5_3_6_6_6_0_7_4_4_8_5_8_5_3_5_0_5_2_6_2_3_3_0_6_7_8_4_9_4_6_3_3_4_2_2_2_4_2_3_1_7_6_3_7_2_7_7_0_2_6_6_3_2_4_0_7_6_8_0_1_0_4_4_4_3_3_1_5_8_2_5_7_3_3_5_0_5_8_9_3_0_9_8_1_3_6_2_2_6_3_4_3_1_9_8_6_8_6_4_7_1_9_4_6_9_8_9_9_7_0_1_8_0_8_1_8_9_5_2_4_2_6_4_4_5_9_6_2_0_3_4_5_2_2_1_4_1_1_9_2_2_3_2_9_1_2_5_9_8_1_9_6_3_2_5_8_1_1_1_0_4_1_7_0_4_9_5_8_0_7_0_4_8_1_2_0_4_0_3_4_5_5_9_9_4_9_4_3_5_0_6_8_5_5_5_5_1_8_5_5_5_7_2_5_1_2_3_8_8_6_4_1_6_5_5_0_1_0_2_6_2_4_3_6_3_1_2_5_7_1_0_2_4_4_4_9_6_1_8_7_8_9_4_2_4_6_8_2_9_0_3_4_0_4_4_7_4_7_1_6_1_1_5_4_5_5_7_2_3_2_0_1_7_3_7_6_7_6_5_9_0_4_6_0_9_1_8_5_2_9_5_7_5_6_0_3_5_7_7_9_8_4_3_9_8_0_5_4_1_5_5_3_8_0_7_7_9_0_6_4_3_9_3_6_3_9_7_2_3_0_2_8_7_5_6_0_6_2_9_9_9_4_8_2_2_1_3_8_5_2_1_7_7_3_4_8_5_9_2_4_5_3_5_1_5_1_2_1_0_4_6_3_4_5_5_5_5_0_4_0_7_0_7_2_2_7_8_7_2
Starting position.
How many √5 digits to generate?
Separate √5 digits with this character.
Include the Whole Part
One Millionth Digit of Square Root of 5
In this example, we generate only one value, which is at the millionth position of the decimal expansion of √5. It turns out that the millionth digit is 9.
9
Starting position.
How many √5 digits to generate?
Separate √5 digits with this character.
Include the Whole Part

How Does This Sqrt(5) Digits Generator Work?

This square root of 5 digits generator works entirely in your browser and is written in JavaScript. To avoid recomputing the decimal digits of √5, I precomputed the first million digits via Bakhshali algorithm and stored them in the sqrt5-digits.js library. This library contains a single variable sqrt5Digits that is a constant string of length one million. It loads just once before you use this utility. When you change start and count values in the options, this utility calls sqrt5Digits.slice() method, which extracts a substring from start to start + count positions. This substring contains exactly the requested sqrt(5) digits. If you also change the separator (specified in options) to a custom value, then it calls two additional methods – split("") method that returns an array of individual digits and then join(separator) method that combines all the elements of an array back into a string and places the separator value between them.

Created by Browserling

This sqrt(5) 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.