Why drive labels and operating systems disagree

Storage makers label drives in decimal terabytes, so a drive sold as 1 TB holds 1,000,000,000,000 bytes. Operating systems frequently report capacity in GiB. The same drive therefore appears as about 931.32 GiB, and many buyers read that as missing space. This page does the conversion in the direction GiB to TB, which suits someone who has a size in GiB, for example the allocated volume in a cloud console, and wants to compare it with a price list quoted in TB. The factor is small, since a gibibyte is only about a thousandth of a terabyte, so the outputs have many leading zeros. Typical sources are cloud consoles, hypervisor dashboards and backup reports that list sizes in GiB.

The factor 0.001073741824

One GiB is 2^30 bytes, or 1,073,741,824. One terabyte is 10^12 bytes under the SI prefix tera in NIST SP 811. Dividing gives 0.001073741824 TB per GiB. The factor has twelve decimal places and is complete, so a calculator that shows fewer digits will drift on large inputs. In the other direction, one TB equals 931.322574615 GiB to nine decimals. Seen as a percentage, the binary gibibyte is about 7.37 percent larger than the decimal gigabyte, but a binary tebibyte is 9.95 percent larger than a decimal terabyte, so the gap between the two systems widens as the prefix grows.

Ten GiB and other sample sizes

The default 10 GiB converts to 0.01073741824 TB, about one hundredth of a terabyte. A 256 GiB laptop SSD allocation is 0.274877906944 TB, and 500 GiB is 0.536870912 TB. A 1,000 GiB volume is 1.073741824 TB, a little more than a decimal terabyte, which is why a cloud volume priced per TB and sized in GiB can cross a pricing tier sooner than expected. A 2,048 GiB volume is 2.199023255552 TB. The output scales in a straight line with the input, so you can derive any other size from these examples.

Buying a drive for a data set

Suppose a backup set measures 800 GiB in a file manager. In decimal terms that is 0.8589934592 TB, so a drive sold as 1 TB holds it, but only if the usable capacity after formatting is above that figure. A 0.5 TB drive, which holds 500,000,000,000 bytes, does not hold 500 GiB, because 500 GiB is 536,870,912,000 bytes. Converting before shopping avoids an undersized purchase. Always leave room for growth, since a backup that fills the drive completely leaves no space for the next version.

Going from TB back to GiB

To convert TB to GiB, divide by 0.001073741824, or multiply by 931.322574615. A 2 TB drive then holds about 1,862.645 GiB, a 4 TB drive about 3,725.290 GiB and an 8 TB drive about 7,450.581 GiB. These match the numbers a file manager shows for a freshly formatted drive, before file system overhead. The reverse direction is available by choosing terabytes in the From menu and gibibytes in the To menu. The converter uses the same stored factors both ways, so the round trip is consistent. A 12 TB archive drive, for instance, shows about 11,175.87 GiB, and 16 TB shows about 14,901.16 GiB, which are the figures a file manager prints for such drives before formatting.

Choosing how many digits to keep

Output in TB for GiB-sized inputs has many leading zeros, so the significant digits matter more than decimal places. 0.0107 TB carries three significant digits and is enough for a conversation, while 0.01073741824 is the full result. When reporting capacity to a customer, quote the unit with the number and say whether it is binary or decimal. If you round, round once at the end, not at intermediate steps, because a rounded TB figure converted back to GiB will not match the original size exactly.

TB, TiB and the symbols

TB is the decimal terabyte, 10^12 bytes, and TiB is the binary tebibyte, 2^40 bytes, which is 1,099,511,627,776 bytes. Converting GiB to TiB instead divides by 1,024, a separate page on this site. Mixing the two produces an error of nearly 10 percent at this size. Vendors use TB on packaging, while Windows historically printed TB in its drive properties although the numbers were binary. Use the symbols in the page labels, and when you see a figure from software, check whether it follows the IEC symbols or the older habit. As an example, 2,048 GiB is 2 TiB but 2.199 TB, and a person who reads one as the other is off by about 10 percent, which on a 20 TB estate means two terabytes of unplanned capacity.

What the page does not tell you

The result is a statement of size in another unit. It does not include file system overhead, reserved space, over-provisioning on an SSD or redundancy in a RAID set, all of which reduce what you can store. A RAID 1 pair of 1 TB drives still holds only about 1 TB of data. Use the converter to compare numbers that should match, and consult the drive specification for usable capacity. The factors follow the definitions in NIST SP 811 and IEC 80000-13.

Cloud volumes priced by the terabyte

Block storage and backup services often list prices per TB or per GiB-month, and a plan can switch between the two. Take a 3,000 GiB volume. In decimal terms it is 3.221225472 TB, so a price table with tiers at 3 TB and 4 TB places it in the second tier even though the gibibyte count looks like a round 3,000. A 750 GiB volume is 0.805306368 TB and stays in a 1 TB tier. Check how the provider defines its unit before comparing quotes, because some providers use GiB internally and label it GB, and the decimal reading of a binary figure inflates or deflates the apparent price per terabyte by about 10 percent. The converter gives the decimal terabyte value for a binary size so that you can place it correctly in the table.

Reading the tiny numbers

GiB-sized values written in TB are small, so take care with the decimal point. The default result, 0.01073741824, has an extra zero after the point that is easy to drop when copying. A mistake of one place moves the value by a factor of ten, and a mistake of three places moves it by a factor of a thousand, the same as confusing TB with GB. Copy the answer rather than retyping it, or switch the target to gigabytes when the output starts with several zeros.