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
 

Fenris

OSNN Senior Addict
Joined
16 Aug 2003
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.
 

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
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

Latest forum posts

Latest profile posts

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,011
Messages
673,477
Members
5,607
Latest member
rohitprabhakar