Search


Byte conversion

Convert between digital units: bit, Byte, kB, MB, GB, and TB. Ideal for file size estimation, network speed (Mbps), storage capacity, and programming. Supports real-time bidirectional conversion with high precision. Supported Units Relationships Unit Full Name Description Conversion b Bit The smalle

Current calculation formulas

1 Byte = 8 bits

1 kB = 1024 B

1 MB = 1024 kB = 1024² B

1 GB = 1024 MB = 1024³ B

1 TB = 1024 GB = 1024⁴ B


Description

Convert between digital units: bit, Byte, kB, MB, GB, and TB. Ideal for file size estimation, network speed (Mbps), storage capacity, and programming. Supports real-time bidirectional conversion with high precision.

Supported Units & Relationships

Unit Full Name Description Conversion
b Bit The smallest unit of information, representing a binary digit (0 or 1) 1 Byte = 8 bits
B Byte Basic data unit in computing, typically composed of 8 bits 1 B = 8 b
kB Kilobyte 1 kB = 1024 Bytes 1 kB = 1024 B
MB Megabyte 1 MB = 1024 kB 1 MB = 1,048,576 B
GB Gigabyte 1 GB = 1024 MB 1 GB = 1,073,741,824 B
TB Terabyte 1 TB = 1024 GB 1 TB = 1,099,511,627,776 B

Key Conversion Formulas

  1. 1 Byte = 8 bits

  2. 1 kB = 1024 B

  3. 1 MB = 1024 kB = 1024² B

  4. 1 GB = 1024 MB = 1024³ B

  5. 1 TB = 1024 GB = 1024⁴ B

Example Calculations

Example 1: Gigabyte to Bytes

1 GB = ? Bytes
1 GB = 1024 × 1024 × 1024 = 1,073,741,824 B

Example 2: Megabytes to Kilobytes

100 MB = ? kB
100 × 1024 = 102,400 kB

Example 3: Bytes to Megabytes

8,388,608 B = ? MB
8,388,608 ÷ 1,048,576 = 8 MB

Example 4: Terabyte to Gigabytes

1 TB = ? GB
1 TB = 1024 GB

Example 5: Network Speed – Mbps to MB/s

100 Mbps = ? MB/s
100,000,000 bits/s ÷ 8 = 12.5 MB/s
Note: This is why internet speeds are often advertised in Mbps but download rates show in MB/s.

Use Cases

  1. File size estimation and compression :understanding how large a video or image file is

  2. Network bandwidth calculation :converting Mbps to MB/s for download speed estimates

  3. Storage device capacity comparison :comparing SSDs, HDDs, USB drives

  4. Memory analysis in programming and algorithms:estimating memory usage of data structures

  5. Data center and cloud computing resource planning :managing storage quotas and backup sizes

  6. Teaching and student learning :helping students grasp binary prefixes and data scaling

Reference Standards

  • ISO/IEC 80000-13: Quantities and units — Part 13: Information science

  • IEC 60027-2: Letter symbols to be used in electrical technology

  • NIST Special Publication 811: Guide for the Use of the International System of Units (SI)

  • Textbooks: "Computer Systems: A Programmer's Perspective" by Bryant & O'Hallaron, "Operating System Concepts" by Silberschatz

Give a tip and encourage the author!

Frequently asked questions

A bit (b) is the smallest unit of data (0 or 1).
A Byte (B) consists of 8 bits.
So, 1 Byte = 8 bits.
For example: 1 KB = 1024 Bytes = 8192 bits.

Because computers use binary (base-2) systems.
1024 = 2¹⁰, which is close to 1000 and fits naturally in powers of two.
This is known as the binary prefix.
In contrast, 1000 is used in decimal (SI) prefixes like kibibyte (KiB), but most people still say "kilobyte".

Divide by 8 because 1 byte = 8 bits.
Formula: MB/s = Mbps ÷ 8
Example: 100 Mbps ÷ 8 = 12.5 MB/s
This explains why your 100 Mbps connection downloads at ~12.5 MB/s.

Yes!
GB (gigabyte) = 10⁹ bytes = 1,000,000,000 bytes (decimal)
GiB (gibibyte) = 2³⁰ bytes = 1,073,741,824 bytes (binary)
Many operating systems (like Windows) display storage in GiB, while manufacturers use GB.
This causes confusion when a 1 TB drive shows only ~931 GB usable space.

1 TB = 1024 GB = 1024 × 1024 × 1024 × 1024 B = 1,099,511,627,776 bytes
That’s over 1 trillion bytes!

Yes! Just input the number of bits, select the unit, and it will convert to all other units.
For example: 8,796,093,022,208 bits = 1 TB (since 1 TB = 8 × 1024⁴ bits).

WhatsApp
Send inquiry
+86
Click to upload file
Download
Get the IEE Business Application
Use the IEE-Business app to find equipment, obtain solutions, connect with experts, and participate in industry collaboration anytime, anywhere—fully supporting the development of your power projects and business.
Login
or continue with
New here?
Register