Unit Conversion • Calculator

Digital Storage Converter

High-precision calculator for digital data, file capacities, and network bandwidth. Translate between base-10 SI metric standards (GB, TB, PB), base-2 IEC binary architectures (GiB, TiB, PiB), and serial network transmission speeds (Mbps to MB/s).

|
Last Updated: September 2026
|
IEC 60027-2 • IEEE 1541 • NIST SP 811 Standards Verified
Quick Storage Presets:

Storage Configuration

IEC 60027-2 • IEEE 1541 • SI Standards
Base-10 vs Base-2 Factor Ratio

Loading comparison...

Digital Storage Scale Benchmarks Real-World Payload
1 Character (ASCII): 1 Byte (8 bits)
1 Minute MP3 Audio (320 kbps): ~2.4 MB (2.29 MiB)
1 Smartphone Photo (12 MP): ~3.5 MB (3.34 MiB)
Standard CD-ROM: 700 MB (667.57 MiB)
Single-Layer DVD: 4.7 GB (4.377 GiB)
Single-Layer Blu-ray: 25 GB (23.283 GiB)
1 TB Retail SSD in Windows: 931.32 GiB (~70 GB gap)
Converted Digital Measurement
-- GiB

1 Terabyte (TB) = ...

Total Bits: -- b Total Bytes: -- B

The "Missing Hard Drive Space" Reality Checker

Why retail drive capacity differs from Windows OS display
~6.87% Gap
Manufacturer Label (SI Base-10) 1.00 TB 10¹² = 1,000,000,000,000 B
Windows OS (Binary Base-2) 931.32 GiB 2⁴⁰ = 1,099,511,627,776 B
Apparent "Lost" Space 68.68 GB (6.87%) Zero bytes lost; purely unit math

Key Takeaway: Drive manufacturers sell hardware using legal decimal metric prefixes (1 TB = 1,000,000,000,000 B). Windows divides by 1024⁴ (Gibibytes) but incorrectly labels the resulting number with the symbol GB. Apple macOS (since OS X 10.6) and Ubuntu Linux report drives in true decimal, correctly displaying 1 TB as 1.00 TB.

Network Transfer Time Estimator (Bandwidth to Duration)

Theoretical transmission time for this data payload
8 bits per Byte rule
100 Mbps Broadband -- 12.5 MB/s throughput
1 Gbps Gigabit Fiber -- 125 MB/s throughput
USB 3.0 External SSD -- 500 MB/s throughput
PCIe 4.0 NVMe SSD -- 7,000 MB/s throughput

Step-by-Step Conversion Arithmetic

1. Normalize Source to Base Bits: ...
2. Convert Base Bits to Target Unit: ...
3. Final Result: ...

Simultaneous Multi-Unit Digital Storage Grid

Instant conversion across all 16 major SI decimal and IEC binary data increments

Live Synchronized
Direct Answer & Overview
Verified Educational Guide

How to Convert Digital Storage Units

Digital storage measurements operate under two distinct mathematical conventions: Decimal SI units (powers of 1000) and Binary IEC units (powers of 1024). In the SI standard, 1 Terabyte (TB) = 1,000 Gigabytes = 10¹² Bytes. In the IEC binary standard, 1 Tebibyte (TiB) = 1,024 Gibibytes = 2⁴⁰ Bytes (1,099,511,627,776 Bytes). This creates a 7.37% divergence at the Gigabyte tier and a 9.95% divergence at the Terabyte tier.

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
1 TB=1012 Bvs.1 TiB=240 B=1,099,511,627,776 B1\text{ TB} = 10^{12}\text{ B} \quad \text{vs.} \quad 1\text{ TiB} = 2^{40}\text{ B} = 1{,}099{,}511{,}627{,}776\text{ B}
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Known data capacity and originating unit (Bits, Bytes, KB, KiB, MB, MiB, GB, GiB, TB, TiB)
2
Storage convention: Decimal SI (1,000-based) vs Binary IEC (1,024-based, Windows)
3
Network download connection bandwidth (Mbps or Gbps) for transfer time estimation
Expected Outputs
Calculated
Instant multi-unit converted values across 16+ SI and IEC binary data representations
Operating system "missing drive capacity" calculation (Retail decimal vs OS binary)
Exact download transfer duration across home broadband and datacenter fiber lines
Worked Numerical Example
Instant Verification
Why does a brand new 2.0 TB external SSD show as 1.819 TiB in Windows?
→ Drive has 2,000,000,000,000 Bytes. Windows divides by 1,024³ = 1,073,741,824 to get GiB, then by 1,024 to get TiB: 2,000,000,000,000 ÷ 1,099,511,627,776 = 1.818989 TiB.
2.0 TB (SI) = 1.819 TiB (Windows IEC) — Exactly 0 bytes lost!

