データストレージコンバータ

ビット、バイト、KB、MB、GB、TB、二進単位の間でディジタルストレージを変換します。

結果 —
変換 —

結果はタイプすると更新されます。

この計算機は正しい答えを与えたか。

この計算機の情報

A data storage converter changes a digital size between bits and bytes and their multiples, converting through the byte as a common base. It covers both the decimal SI units — kilobyte, megabyte, gigabyte, terabyte and petabyte, each a power of 1,000 — and the binary IEC units — kibibyte, mebibyte, gibibyte and so on, each a power of 1,024.

Keeping the two families apart is the whole point: 1 KB is 1,000 bytes but 1 KiB is 1,024 bytes, and the gap widens at each step, reaching about 10% by the terabyte. There are always 8 bits in a byte, whichever family you use.

Worked example: to convert 500 megabytes to gigabytes in SI units, divide by 1,000, giving 0.5 GB. To see why a "1 TB" drive shows as about 931 GiB, divide 1,000,000,000,000 bytes by 1,073,741,824, the number of bytes in a gibibyte. A results table lists the size in every unit at once, handy for sizing downloads, disks and bandwidth.

よくある質問

キロバイトは1000バイトか1024バイトですか?

単位によって異なります。SI キロバイト (KB) は 1,000 バイトであり、二進キビバイト (KiB) は 1,024 バイトです。ストレージは通常十進単位で販売され、ソフトウェアによっては二進単位で報告しましたされます。そのため、「1 TB」ドライブは ~931 GiB と表示されます。

1バイトには何ビットありますか。

There are 8 bits in a byte. Network speeds are usually quoted in bits per second, so a 100 Mbps link transfers at most about 12.5 MB per second.

1ギガバイトは何メガバイトですか。

十進法SI単位では、1GB = 1,000MB。二進法単位では、1GiB = 1,024MiB。

なぜハードディスクの空き容量が表示されている空間より少ないのですか?

Manufacturers sell drives in decimal units (a "1 TB" drive is 1,000,000,000,000 bytes), but many operating systems report size in binary units. Dividing by 1,073,741,824 turns that 1 TB into about 931 GiB, so no space is actually missing.

メガビットをメガバイトに変換するには?

メガビットを 8 で割り切ってください。1バイトは 8 ビットです。100 Mbps の接続は 1 秒に 12.5 メガバイトを送信します。このデータストレージコンバータは ビットとバイトを 8 対 1 の比率で扱います。

メガバイトとメビバイトの違いは何ですか。

A megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes (1,024²). The binary mebibyte is about 4.9% larger.

❤️ ラブ Calculator.Free? 分けて

𝕏  X Facebook Reddit
API — コードからこの計算機を使う

この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →

エンドポイント

GET https://calculator.free/api/v1/data-storage/

curl

curl "https://calculator.free/api/v1/data-storage/?amount=1&from=mb&to=gb"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/data-storage/?" + new URLSearchParams({
    "amount": "1",
    "from": "mb",
    "to": "gb"
  }));
const data = await r.json();
console.log(data.results);

結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。