LoginSignup
1
0

More than 1 year has passed since last update.

bit(ビット) とByte(バイト)の違い

Posted at

はじめに

bit(ビット) とByte(バイト)という単位がコンピュータの勉強をしているとよく出てくるので、違いとそれぞれの単位についてまとめました。

結論

結論から言うと、8bit = 1Byte です。
省略形だと、bitの場合は100b、Byteの場合は100Bのように小文字と大文字で区別します。

bit(ビット)とは

  • コンピュータで扱う最小単位。
  • 1bitは2進数の一桁(0か1)で表現できる。

Byte(バイト)とは

  • 8bitをくくった単位。
  • 半角英数字1文字は1Byteで表現できる。
  • 日本語の全角文字1文字は2Byteで表現できる。
  • アルファベットを1文字扱うのにちょうどいい単位だったから、8bitをまとめた単位にした。
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0