Data Kusunga Converter
Kusinthana digito osungirako pakati pa masentimita, mabytes, KB, MB, GB, TB ndi binary yunitsi.
Zithunzizi zimasintha monga momwe mumalemba.
Zachidule
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.
Mafunso ofunsidwa nthawi zambiri
Ndi kilobyte 1000 kapena 1024 bytes?
Kutengera ndi yunitsi. SI kilobyte (KB) ndi 1,000 bytes, pamene binary kibibyte (KiB) ndi 1,024 bytes. Kusunga kumagulitsidwa m'magulu a decimal ndi kudziwitsidwa ndi zina za software m'magulu a binary, chifukwa chake "1 TB" drive ikuwonetsa ngati ~931 GiB.
Kodi ma bits ambiri ndi m'modzi byte?
Pali 8 ma bits mu byte. Kuthamanga kwa netiweki kumadziwika kuti ndi ma bits pa mphindi, kotero kuti 100 Mbps kulumikizana kumathamanga kwambiri pa 12.5 MB pa mphindi.
Kodi pali ma megabytes angati m'gigabyte?
Mu decimal SI mayunitsi, 1 GB = 1,000 MB. Mu binary mayunitsi, 1 GiB = 1,024 MiB.
N'chifukwa chiyani wanga hard drive kusonyeza malo ochepa kuposa anatchula?
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.
Kodi ndingasinthe megabits kuti megabytes?
Kugawa megabits ndi 8, chifukwa cha byte ndi 8 ma bits. 100 Mbps kugwirizana chifukwa chake amatumiza kwambiri za 12.5 megabytes pa mphindi, ndi ichi kusungira deta wosintha amachita ma bits ndi ma bytes ndi kuti 8-ku-1 kusiyana.
Kodi pali kusiyana kotani pakati pa megabyte ndi mebibyte?
Megabyte (MB) ndi 1,000,000 bytes, pamene mebibyte (MiB) ndi 1,048,576 bytes (1,024²).Binary mebibyte ndi pafupifupi 4.9% lalikulu.
API — kugwiritsa ntchito izi calculator kuchokera code
Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Kuti mudziwe zambiri, pitani ku www.json.org/json.html. Chomweko chilichonse chimene mumasiya chimagwiritsa ntchito mfundo yoyamba yomweyi yomwe tsambali limagwiritsa ntchito; mfundo yosadziwika ndi 400, siyiyenera kukhala zero yosadziwika. Onani zonse API docs →
Chithunzi
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);
Zimenezi ndi zowerengera zokhudzana ndi malangizo amtundu uliwonse, si zokhudzana ndi ndalama, zamoyo kapena zokhudzana ndi ndalama.