1. SI Decimal vs. IEC Binary: The Dual Standard Revolution

In the early decades of electronic computing, computer scientists observed that magnetic memory addresses and semiconductor registers naturally operated on powers of two (210 = 1024). Because 1024 is remarkably close to the decimal metric prefix kilo- (103 = 1000), software engineers informally borrowed the metric prefixes Kilo-, Mega-, and Giga- to denote powers of 1024.

While convenient for early ferrite core memories holding only a few thousand words, this informal borrowing became problematic as memory scales climbed into gigabytes and terabytes. The mathematical divergence between decimal and binary exponents compounds exponentially:

Tier SI Decimal Prefix SI Formula (Bytes) IEC Binary Prefix IEC Formula (Bytes) Divergence Gap
Kilo- Kilobyte (KB) 10³ = 1,000 Kibibyte (KiB) 2¹⁰ = 1,024 +2.40%
Mega- Megabyte (MB) 10⁶ = 1,000,000 Mebibyte (MiB) 2²⁰ = 1,048,576 +4.86%
Giga- Gigabyte (GB) 10⁹ = 1,000,000,000 Gibibyte (GiB) 2³⁰ = 1,073,741,824 +7.37%
Tera- Terabyte (TB) 10¹² = 1,000,000,000,000 Tebibyte (TiB) 2⁴⁰ = 1,099,511,627,776 +9.95%
Peta- Petabyte (PB) 10¹⁵ = 10¹⁵ Pebibyte (PiB) 2⁵⁰ = 1.1259 × 10¹⁵ +12.59%
Exa- Exabyte (EB) 10¹⁸ = 10¹⁸ Exbibyte (EiB) 2⁶⁰ = 1.1529 × 10¹⁸ +15.29%

To restore legal rigor and eliminate consumer confusion, the International Electrotechnical Commission (IEC) in 1998 approved IEC 60027-2 Amendment 2, introducing unambiguous binary prefixes formed by combining the first two letters of the metric prefix with 'bi' (binary): kibi- (Ki), mebi- (Mi), gibi- (Gi), tebi- (Ti), pebi- (Pi), and exbi- (Ei). This nomenclature was subsequently adopted by IEEE (IEEE 1541-2002) and the National Institute of Standards and Technology (NIST SP 811).

2. The "Missing Drive Space" Paradox: Windows vs. macOS Math

One of the most persistent complaints in consumer computing is the apparent loss of storage space when a newly purchased hard disk drive (HDD) or solid-state drive (SSD) is plugged into a computer:

Case Study: A 1 Terabyte Retail Storage Drive
Manufacturer Packaging (SI Base-10)

Capacity = 1,000,000,000,000 Bytes

Metric formula: 1 TB = 10¹² Bytes

Advertised: 1.00 TB
Windows File Explorer (Binary Base-2)

Divisor = 1024⁴ = 1,099,511,627,776 B

Calculation: 10¹² ÷ 1024⁴ ≈ 0.9095 TiB

Displayed in Windows: 931.32 GB (GiB)
Apparent "Missing" Capacity: 68.68 GB (approx. 70 GB)

The consumer feels cheated of nearly 70 Gigabytes. Yet, at the physical silicon or magnetic platter layer, not a single byte is missing. The physical drive possesses all one trillion bytes.

