Feedback form
Hi! What do you think?

Drag it here or paste with Ctrl+V


    You can also email us on infocalculat.io

    Pi number download files

    Digits after the decimal point in one line: the file starts with 1415926535…, without “3.”, spaces or line breaks — one digit is one byte. The ZIP holds the same TXT. The largest file is 1 billion digits.

    Check the download: SHA-256 of the TXT
    • 1b.txt ef0a513ee398d5dbe1ed6994c222e03a16fcfe91f5de685691953d35961798e5
    • 1k.txt 808b01bd3137f0fd50877c7ad44b2a97478666390780372803859749172292bd
    • 10k.txt 7406a2be66766f832c8d1e1b66491ef7b2f366b0393d21c4684181044b507ab5
    • 100k.txt 5ebe8007d764bce33aba7a85a0da0924e96663fbb2e0fd089b9e8cd3be482bc2
    • 1m.txt 7806ee47461b49ef1f578e14461b2c83c09c6d7a9a914275da1d71e9cbbf7069
    • 10m.txt c3d3dd4bd5d1051fd5995db983eb898ac0308189a20c46e80e5f67d5f415edf1
    • 100m.txt 413258dd0311891fe0ea61ff843dfec5d3ce81155f5ac0a0baea41a03b3d18fe

    Unpack a ZIP and check the TXT inside.

    Command:

    • sha256sum 1b.txt
    • Windows: certutil -hashfile 1b.txt SHA256

    Source: the billion-digit file of MIT SIPB (stuff.mit.edu/afs/sipb/contrib/pi), cut into the shorter files.

    FAQ

    What exactly is inside these files?

    Each file holds the digits of pi that come after the decimal point, written one after another with no spaces and no line breaks — the leading "3." is not stored, so the very first character is 1. Seven lengths are available: 1,000, 10,000, 100,000, 1 million, 10 million, 100 million and 1 billion digits, each as a plain TXT and as a ZIP archive of that same TXT.

    How large are the files and why does the ZIP shrink them only by half?

    One digit takes exactly one byte, so the billion-digit TXT is exactly 1,000,000,000 bytes (1 GB) and its ZIP is about 469 MB. Decimal digits carry log₂10 ≈ 3.32 bits of information out of the 8 bits a character occupies, which puts the floor for any compressor near 41% — pi has no repeating patterns to squeeze beyond that.

    How do you open a file with a billion digits?

    A 1 GB file that is a single unbroken line will freeze or be rejected by most text editors, so read it with streaming tools instead — the command "head -c 200 1b.txt", for instance, prints just the first 200 digits. For reading by eye, take the 1,000, 10,000 or 100,000-digit file, which any editor opens instantly.

    See Also

    Share This Calculation
    Print
    https://calculat.io/en/number/download-pi-digits-files-txt-zipCopy
    <a href="https://calculat.io/en/number/download-pi-digits-files-txt-zip">Download Pi Digits (TXT, ZIP) - Calculatio</a>Copy
    Facebook
    Twitter
    Telegram
    WhatsApp
    Viber
    Email