Ukuguqula ukugcinwa kwedatha

Guqula ukugcina okudijithali phakathi kwama-bits, ama-bytes, KB, MB, GB, TB namayunithi ababili.

Imiphumela —
Ukushintsha —

Iziphetho zivuselelwa uma ubhala.

Ingabe le calculator ikulethela impendulo efanele?

Malunga nale khadi

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 ebuzwa kaningi

Ingabe i-kilobyte ilingana ne-1000 noma ne-1024 bytes?

Kuxhomekeka kuyunithi. I-SI kilobyte (KB) yi-1,000 bytes, kanti i-binary kibibyte (KiB) yi-1,024 bytes. Ukugcina kuthengwa ngokuvamile ngeyunithi ezingu-10 futhi kushicilelwa yisofthiwe esebenzisa ama-binary, ngakho-ke "1 TB" drive ibonisa njenge ~931 GiB.

Ingabe amabithi angakanani e-byte?

Kukhona ama-bit ayi-8 kwi-byte. Ijubane lenethiwekhi livame ukucaciswa ngama-bit ngasikhathi sinye, ngakho-ke uxhumano lwe-100 Mbps ludlulisa okuningi mayelana ne-12.5 MB ngasikhathi sinye.

Ingabe kune-megabytes eningi ku-gigabyte?

Kuzinhlamvu zesi SI, 1 GB = 1,000 MB. Kuzinhlamvu zesi binary, 1 GiB = 1,024 MiB.

Kungani i-hard drive yami ibonisa isikhala esincane kunalokho okuthunyelwe?

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.

Ngiguqula kanjani ama-megabits abe ama-megabytes?

Yabelana ama-megabits ngo-8, ngoba i-byte iyisi-8 bits. Ukuxhumana kwe-100 Mbps ngakho-ke kudlulisa okuningi mayelana ne-12.5 megabytes ngomzuzu, futhi lo mguquli wokugcina idatha uphatha ama-bits nama-bytes ngo-8-to-1 ratio.

Yini ushintsho phakathi kwe-megabyte ne-mebibyte?

I-megabyte (MB) ilingana ne-1,000,000 bytes, kanti i-mebibyte (MiB) ilingana ne-1,048,576 bytes (1,024²). I-mebibyte eyisi-mbili ilingana ne-4.9% enkulu.

❤️ Uthando Calculator.Free? Yabelana

𝕏  X Facebook Reddit
API — sebenzisa le calculator kusuka kukhodi

Nquma le calculator njenge JSON evulekile yendawo yokuqeda - akukho isithonjana esidingekayo. Thumela amaxabiso endawo ngezansi njengezilungiselelo zombuzo noma i-JSON. Noma yini ongayishiya isebenzisa iphutha elifanayo elifakwe ngaphambili lekhasi; ipharamitha engaziwa yi-400, ayikho i-zero emnyama. Funda i-API egcwele →

Ingxenye yendawo

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

Izibalo ziyisilinganiso esisetshenziswa ukuqondisa kuphela, hhayi ukucebisa ngezimali, ukwelashwa noma ukukhokha.