AllUnitsConverters

Digital Storage Converter

Convert bytes, KB, MB, GB, TB, bits, Kibibytes (KiB), Mebibytes (MiB), etc.

Result

0

Visual Comparison

Base Unit

Relative Value

1,048,576
1,048,576
1,000,000
1,000,000
1,024
1,024
1,000
1,000
1
1

*Diagram shows values relative to the selected base unit (Byte).

Unit Information

What are Bits (b)?

A Bit (binary digit) is the most basic unit of data in computing, representing a 0 or 1. It is the fundamental building block for all digital information.

What are Bytes (B)?

A Byte is a group of 8 bits and is the standard unit for measuring data storage and file sizes. It can represent 256 different values (2⁸).

What are Kilobits (kb)?

A Kilobit (kb) is a decimal unit representing 1,000 bits. It is commonly used for measuring data transfer rates (kbps).

What are Kilobytes (KB)?

A Kilobyte (KB) is a decimal unit representing 1,000 bytes. It's a common unit for small file sizes like text documents or simple icons.

What are Kibibytes (KiB)?

A Kibibyte (KiB) is a binary unit representing 1,024 bytes (2¹⁰). This unit was created by the IEC to resolve the ambiguity between the decimal (1000) and binary (1024) definitions of 'kilo'.

What are Megabits (Mb)?

A Megabit (Mb) is a decimal unit representing 1,000,000 bits. It is widely used to describe internet connection speeds (Mbps).

What are Megabytes (MB)?

A Megabyte (MB) represents 1,000,000 bytes. MB is commonly used for the size of photos, songs, and small software applications.

What are Mebibytes (MiB)?

A Mebibyte (MiB) represents 1,048,576 bytes (1024²). Operating systems often report file sizes using this binary-based unit, even if they label it as 'MB'.

What are Gigabits (Gb)?

A Gigabit (Gb) is one billion (10⁹) bits. It is used for high-speed network interfaces like Gigabit Ethernet.

What are Gigabytes (GB)?

A Gigabyte (GB) represents one billion bytes. GB is a standard unit for measuring storage device capacity (RAM, SSDs, hard drives) and movie file sizes.

What are Gibibytes (GiB)?

A Gibibyte (GiB) represents 2³⁰ (1,073,741,824) bytes. The difference between a GB and a GiB is about 7.4%, which is why a 1TB hard drive (1 trillion bytes) shows up as about 931 GiB in your operating system.

What are Terabits (Tb)?

A Terabit (Tb) is one trillion (10¹²) bits. It is used to describe very high-capacity network backbones and data center interconnects.

What are Terabytes (TB)?

A Terabyte (TB) is one trillion bytes. Terabytes are common for measuring hard drive capacity and large datasets.

What are Tebibytes (TiB)?

A Tebibyte (TiB) is 2⁴⁰ bytes (1,099,511,627,776 bytes). It's the binary equivalent of a terabyte.

What are Petabytes (PB)?

A Petabyte (PB) is one quadrillion (10¹⁵) bytes. This massive scale is used to measure the data held by large cloud services, data centers, and global internet traffic.

Formulas

1 Byte = 8 bits

The fundamental relationship between bits and bytes.

1 Kilobyte (KB) = 1000 Bytes

The decimal prefix for kilobytes, used in data storage marketing.

1 Kibibyte (KiB) = 1024 Bytes

The binary prefix for kibibytes, used in memory addressing and by operating systems.

1 Megabyte (MB) = 1000 KB

One megabyte is one thousand kilobytes (or one million bytes).

1 Mebibyte (MiB) = 1024 KiB

One mebibyte is 1024 kibibytes.

1 Gigabyte (GB) = 1000 MB

One gigabyte is one thousand megabytes.

1 Gibibyte (GiB) = 1024 MiB

One gibibyte is 1024 mebibytes.

Key Reference Points

Key Digital Storage Reference Points
  • A single text character (ASCII): ~1 Byte.
  • A typical MP3 song (3-4 minutes): ~3-5 Megabytes (MB).
  • A standard definition movie (2 hours): ~1-2 Gigabytes (GB).
  • A high-resolution photo from a modern phone: ~4-8 MB.
  • A one-page plain text document: ~2-4 Kilobytes (KB).
