Calculator Soup^{®}
Notes: Choose the input unit you have and the output unit you want to convert to. Enter the value you want to convert then click on the "Calculate" button. All results are rounded to 3 decimal places.
The prefixes for bits and bytes (kilo, mega, giga and tera) are in binary notation not common SI unit notation. For example, 1 kilobyte = 1024 bytes, 1 megabyte = 1024 kilobytes, 1 gigabyte = 1024 megabytes, etc. A more complete discussion about binary prefixes. In common SI notation, say for joules, 1 kilojoule = 1000 joules, 1 megajoule = 1000 kilojoules, 1 gigajoule = 1000 megajoules, etc.
To simply convert from any unit into bytes, for example, from 5 gigabytes, just multiply by the value in the right column in the Bytes Reference table below.
5 GB * 2^{30} [B / GB] = 5,368,709,120 B
To convert from bytes back into units in the left column divide by the value in the right column or, multiply by the reciprocal, 1/x.
5,368,709,120 B / 2^{30} [B / GB] = 5 GB
To convert among any units in the left column, say from A to B, you can multiply by the factor for A to convert A into bytes then divide by the factor for B to convert out of bytes. Or, you can find the single factor you need by dividing the A factor by the B factor.
For example, to convert from gigabytes to terabytes you would multiply by 2^{30} then divide by 2^{40}. Or, multiply by 2^{30}/2^{40} = 2^{(3040)} = 2^{10}. So, to convert directly from gigabytes to terabytes you multiply by 2^{10}.
To understand how to also convert the units follow this example. Say you want to convert from exabytes to bytes. Since you can multiply anything by 1 and still retain the original value, but in different units, set it up so that EB will cancel out leaving you with B.
Since:
1 B = 2^{60} EB, 1 B / 2^{60} EB = 1We can write the conversion as:
1 EB =
1 EB * (1 B / 2^{60} EB) =
1 EB * (2^{0} B / 2^{60} EB) =
1 EB * (2^{(0  60)}) [B / EB ] = 2^{60} B
And we now have our factor for conversion from exabytes to bytes since 1 * 2^{60} = 2^{60}.
Knowing that 1 EB = 2^{60} B we can now find the conversion factor for converting back. Dividing both sides of the equation by 2^{60} we get 2^{60} EB = 1 B. So, the conversion factor to multiply by to convert from bytes to exabytes is about 2^{60}.


Cite this content, page or calculator as:
Furey, Edward "Computer Storage Units Conversion Calculator" From http://www.CalculatorSoup.com  Online Calculator Resource.