The entire discrepancy is caused by Microsoft Windows dividing total bytes by binary increments (1024) while stamping the resulting number with decimal SI symbols (GB instead of GiB).

Recognizing this consumer confusion, Apple updated macOS in 2009 (starting with OS X Snow Leopard 10.6) to calculate and display all file sizes and disk capacities in pure decimal base-10 SI units. Consequently, when a 1 TB drive is plugged into a Mac or modern Ubuntu system, Finder displays exactly 1.00 TB.

3. Bits vs. Bytes in Telecommunications: Why 800 Mbps Downloads at 100 MB/s

Another frequent point of confusion occurs when subscribers purchase high-speed internet connections (e.g., "1 Gbps Gigabit Fiber" or "300 Mbps Cable") but observe that downloads in web browsers, Steam, or torrent clients peak at much lower figures:

The Fundamental Telecommunications Identity:
1 Byte (B) = 8 bits (b)

Network engineers describe bandwidth in bits per second because telecommunications transceivers serialize data over fiber strands or copper twisted pairs as individual pulses of light or voltage. File systems and application software describe stored assets in bytes.

To determine the maximum theoretical download rate for any internet subscription:

Theoretical Download Velocity (MB/s) = Advertised ISP Speed (Mbps) ÷ 8
Example 1: 100 Mbps broadband ÷ 8 = 12.5 MB/s peak transfer rate
Example 2: 800 Mbps ultra-fast cable ÷ 8 = 100.0 MB/s peak transfer rate
Example 3: 1,000 Mbps (1 Gbps) fiber ÷ 8 = 125.0 MB/s peak transfer rate

Furthermore, physical transmission involves protocol encapsulation overhead. Every IP packet encapsulates TCP headers (20 bytes), IPv4 headers (20 bytes), and Ethernet framing (18 bytes). On Wi-Fi connections, airtime contention, preamble overhead, and error retransmission reduce real-world throughput by an additional 10% to 25%.

4. Comprehensive Multi-Tier Storage Reference Matrix

The table below documents the full spectrum of standardized digital data units from a single bit up to modern hyperscale yottabytes:

Unit Name Symbol Standard Base Exponent Exact Bit Count Typical Use Case
Bit b Fundamental 2⁰ 1 Machine logic gate state (0 or 1)
Nibble nibble Architecture 2² × 2 4 Single hexadecimal character (0-F)
Byte B SI / ISO 8 bits 8 One ASCII text character
Kilobyte KB SI Decimal 10³ Bytes 8,000 Plaintext paragraph, small icon
Kibibyte KiB IEC Binary 2¹⁰ Bytes 8,192 Operating system memory page (4 KiB)
Megabyte MB SI Decimal 10⁶ Bytes 8,000,000 Compressed MP3 song, smartphone photo
Mebibyte MiB IEC Binary 2²⁰ Bytes 8,388,608 RAM capacity reporting, Linux swap partition
Gigabyte GB SI Decimal 10⁹ Bytes 8 × 10⁹ Retail flash drive, 4K film download
Gibibyte GiB IEC Binary 2³⁰ Bytes 8.5899 × 10⁹ PC RAM (16 GiB, 32 GiB DDR5), GPU VRAM
Terabyte TB SI Decimal 10¹² Bytes 8 × 10¹² Retail NVMe SSD, consumer backup drive
Tebibyte TiB IEC Binary 2⁴⁰ Bytes 8.7960 × 10¹² Enterprise RAID volumes, ZFS storage pools
Petabyte PB SI Decimal 10¹⁵ Bytes 8 × 10¹⁵ Data center storage racks, YouTube daily video
Pebibyte PiB IEC Binary 2⁵⁰ Bytes 9.0071 × 10¹⁵ Large Hadron Collider (LHC) particle logs
Exabyte EB SI Decimal 10¹⁸ Bytes 8 × 10¹⁸ Cloud hyperscaler archive tiers (AWS S3 Glacier)
Zettabyte ZB SI Decimal 10²¹ Bytes 8 × 10²¹ Annual global internet protocol traffic
Yottabyte YB SI Decimal 10²⁴ Bytes 8 × 10²⁴ Theoretical capacity of planetary data centers

