Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-14-2017, 11:03 AM   #1
Fully Optimized
 
Draygoes's Avatar
 
Join Date: Nov 2014
Location: United States
Posts: 1,653
Default Why 1024 instead of 1000?

This has been a curiosity more than anything, but I have yet to see any decent explanation. So why 1024kb instead of 1000kb? The only thing consistent in searches seems to be binary allocation, but that explanation doesn't match once you start talking GB and TB.
Thank you for your time. Your time is well spent if you don't mind the fact that you are spending it satisfying random curiosity.

Also; I couldn't decide if I should put this in General or here, so I simply put it here.
__________________

__________________
Will have a youtube channel up soon. Link will be here if I remember.
Draygoes is offline   Reply With Quote
Old 09-14-2017, 01:57 PM   #2
In Runtime
 
Join Date: Dec 2012
Location: USA
Posts: 496
Default Re: Why 1024 instead of 1000?

It's ALL about binary, there are 1024 bits in a Kbit because 1024 = 2^10 (2 to the power of 10) then, there are 1024 kbit in a Mbit for the same reason, that leads to 1024x1024=1,048,576bits, and a further 1024 Mb in a Gb which is 1058576^2=1,073,741,824

the 1024 comes about because with 10 BInary digiTS (bits) there are 1024 possible combinations of different ones and zeros, i.e. 1001011100 or 0011011100, from 0000000000 to 1111111111.

The discrepancy comes in to play because the K and M and G in Kb Mb and Gb are SI (metric) units and are base ten meaning they represent 1,000/1,000,000/1,000,000,000.

Recently, the binary notation standard has been changed to Kib, Mib, and Gib. Mebbi-bit and Gibbi-bit but only some people do it.

If you read the fine print on hard drive boxes and other components, you'll see it says 1GB=1,000,000,000 bytes, or something similar.

also there are always 8 bits (b) in a byte (B), so when you look at something like download speeds, and see 50Mb/s or 50Mbit, you can assume it will take about 8 seconds to download an 50MB (megabyte) file...
__________________

__________________
CPU: Ryzen 1700 GPU: MSI R9 480 4GB
RAM: 16gb DDR4 Disk: 128SSD + 2x1TB
Power: 750w asus prime b350m-a uatx mobo
Cortb is offline   Reply With Quote
Old 09-14-2017, 02:59 PM   #3
Fully Optimized
 
strollin's Avatar
 
Join Date: Mar 2011
Location: USA
Posts: 2,150
Default Re: Why 1024 instead of 1000?

Disk drive mfrs are notorious for using 1,000/1,000,000/1,000,000,000 because it makes the drive seem bigger. For instance, the free space on my C: drive is 43,895,386,112 bytes or 40.8GB. A disk mfr would state that it's got 43.9GB free because it makes the drive seem larger but ignores the fact that 1K = 1024.
__________________
strollin is offline   Reply With Quote
Old 09-14-2017, 04:17 PM   #4
Daemon Poster
 
Join Date: Nov 2014
Location: UK
Posts: 529
Default Re: Why 1024 instead of 1000?

Back in the day it didn't matter. The extra bytes being missed off were insignificant. Now we are dealing with Gigabytes and Terrabytes the difference between the actual and the stated size is massive.
__________________
pete.i is offline   Reply With Quote
Old 09-15-2017, 04:47 AM   #5
Fully Optimized
 
Celery's Avatar
 
Join Date: Jan 2013
Location: USA
Posts: 4,702
Default Re: Why 1024 instead of 1000?

I think they just round it off.

It's true that the numbers are binary but what I heard was that while a kilobytes were 1024 bytes to start with then megabytes and gigabytes are 1024x1000 and 1024x1000x1000.
__________________
I came on a Celeron!
Celery is online now   Reply With Quote
Old 09-15-2017, 09:17 AM   #6
Daemon Poster
 
AMD_man's Avatar
 
Join Date: Dec 2016
Location: Memory
Posts: 1,464
Default Re: Why 1024 instead of 1000?

Because each Kb is the smallest unit the processor can address (It would tecnically be a word, but it's the same principle).

So Let's say you have 4 bit instructions and a 4 bit address, that would make your words 8 bit words, and that's the smallest fraction of memory you can address. Since you have 4 bit addresses, you can address 2^4=16 memory "slots" or whatever you want to call them. So for your example, n=10, and there you have it.



It woul look something like that, only in my example you have a 4 bit Opcode and a 4 bit address.
__________________

__________________
"I so enjoy watching history warp as words pass
from the lips of one to the ears of another.
Imperfectly formed, half understood, poorly remembered."
AMD_man is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:49 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0