jcbermu's answer is good, but I want to approach this from a different angle.
1GB is 1,000,000,000 bytes (powers of 10) and 1,073,741,824 bytes (powers of 2), then: it shows less storage capacity (the powers of 2). Why is it less? If I see for 1GB more storage capacity in powers of 2 than powers of 10.
A storage media -- any storage media -- can store a specific number of accessible bits. Usually in general purpose computing, it's expressed as bytes or some multiple of bytes, but if you start looking at for example memory ICs (integrated circuits, chips), you will see their memory capacity expressed in terms of accessible bits.
A hard disk will store some specific number of bits or bytes which, for technical reasons, are addressed in terms of sectors. For example, a 4 TB drive might have 7,814,037,168 sectors of 512 bytes each, which works out to a storage capacity of 4,000,787,030,016 bytes. That's what you actually get. (In practice, you then lose some of that to the computer's bookkeeping information: file system, journal, partitioning, etc. However, the bytes are still there, you just can't use them to store files, because they are needed to store the data that effectively allows you to store the files.)
Of course, the number 4,000,787,030,016 is somewhat unwieldy. For that reason, we choose to represent this information in some other way. But as jcbermu illustrated, we choose to do so in two different ways: in powers of ten, or powers of two.
In powers of ten, 4,000,787,030,016 bytes is 4.000787030016 * 10^12 bytes, which rounds quite nicely; with four significant digits, it rounds to 4.001 TB, for the SI definition of "tera": 10^12. Our hard disk can store more than 4 * 10^12 bytes, so in SI terms, it is a 4 terabyte storage device.
In powers of two, 4,000,787,030,016 bytes is 3.638694607 * 2^40 bytes, which doesn't round quite so nicely. It also looks like a smaller quantity, because 3.639 is less than 4.001, and that is bad for marketing (who wants to buy a 3.6 TB drive when the manufacturer next door sells a 4.0 TB drive for the same price?). This is the binary prefix 3.6 "tebibytes", where the "bi" indicates that it's a base-two quantity.
In reality, however, it's exactly the same number of bytes; the number is only expressed differently! If you do the math again, you will see that 3.638694607 * 2^40 = 4.000787030016 * 10^12, so you get the same storage capacity in the end.
13"Why is it less? If I see for 1GB more storage capacity in powers of 2 than powers of 10." Your height in inches gives the smaller number than the same height in centimeters, just because there is more "length capacity" in inch than in centimeter. So, for the fixed value to express: the larger the unit, the lower the number. – Kamil Maciorowski – 2016-05-25T11:01:56.283
4Its not less, its the same value, represented by two different bases. – Ramhound – 2016-05-25T12:55:06.197
2You can't simply say that 10^2 - 100 and 2^2 = 4. You have to calculate what 100 would be in base 2. – Ramhound – 2016-05-25T13:16:43.363
4"A computer operating system" - Mine doesn't... Or, actually, it uses MB (base10) in the GUI, but MiB (base2) in the CLI. Just to keep things interesting. – marcelm – 2016-05-25T16:07:32.217
2They're saying that "powers of 10" are smaller than the similar magnitude powers of 2. E.g., 1000 (10^3) < 1024 (2^10). And 1000000 (10^6) < 1048576 (2^20). So to a drive manufacturer, your 1 terabyte hard drive has (at least) 1,000,000,000 bytes (and actually a little bit more) while to an operating system utility reporting on space 1 terabyte is 1,099,511,627,776 bytes. So the OS will report your 1Tb hard drive as 931Gb, or a bit more. (Or maybe not, see @marcelm above.) – davidbak – 2016-05-25T16:48:52.083
https://en.wikipedia.org/wiki/Binary_prefix – fr13d – 2016-05-25T18:15:37.103
Suppose you have a hard drive with 1,073,741,824 bytes. In the powers-of-two system that would be written as 1GB. In the powers-of-ten system that would be written as 1.073GB. So if the manufacturer decides to label their hard drives in the power-of-ten system, it looks like you're getting 0.073GB extra. – user253751 – 2016-05-25T20:03:05.987
It's the same size hdd manufacturers round up because selling a 4.856GB HDD wouldn't be bought even though that's about the size of a 5GB HDD – Ramhound – 2016-05-25T22:00:13.400
It was even worse for floppy disks which in some cases used mega=1000*1024.
– Chris H – 2016-05-26T08:40:51.690compare 10^2 and 2^7, not 2^2. Same to 10^3 and 2^10 – phuclv – 2016-05-26T14:14:02.870
"Because Math". Using GB for powers of 2 is also deprecated. Powers of 2 for Gigabytes are now officially to be listed as "GiB". – Brian Knoblauch – 2016-05-27T14:15:57.887
First, thank you for your replies :) . Then I was focusing in result instead of powers. I think that I understand: For powers of 2 I need a higher exponent to represent 1GB (30 in this case, so I need: 2x2x2x2... to 30 times). For powers of 10 I need a lower exponent: only 10^9, so If I represent power of 2 with same exponent: 2^9 I would have less quantity than power of 10. Then that is the reason that the document says: 1GB in power of 2 shows less storage capacity. – learnprogramming – 2016-06-02T14:09:36.160