When a bit count has to become a gigabyte figure

Bits and gigabytes meet in bandwidth planning. A video service quotes a stream in megabits per second, a mobile plan sells data in gigabytes, and a customer wants to know how many hours of viewing the plan allows. Network equipment counts bits, storage products count bytes, and the gigabyte is the unit on which prices and caps are printed. This page takes a total number of bits, for example from a bit rate multiplied by a duration, and expresses it in decimal gigabytes. Enter the bits, keep the source unit at bit, choose gigabytes as the target, and the page divides by eight billion.

The decimal gigabyte and the SI prefix

In the SI, giga means 10⁹, so a gigabyte is one billion bytes, or eight billion bits. The BIPM SI Brochure sets the prefix, and NIST SP 811 and the IEC standard 80000-13 apply it to the byte. Disk and flash makers use this meaning for capacities, as do telecom operators for data allowances. The converter reflects that convention, which differs from the binary gibibyte of 2³⁰ bytes that many operating systems show. A gibibyte is about 7.4 percent larger than a gigabyte, so the same number of bits gives a smaller figure in GiB than in GB. The companion page for gibibytes covers that case.

The default of 10 bits as a gigabyte figure

Ten bits equal 1.25e-9 GB, or 0.00000000125. The number is a billionth of a gigabyte because ten bits is barely more than one byte. The example demonstrates the scale difference of nine orders of magnitude between the input and the unit, and it shows that this page is useful only for large bit counts. Try 8,000,000,000 bits and the result is exactly 1 GB. A quarter of that, two billion bits, is 0.25 GB, which is 250 MB. When your input has fewer than eight digits, the answer will start with several zeros, and megabytes or kilobytes are the more comfortable units.

Streaming, downloads and a data cap

Take an illustrative 4K stream at 25 megabits per second. One hour holds 25,000,000 times 3,600 seconds, which is 90,000,000,000 bits. Dividing by eight billion gives 11.25 GB per hour. A plan that allows 100 GB would cover about 8.9 hours of that stream, found by dividing 100 by 11.25. A lower quality stream at 5 megabits per second uses 2.25 GB per hour. Real services adapt the bit rate to conditions, and the bit rates here are chosen only to show how the arithmetic runs from bits per second to a gigabyte total. Overhead from network protocols adds a few percent on top of the payload.

Going from gigabytes back to bits

Swap the units to see how many bits a gigabyte figure contains. A 2 GB download is 16,000,000,000 bits, and a single-layer DVD of 4.7 GB holds 37,600,000,000 bits. Dividing a file size in bits by a link rate in bits per second gives the transfer time. The 2 GB file on a 100 megabit per second link needs 160 seconds in the ideal case, and over a 10 megabit per second link it needs 1,600 seconds, about 27 minutes. Because the conversion to bits comes first, any slip of the factor of eight turns a minutes-long estimate into one that is off by a large amount.

Gigabytes versus gigabits and gibibytes

Three similar names cause most errors on this page. A gigabit is one billion bits, so one eighth of a gigabyte, and abbreviating it as Gb rather than GB changes the value by eight. A gibibyte, abbreviated GiB, is 1,073,741,824 bytes. A storage device sold as 1,000 GB therefore shows about 931 GiB in an operating system that reports in binary units but labels them GB. Nothing is missing from the drive. The two systems use different definitions for the same word. This page uses the decimal gigabyte, and the neighboring page for gibibytes shows the 2³⁰ version.

Rounding and the digits you should keep

The conversion is a division by a power of ten times a power of two, and the result is exact in decimal. The tool shows values such as 1.25e-9, which is scientific notation for 0.00000000125. For a plan or a bill, round to the precision of the allowance: one decimal for a 100 GB plan, two for a 5 GB one. Keep the full figure when you add several items, and round only the total. When you compare two services, convert both to the same unit first, since mixing GB and GiB in a comparison introduces a built-in difference of about seven percent.

What a bit count does not include

The converter treats bits as raw information. It does not add protocol overhead, compression, encryption padding, retransmissions or file system slack. A video stream of a given bit rate transmits more bits on the wire than the payload alone, and a file occupies whole blocks on disk, so the space used can exceed the size in bytes. Disk capacity quoted by a vendor also includes space that formatting and file system metadata use. For a rough estimate of data use, the converted figure is a good base. For a precise figure, measure with the counters of your network device or the file system. Providers also differ in what they count: some meter only downloads, some meter both directions, and some exclude certain services, so the plan terms decide how the converted figure is used. If a provider rounds usage up per session or per day, the billed total can exceed the converted payload by a noticeable margin.

Checking a plan against a monthly usage figure

Suppose a household streams music and video and wants to know whether a 300 GB monthly allowance is enough. An illustrative day with two hours of video at 5 Mbit/s uses 5,000,000 times 7,200 seconds, which is 36,000,000,000 bits, or 4.5 GB. Over 30 days that is 135 GB. Add a video call of one hour a day at 2 Mbit/s, which is 7,200,000,000 bits or 0.9 GB per day and 27 GB per month, and the total reaches 162 GB. The figures are illustrative, since real services vary the bit rate. The method stays the same: multiply rate by time to get bits, convert to GB here, then add the items before comparing with the allowance.