I-Data Storage Converter

Guqula uvimba weefayili phakathi kwee-bits, ii-bytes, KB, MB, GB, TB kunye neeyunithi ze-binary.

I-Index —
Uguqulelo —

Iinketho ze projekti

Ingaba le calculator ikunika umyalezo olungileyo?

Malunga nale Calculator

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.

Imibuzo ebuza rhoqo

Ingaba i-kilobyte i-1000 okanye i-1024 bytes?

Kuxhomekeke kwiyunithi. I-SI kilobyte (KB) yi-1,000 bytes, ngelixa i-binär kibibyte (KiB) yi-1,024 bytes. Ukugcina kuthe kuthengiswa nge-decimal units kwaye kuxelela ezinye iinkqubo zekhompyutha nge-binär ones, oko kukuthi, "1 TB" drive ibonisa njenge ~931 GiB.

Ii-bit eziphi kwi-byte?

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.

Ingaba zininzi i-megabytes kwi-gigabyte?

Kwiiyunithi ze-SI eziliqela, 1 GB = 1,000 MB. Kwiiyunithi ezibini, 1 GiB = 1,024 MiB.

Kutheni i-hard drive yam ibonisa isithuba esincinane kunesinikezelwe?

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.

Ndiguqula njani ii-megabits zibe zii-megabytes?

Divide megabits by 8, because a byte is 8 bits. A 100 Mbps connection therefore transfers at most about 12.5 megabytes per second, and this data storage converter treats bits and bytes with that 8-to-1 ratio.

Yintoni utshintsho phakathi kwe-megabyte ne-mebibyte?

I-megabyte (MB) yi-1,000,000 ye-bytes, ngelixa i-mebibyte (MiB) yi-1,048,576 ye-bytes (1,024²). I-mebibyte yesibini imalunga ne-4.9% enkulu.

❤️ Uthando Calculator.Free? Yabelana

𝕏  X Facebook Reddit
API — sebenzisa le calculator ukusuka kwikhowudi

Nceda le khadi lemali njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo ezantsi njengeparameter yombuzo okanye i-JSON. Nantoni na oyenzayo isebenzisa okungagqibekanga okufanayo eli phepha ligqityiwe ngaphambili; iparameter engaziwayo yi 400, ayikho i zero ekhululekileyo. Funda i-API epheleleyo →

Incopho yesiphelo

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);

Results are estimates for general guidance only, not financial, medical or tax advice.