Connect via MCP →

Enter Calculation

Formula

Formula: Computer (Digital) Storage Units Converter
Show calculation steps (1)
  1. Bits per unit

    Bits per unit: Computer (Digital) Storage Units Converter

    Decimal prefix value of order n equals 1000^n; binary (IEC) prefix of order n equals 1024^n. Byte units multiply by 8.

Advertisement

Results

Result
0.001
in the selected target unit
Conversion 1 kilobyte = 0.001 megabyte
Equivalent in bits 8,000 bits

What this converter does

This tool converts a digital storage quantity from one unit to another across the full range of bit and byte units, in both decimal (SI) and binary (IEC) systems. Decimal units use powers of 1000 (kilobyte, megabyte, gigabyte...), while binary units use powers of 1024 (kibibyte, mebibyte, gibibyte...). Because the two systems are often confused, the converter keeps them strictly separate and uses bits as a common base so any unit converts cleanly to any other.

Hierarchy diagram showing one byte made of eight bits
One byte is made up of eight bits, the base unit of digital storage.

How to use it

Enter the value you want to convert, choose the unit it is currently expressed in under "From", and choose the unit you want under "To". The result updates to show the equivalent quantity, plus the same amount expressed in raw bits. Decimals are allowed, and very large or small results are shown with full precision.

The formula explained

The converter assigns each unit a fixed number of bits. A bit is 1, a byte is 8 bits. A decimal prefix of order \(n\) multiplies by \(1000^n\); a binary prefix of order \(n\) multiplies by \(1024^n\); byte-based units are then multiplied by 8. The conversion is simply:

$$\text{outputValue} = \text{inputValue} \times \dfrac{\text{bitsPerUnit(from)}}{\text{bitsPerUnit(to)}}$$

Since every bitsPerUnit is at least 1, division is always safe.

Two parallel ladders comparing decimal and binary storage unit scales
Decimal units step by 1000 (kB, MB, GB) while binary IEC units step by 1024 (KiB, MiB, GiB).

Worked example

Convert 1 kilobyte (kB) to megabytes (MB). bitsPerUnit(kB) = 8,000 and bitsPerUnit(MB) = 8,000,000. So bitsTotal = \(1 \times 8{,}000 = 8{,}000\) bits, and outputValue = \(\dfrac{8{,}000}{8{,}000{,}000} = 0.001\) MB. A second telling example: 1 gigabyte (GB, decimal) equals \(\dfrac{8 \times 10^{9}}{8{,}589{,}934{,}592} \approx 0.9313\) gibibytes (GiB, binary) - roughly 6.9% smaller. This is exactly why a "1 TB" drive is reported as about 931 GB in some operating systems that actually count in binary units.

FAQ

Why is my hard drive smaller than advertised? Manufacturers sell drives in decimal terabytes (1 TB = 1,000,000,000,000 bytes), but many systems display binary tebibytes labeled "TB". The numbers differ by about 9% at the terabyte scale.

What is the difference between a bit and a byte? A byte is exactly 8 bits. Network speeds are usually quoted in bits (Mbps), while file sizes are usually in bytes (MB), so dividing by 8 is often needed.

What are ronna, quetta, robi and quebi? Ronna (R) and quetta (Q) are recent SI prefixes for \(1000^{9}\) and \(1000^{10}\); robi and quebi are the proposed binary counterparts for \(1024^{9}\) and \(1024^{10}\), included here for completeness.

Last updated: