Some space is used by the file system, and there are different ways to define "gigabyte".
Some space is used by the file system
and there are different ways to define "gigabyte".
I just want to add that it is not just the manufacturers, and that defining a KB/MB/etc in this way isn't completely crazy. The metric system existed long before modern commodity hardware, and the SI unit prefixes are used correctly by the hard drive manufacturers, largely because it would be even crazier for metric prefixes to be powers of ten in some situations and be binary powers in computer contexts, but I'm sure the fact that it allows the manufacturer to advertise more capacity doesn't hurt!Manufacturers define GB by 1KB = 1000 byte, which, on regular metric system is technically right, but in computers, it's not, it's 1024. So for every KB of the advertised storage you lose 24 bytes. It adds up.
The terms kibi/mebi/gibi abbreviated by KiB/MeB/GiB can be used to unambiguously represent the binary powers, but most consumers either don't know that or don't care so the manufacturers stick with the metric prefixes. Depending on what OS and system utilities you use, you can use either definition. Consider GNU df, "df --human-readable" will give free disk space in metric powers, while "df --si" will give the same information in binary powers:When i bought 4 GB flash disk,I can used 3.75 GB . Why?
4 Gb * 1024 = 4048 MB
How calculated?
~$ df --human-readable
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 29G 22G 5.7G 80% /
~$ df --si
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 31G 24G 6.1G 80% /
Verily! One can show that the discrepancy is actually a semilog!When you get into 10TB+ raid arrays it really starts to add up.
Hello,
I have flash disk and memory RAM and ... .
When i bought 4 GB flash disk,I can used 3.75 GB . Why?
4 Gb * 1024 = 4048 MB
How calculated?
![]()
This is something that needs regulation so that the definition of capacity is the same for all manufacturers so as not to confuse the buying public when they look at capacities. This is exactly why windows reports a lower capacity for storage than the manufacturer claims for a given drive. Hence manufacturer A sells a drive with a capacity of 1.5tb and when the customer gets home with it and installs it into their system windows reports a capacity of 1.36tb which confuses them. A single storage standard needs to be implemented so that a drive and OS manufacturer are using the same standard and reporting the same sizes for a given product. This oversight has been long ignored and needs to be addressed by a common standard for measurement just like SAE did with horsepower ratings. Until all manufacturers used the same standard you couldn't compare apples to apples and figures were all over the place.
Speaking of Apple, OS X and a couple of linux distros now report KB/MB/GB now and not KiB/MiB/GiB. So it does seem like there's a push to standardize, even if it's conveniently on the numbers that "look" bigger.