Math Question...

Eagle710

OSNN Senior Addict
Joined
13 Mar 2005
Messages
312
Besides using a converter on the net how can i calculate bytes to megabytes..... Like an actual calculation formula(not just a converter)

Eagle710
 
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.
 
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.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back