5. File Systems, 4KB Clusters & Disk Slack Space

When inspecting file properties in Windows, Linux, or macOS, you will routinely observe two distinct values:

  • Size: The actual payload length of the file stream (exact byte count).
  • Size on Disk: The total physical storage consumed on the drive media.

Modern operating systems do not allocate physical storage on a byte-by-byte basis. Instead, they organize hard drive and SSD partitions into allocation units (clusters), typically formatted at 4 KB (4,096 bytes) in NTFS, ext4, and APFS.

A cluster is the smallest addressable atomic quantum of storage that the file system driver can allocate to a file:

Slack Space Demonstration:
File: readme.txt (Contains 320 bytes of text)
Logical File Size: 320 Bytes
Cluster Allocation: 1 Cluster (4,096 Bytes)
Physical Size on Disk: 4,096 Bytes
Unused Slack Space: 4,096 − 320 = 3,776 Bytes (92.2% empty space inside cluster)

When a project directory contains tens of thousands of miniature source files (such as a JavaScript node_modules tree or a Git object database), cumulative cluster slack space can cause the physical "Size on Disk" to be 30% to 50% larger than the actual logical byte size of the codebase.

6. Hyperscale Big Data: Terabytes to Yottabytes

The expansion of human knowledge and digital instrumentation has caused data generation to grow at an exponential rate. In the 1980s, a 20-Megabyte hard drive was considered immense. Today, planetary computing infrastructure operates on metrics that challenge human intuition:

Petabyte (PB) Scale

1 PB = 1,000 TB. The James Webb Space Telescope transmits gigabytes of raw infrared telemetry daily, which when processed produces hundreds of petabytes of scientific imaging data.

Exabyte (EB) Scale

1 EB = 1,000,000 TB. Hyperscalers like Amazon Web Services (AWS), Google Cloud Platform (GCP), and Microsoft Azure manage global storage estates exceeding hundreds of exabytes.

Zettabyte (ZB) Scale

1 ZB = 1,000,000,000 TB. Total global datasphere volume reached an estimated 120 Zettabytes in 2023, driven by video streaming, autonomous vehicles, and generative AI training corpora.

7. Step-by-Step Worked Conversion Problems

Problem 1 • Drive Manufacturer to Windows OS Decimal to Binary

Calculate the exact Windows reported capacity of a 4 Terabyte (TB) external hard drive.

Step 1: Calculate Total Bytes in Manufacturer Decimal SI

4 TB = 4 × 10¹² Bytes = 4,000,000,000,000 Bytes

Step 2: Identify the Windows Divisor (Gibibyte Constant)

1 GiB = 2³⁰ Bytes = 1,073,741,824 Bytes

Step 3: Perform Long Algebraic Division

Capacity in GiB = 4,000,000,000,000 ÷ 1,073,741,824 ≈ 3,725.29 GiB

Step 4: Convert to Tebibytes (TiB)

3,725.29 ÷ 1024 ≈ 3.638 TiB (Windows shows 3.63 TB). Apparent gap: ~362 GB.

Problem 2 • Bandwidth to Download Time Bits to Bytes & Time

How long does it take to download a 65 Gigabyte (GB) modern video game over a 500 Mbps connection?

Step 1: Convert File Size into Bits

65 GB = 65 × 10⁹ Bytes = 65,000,000,000 Bytes
Total Bits = 65,000,000,000 × 8 = 520,000,000,000 bits (520 Gb)

Step 2: Determine Transmission Speed in Bits per Second

Speed = 500 Mbps = 500,000,000 bits/second

Step 3: Calculate Theoretical Duration in Seconds

Time (s) = 520,000,000,000 ÷ 500,000,000 = 1,040 seconds

Step 4: Convert to Minutes and Seconds

