Please Scroll Down to See Forums Below
napsgear
genezapharmateuticals
domestic-supply
puritysourcelabs
UGL OZ
UGFREAK
napsgeargenezapharmateuticals domestic-supplypuritysourcelabsUGL OZUGFREAK

Mega and giga byte question

Fast Twitch Fiber

New member
Is a megabyte 1 million bytes? How many bytes are in a gigabyte?

1284918 bytes would equal about 1.25 megabytes right?

I'm trying to figure out website traffic and if I have enough bandwidth. I got 1284918 bytes of traffic in one week. My hosting plan allows for 5 gigabytes per month of bandwidth.
 
2 ^ 10 bytes = 1 kilobyte
2 ^ 20 bytes = 1 megabyte
2 ^ 30 bytes = 1 gigabyte
 
a bit is either 0 or 1.
a byte is 8 bits.
a kilobyte is 1024 bytes
a megabyte is 1024 kilobytes.
a gigabyte is 1024 megabytes.

You would think that they are straight up 1000 each time, but you would be wrong since you are dealing with powers of 8.
 
OK, with 5 gigabytes allowed that means I've only used up about 1/5000 of the bandwidth for a month right?

My site is just a personal site for friends. I'm not going to list it on here as I would like to remain anonymous for obvious reasons.
 
1024 X 1024 X 1024
or One Billion Characters

giga in powers of 10 would be 10 to the 9th.

Don't worry... If it's just a few guys hitting you here and there on the web you'll be fine.
 
are sure they are measuring it in raw bytes?
I feel like I'm used to seeing it in the number of K (1024 bytes) that is trasferred.

but yeah, if you really did transfer just over a meg of data this month, and you are allowed 5 gigs per month, then you are allowed about 5000 times what you transferred.

Just to give you an idea of how big things are, the start page for yahoo.com is 34KB (kilobytes) in size.
One minute of music compressed at 128KB rate is usually about one megabyte (1024KB).

So if you are serving out small text files and not getting lots of hits - then serving out just over a meg in a full month is probably about right.

Whereas, if you have images on there, or if you have music or movies - you are going to be serving far more than that and the number is likely a factor higher.
 
Top Bottom