More games at WuGames.ioSponsoredDiscover free browser games — play instantly, no download, no sign-up.Play

All Data Storage Units

Convert all data storage units instantly. Bytes, KB, MB, GB, TB, PB, bits, Kbit, Mbit, Gbit in one tool. Free online converter with formulas and table.

All data storage units in one place — try the unified converter

How to Convert Data Storage Units?

Data storage units measure digital information capacity. This converter uses the decimal (SI) standard where 1 KB = 1,000 bytes, making it ideal for storage device specifications and data transfer calculations.

Enter a value, select your source unit, and choose the target unit. The converter shows all unit equivalents including both byte-based and bit-based measurements.

Frequently Asked Questions

What units of data storage does this converter handle?

This converter handles bit-based units (bit, byte, kilobit, kilobyte, megabit, megabyte, gigabit, gigabyte, terabit, terabyte, petabit, petabyte). One byte equals exactly 8 bits, standardized since the 1960s by IBM's choice for the System/360. The converter uses decimal SI prefixes by default (kilo = 1000, mega = 10^6, giga = 10^9), which matches storage-manufacturer labeling (a '1 TB' drive holds 10^12 bytes). For binary prefixes (kibi = 1024, mebi = 2^20, gibi = 2^30) which match what operating systems often report, see the separate question about binary vs decimal. The bit and byte themselves are dimensionless counts of information, not physical units.

What is the exact relationship between bits, bytes, and storage prefixes?

1 byte = exactly 8 bits. Decimal SI prefixes: 1 kB = 1000 B, 1 MB = 10^6 B, 1 GB = 10^9 B, 1 TB = 10^12 B, 1 PB = 10^15 B. Binary IEC prefixes: 1 KiB = 1024 B, 1 MiB = 2^20 B = 1,048,576 B, 1 GiB = 2^30 B ~ 1.0737 GB, 1 TiB = 2^40 B ~ 1.0995 TB. The relative gap between decimal and binary grows: 2.4% at kB, 4.9% at MB, 7.4% at GB, 10.0% at TB, 12.6% at PB. So a '1 TB' SSD reads as '931.32 GB' in Windows (which uses binary), causing the perennial 'where's my disk space?' question. This converter uses decimal prefixes by default.

When should I use bits vs bytes for storage?

Use bytes for almost all storage contexts: file sizes (an MP3 is ~3 MB, a movie is ~2 GB, a database backup is ~50 GB), disk capacity, RAM, USB drives, SD cards, SSDs, hard drives, and tape backups. Use bits in very specific contexts: networking and bandwidth specs (Mbps, see data-rate converter), encryption key lengths ('256-bit AES'), audio/video bitrates ('320 kbps MP3'), and low-level hardware specifications. Storage devices are advertised in bytes; data pipes in bits. A 256-bit encryption key occupies 32 bytes in memory. The 8x factor between bit and byte units is the most common source of consumer confusion in storage discussions.

How precise are conversions and the binary vs decimal SI prefix issue?

Internally the tool uses 64-bit floating-point and the exact factors above, giving 15+ significant digits of precision. The binary vs decimal issue is critical and intentional: IEC 80000-13 (2008) and IEEE 1541 distinguish 'kilobyte' (kB = 1000 B) from 'kibibyte' (KiB = 1024 B). Storage marketing follows IEC and SI (decimal); Windows still uses binary while labeling it 'GB' (technically wrong, but historically entrenched). macOS switched to decimal in 2009 to match storage labels. Linux varies by tool. When you see '500 GB hard drive' on a spec sheet, it's 5 x 10^11 bytes; when Windows says '465 GB used', it's reporting GiB while labeling it GB. The converter uses decimal SI throughout; for binary, multiply by appropriate 2^n factors manually.

What are common gotchas with storage units?

First, the binary-vs-decimal issue (above) - a '4 TB' drive shows as 3.64 TB in Windows. Second, formatted vs unformatted capacity: about 5% of a drive's capacity goes to filesystem metadata (NTFS, ext4, APFS). Third, SSD over-provisioning: factory-set spare blocks reduce user-visible capacity below the marketed number. Fourth, 'GB' on phones often includes the OS itself, so a '128 GB' phone may show only 110 GB available. Fifth, RAM is always reported in binary (8 GB DDR4 = 8 GiB = 8589934592 bytes) while disks are reported in decimal. Sixth, cloud storage (Google Drive, iCloud, Dropbox) uses decimal SI prefixes, matching SSD marketing.