1,040 ÷ 60 = 17 minutes and 20 seconds (theoretical perfect link). With 8% protocol overhead: ~18m 45s.

Fact-Checked & Verified • Computational Accuracy Standards
Updated September 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

Why does my 1 TB SSD or hard drive only show 931 GB in Windows?
Your drive is not defective, and no storage was stolen. Storage hardware manufacturers legally market drives using decimal (SI) units where 1 TB equals 10¹² bytes (1,000,000,000,000 bytes). Microsoft Windows measures storage using binary powers-of-two increments (1024⁴ bytes per TiB) but labels the result as 'GB' instead of GiB. Dividing 1,000,000,000,000 bytes by 1,073,741,824 (1024³) gives approximately 931.32 GiB. In contrast, Apple macOS (since OS X 10.6) and modern Ubuntu Linux use decimal standard notation and correctly display 1.00 TB.
What is the official difference between Gigabytes (GB) and Gibibytes (GiB)?
A Gigabyte (GB) is defined by the International System of Units (SI) as a decimal base-10 value: 1 GB = 10⁹ bytes = 1,000,000,000 bytes. A Gibibyte (GiB) is defined by the International Electrotechnical Commission (IEC 60027-2) and IEEE 1541 as a binary base-2 value: 1 GiB = 2³⁰ bytes = 1,073,741,824 bytes. A Gibibyte is exactly 7.374% larger than a Gigabyte. The prefix 'Gibi' stands for 'Giga-binary'.
Why do Internet Service Providers advertise speeds in Megabits (Mbps) instead of Megabytes (MB/s)?
In telecommunications and digital electronics, physical hardware transmits raw serial signals one binary digit (bit) at a time over copper or fiber-optic channels. Therefore, network throughput is measured in bits per second (bps, Mbps, Gbps). Computer operating systems organize stored data into 8-bit bytes (B). Because 1 Byte = 8 bits, an 800 Mbps internet connection achieves a maximum theoretical transfer rate of 100 MB/s (800 ÷ 8). In real-world networking, protocol headers (TCP/IP, Ethernet, TLS) consume roughly 5% to 10% of total bandwidth.
What is a Nibble in computer architecture?
A nibble (occasionally spelled nybble) is a 4-bit aggregation, precisely half of an 8-bit byte. Because 2⁴ = 16, a single nibble maps directly to exactly one hexadecimal character (0 through F). Nibbles are heavily utilized in microcontroller registers, binary-coded decimal (BCD) representation, and packet header processing.
Why does an empty 128 GB USB flash drive lose capacity when formatted?
Formatting a drive creates a file system data structure (such as NTFS, FAT32, exFAT, or ext4). The file system reserves space for partition tables, boot sectors, master file tables (MFT), allocation bitmaps, and directory metadata to index file locations. Additionally, the binary vs. decimal unit discrepancy accounts for most of the apparent reduction: a 128,000,000,000-byte flash drive translates to 119.2 GiB in Windows before file system metadata is allocated.
What is 'Slack Space' and why does 'Size on Disk' differ from 'Size'?
Operating systems allocate disk storage in fixed-size blocks called clusters (commonly 4 KB or 4,096 bytes in NTFS). If you save a file containing only 500 bytes of text, the operating system must allocate an entire 4,096-byte cluster to hold it. The remaining 3,596 unused bytes inside that cluster represent 'slack space'. Consequently, 'Size' is the actual count of bytes within the file (500 B), whereas 'Size on Disk' is the physical storage consumed by allocated clusters (4,096 B).
How large is a Zettabyte or Yottabyte in physical perspective?
A Zettabyte (ZB) is 10²¹ bytes (1 sextillion bytes), and a Yottabyte (YB) is 10²⁴ bytes (1 septillion bytes). To conceptualize this, if every grain of sand on all the beaches on Earth represented one byte, that total volume would only equal roughly half a Megabyte. According to IDC, global data creation exceeded 120 Zettabytes in 2023, fueled by cloud computing, streaming video, AI models, and IoT sensor telemetry.