The word "bit" is an abbreviation for binary digit.
In a binary numeral, the digit in each place value is called a bit. So 1010 is a 4-bit number. Because there are fewer digits in binary (only 0 and 1) than in decimal (0-9), a number that's only a few digits long in decimal may be many bits long in binary.
Words and images are stored as numbers, and numbers are stored with bits (ones and zeros). You may be wondering what the ones and zeros look like inside the computer, but computers don't actually store the digits 0 and 1.
Computers store data using electricity. Generally, a 1 is stored as a charged electric signal and a 0 is stored as no charge. For example, the memory of your computer most likely stores bits by storing charge in a capacitor.
Capacitors store energy in an electric field (such as between two metal plates). Here are some capacitors of varying sizes:
The bits inside your computer are tiny—around 20 nanometers, and a nanometer is so small that a billion of them (1,000,000,000) are in one meter! That's why computers are able to store so much information.
For the binary number 1010, we could imagine the computer storing it like this:
The block will help you visualize how the computer stores any binary number.
electric of binary
block into the Scripts area, and experiment with it. You can type binary numbers directly into that block, or you can drag in a decimal to binary
block. Try both ways.