What is the relationship between storage, memory, and information theory?

Storage measures physical capacity in bits or bytes. Memory (RAM) is also bytes but with vastly faster access times. Information theory (Shannon, 1948) treats the bit as a unit of information content: a sequence with H bits of entropy can be compressed to roughly H bits without loss. So a 'compressed' file of size B bytes contains 8*B bits of physical storage but possibly only 2 to 4 actual information bits per byte (text compresses well; encrypted data and white noise don't compress at all). The Kolmogorov complexity of a string is the length of its shortest program. Storage is the engineer's bit; information is the mathematician's bit; both share units but distinct meanings. This converter handles the engineer's view.

How is the bit defined in modern standards?

The bit (binary digit, coined by Tukey, popularized by Shannon 1948) is dimensionless: a unit of information from a choice between two equally likely outcomes. It is not an SI unit but is universally accepted in computing. The byte's 8-bit standard is established by ISO/IEC 2382-1 and reinforced by IBM's System/360 (1964) which made the 8-bit byte ubiquitous. IEC 80000-13 (2008) defines binary prefixes (Ki, Mi, Gi, Ti, Pi, Ei, Zi, Yi) explicitly to disambiguate from decimal SI prefixes. NIST SP 811 endorses IEC binary prefixes for clarity. JEDEC retains traditional binary usage for memory chip capacities (8 GB DDR5 module means 2^33 bytes). The converter follows SI decimal convention by default.

What are storage edge cases at extreme scales?

Very small: 1 bit is a single yes/no answer; a 7-bit ASCII character; a 32-byte Bitcoin private key holds 256 bits of cryptographic strength. Personal: a typical text message 100 B, photo 3 MB, song 5 MB, hi-res movie 50 GB, modern laptop SSD 1 TB, NAS box 100 TB. Enterprise: SAN arrays 10 PB, data lakes 1 EB (10^18 bytes), Google's total storage estimated at 10 to 100 EB, world's annual data creation 175 ZB (10^21 bytes, 2025 estimate). Theoretical limits: the Bekenstein bound limits information per region of space; the entire observable universe holds ~10^120 bits if encoded at maximum density. The converter handles arbitrary magnitudes mathematically; physical storage densities (~10^14 bits/cm^3 in current HDD) are physics, not arithmetic.

All Data Storage Units — Convert all data storage units instantly. Bytes, KB, MB, GB, TB, PB, bits, Kbit, Mbit, Gbit in one tool. Free online con
All Data Storage Units

Units

Byte (B)

The byte is the fundamental unit of digital storage, consisting of 8 bits. A single character of text typically requires 1 byte in ASCII encoding. Modern storage devices measure capacity in bytes and their multiples.

Kilobyte (KB)

Equal to 1,000 bytes in decimal notation. A typical text email without attachments is 1-5 KB, while a small image thumbnail might be 10-50 KB. Word documents average 20-100 KB depending on content.

Megabyte (MB)

Equal to 1,000,000 bytes. A high-resolution photo is typically 2-8 MB, an MP3 song averages 3-5 MB, and a minute of standard video is about 100-150 MB. Most smartphone apps range from 50-500 MB.

Gigabyte (GB)

Equal to 1,000,000,000 bytes. A standard DVD holds 4.7 GB, a full HD movie is 4-8 GB, and modern video games range from 30-150 GB. Smartphones typically offer 64-512 GB of storage.

Terabyte (TB)

Equal to 1,000,000,000,000 bytes. Consumer hard drives now commonly offer 1-8 TB. A terabyte can store approximately 200,000 songs, 310,000 photos, or 500 hours of HD video.

Common Data Storage Conversions

FromToValue
1 KBBytes1,000 B
1 MBKilobytes1,000 KB
1 GBMegabytes1,000 MB
1 TBGigabytes1,000 GB
1 PBTerabytes1,000 TB
1 ByteBits8 bits
1 KBKilobits8 Kbit
1 MBMegabits8 Mbit
1 GBGigabits8 Gbit
500 GBTB0.5 TB
4.7 GBMB4,700 MB
128 GBTB0.128 TB