Large Scale Data
  • Modern consumer hard drives: Often 1-10 Terabytes (TB) or more.
  • The complete works of Shakespeare: About 5 MB.
  • The Library of Congress web archive: Over 1 Petabyte (PB).
  • A modern AAA video game download: Often 50-150 GB.
  • Human Genome data (sequenced): ~3 GB per person.

Did You Know?

Bit vs. Byte

A 'bit' (binary digit) is the smallest unit of data, representing a 0 or 1. A 'byte' is typically 8 bits. Internet speeds are often advertised in bits per second (e.g., Mbps - megabits per second), while file sizes are usually in bytes (e.g., MB - megabytes). This difference can sometimes cause confusion if not noted carefully (1 MBps = 8 Mbps).

The Growth of Storage

The first commercial hard disk drive in 1956, the IBM 350, could store about 3.75 megabytes and was the size of two refrigerators. Today, terabyte-sized drives fit in your pocket.

Binary Nature of Computing

Computers use binary (base-2) because it's easy to represent two states (0 and 1) with electronic circuits (e.g., on/off, low/high voltage). This is why binary prefixes (KiB, MiB, GiB) based on powers of 1024 (2^10) are often more technically accurate for memory and some storage contexts.

The Yottabyte

A yottabyte (YB) is an immense unit of storage equal to 10²⁴ bytes (a septillion bytes). It's difficult to comprehend, but it's estimated that all the data in the world is in the range of dozens of zettabytes (1 zettabyte = 1000 exabytes, 1 exabyte = 1000 petabytes), so we are approaching the yottabyte scale.

HDD vs. SSD Storage

Hard Disk Drives (HDDs) store data magnetically on spinning platters, while Solid-State Drives (SSDs) use flash memory chips with no moving parts, making them much faster and more durable.

The First Floppy Disk

The first 8-inch floppy disk, introduced by IBM in 1971, had a capacity of just under 80 kilobytes (KB). It was considered a significant innovation for its portability at the time.

Data Compression

Data compression algorithms work by finding and eliminating statistical redundancy. Lossless compression (like in ZIP files) allows the original data to be perfectly reconstructed, while lossy compression (like in JPEG images) permanently discards some information to achieve much smaller file sizes.

The Word 'Bug'

The term 'computer bug' was popularized after a moth was found trapped in a relay of the Mark II computer at Harvard University in 1947, causing a malfunction. The moth was taped to the log book, and the term has been used for errors ever since.

A 'Nibble'

Half a byte (four bits) is humorously called a 'nibble'. It can represent one hexadecimal digit.

Moore's Law

Moore's Law is the observation that the number of transistors on a microchip doubles about every two years, leading to exponential growth in computing power and storage capacity for a given price.

Data Degradation

Digital data is not permanent. Magnetic storage like HDDs can degrade over decades, while flash memory in SSDs has a finite number of write cycles. Long-term data archival is a significant challenge.

The First Gigabyte Hard Drive

The first gigabyte-capacity hard drive was the IBM 3380, introduced in 1980. It weighed over 500 pounds (227 kg) and was the size of a refrigerator.

The Human Genome

The complete human genome, which contains all our genetic information, can be stored in about 3 gigabytes of data. However, raw sequencing data can be much larger.

The 'Word' in Computing

A 'word' is a standard unit of data handled by a particular processor architecture. Its size can vary; modern computers typically use 64-bit words, while older systems used 32-bit, 16-bit, or even 8-bit words.

The 'Brontobyte'

While not an official SI unit, the 'brontobyte' is a term sometimes used to describe the next level of data storage after the yottabyte, representing 10²⁷ bytes. It's a theoretical unit for the future of big data.

Error Correction Codes

Data storage is not perfect. To protect against data corruption, systems use Error Correction Codes (ECC), which add extra 'parity' bits to the data. These extra bits allow the system to detect and correct errors, ensuring data integrity at the cost of slightly more storage space.

Holographic Data Storage

Holographic storage is a potential future technology that aims to store data in three dimensions within a crystal or polymer, offering the potential for extremely high storage densities, far beyond current magnetic or optical media.

The Punch Card

An early form of data storage was the punch card, where data was represented by the presence or absence of holes in specific positions on a piece of cardstock. A standard IBM card could typically store about 80 characters (80 bytes).

Frequently Asked Questions