# Byte Converter / Tool

## Converts the entered unit of byte to another unit.(bit, byte, KB, MB, GB, TB, etc.)

• Rounded to the fourteenth decimal place.
 bit byte kilobyte KB / KiB megabyte MB / MiB gigabyte GB / GiB terabyte TB / TiB petabyte PB / PiB exabyte EB / EiB zettabyte ZB / ZiB yottabyte YB / YiB
A number with many digits may appear as "1e9". This is the computer's exponential representation, where "e" is a power of 10.
1e3 = 103 = 1,000
1e6 = 106 = 1,000,000
1e9 = 109 = 1,000,000,000
1e-3 = 10-3 = 0.001
1e-6 = 10-6 = 0.000001
1e-9 = 10-9 = 0.000000001

## Bit / Byte conversion formula

$1byte = 8bit$
$1KB = 1024byte$

## 1 KB is 1024 Bytes? or 1000 Bytes?

This tool converts 1 kilobyte (KB) to 1024 bytes.

But originally kilo is $10^3$. These are called metric prefixes.

Metric prefix Name Base 10
K kilo $10^3$ = 1,000
M mega $10^6$ = 1,000,000
G giga $10^9$ = 1,000,000,000
T tera $10^{12}$ = 1,000,000,000,000
P peta $10^{15}$ = 1,000,000,000,000,000
E exa $10^{18}$ = 1,000,000,000,000,000,000
Z zetta $10^{21}$ = 1,000,000,000,000,000,000,000
Y yotta $10^{24}$ = 1,000,000,000,000,000,000,000,000

But since computers are binary numbers, $10^n$ is inconvenient.

$1bit = 2^1 = 2$
$2bit = 2^2 = 4$
$3bit = 2^3 = 8$

$8bit = 2^8 = 256$
$9bit = 2^9 = 512$
$10bit = 2^{10} = 1024$

Therefore, the computer decided as follows.

• KB: 1,024byte
• MB: 1,024KB
• GB: 1,024MB

But this conversion method is often confusing. It is recommended to use a binary prefix to ensure a distinction.

Binary prefix Name Base 10
Ki kibi $2^{10}$ = 1,024
Mi mebi $2^{20}$ = 1,048,576
Gi gibi $2^{30}$ = 1,073,741,824
Ti tebi $2^{40}$ = 1,099,511,627,776
Pi pebi $2^{50}$ = 1,125,899,906,842,624
Ei exbi $2^{60}$ = 1,152,921,504,606,846,976
Zi zebi $2^{70}$ = 1,180,591,620,717,411,303,424
Yi yobi $2^{80}$ = 1,208,925,819,614,629,174,706,176

Hirota Yano / Born in 1987. Programmer.
I am publishing a web tool I created as a hobby. It is free of charge, so please feel free to use it.
© HIROTA YANO