# Math Question...

Discussion in 'Green Room' started by Eagle710, Dec 7, 2007.

Messages:
312
Location:
Besides using a converter on the net how can i calculate bytes to megabytes..... Like an actual calculation formula(not just a converter)

Eagle710

Messages:
267
Quick and simple way would be to divide the amount of bytes you are looking for by 1megabyte which is 1,048,576bytes, So X/1048576 and it should give you how many megabytes it is.

3. ### ray_gillespieModeratorStaff MemberPolitical User

Messages:
1,693
Location:
Worcester, UK
Fenris is right. The principle behind binary Megabytes/Kilobytes etc is quite simple.

1 Kilobyte = 1,024 bytes
1 Megabyte = 1,024 Kilobytes
1 Gigabyte = 1,024 Megabytes
1 Terabyte = 1,024 Gigabytes

and so on. In terms of bytes, this works out at:

1 Kilobyte = 1,024 bytes
1 Megabyte = 1,024 x 1,024 = 1,048,576 bytes
1 Gigabyte = 1,024 x 1,024 x 1,024 = 1,073,741,824 bytes
1 Terabyte = 1,024 Gigabytes = 1,099,511,627,776 bytes

I hope that's useful.

Messages:
6,498
Location:
USA