កម្មវិធីបម្លែងទិន្នន័យເກັບຮັກສາ
ປ່ຽນການເກັບຮັກສາດິຈິຕອນລະຫວ່າງບິດ, ບິດ, 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.
ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ
kilobyte ແມ່ນ 1000 ຫຼື 1024 ບິດ?
ມັນຂຶ້ນກັບຕົວເລກທີ່ໃຊ້ໃນການຄິດໄລ່ນີ້. SI kilobyte (KB) ແມ່ນ 1,000 bytes, ໃນຂະນະທີ່ binary kibibyte (KiB) ແມ່ນ 1,024 bytes. ການເກັບຮັກສາໂດຍປົກກະຕິແລ້ວແມ່ນຂາຍໃນຕົວເລກຮ້ອຍ ແລະລາຍງານໂດຍຊອບແວບາງຢ່າງໃນຕົວເລກສອງເທົ່າ, ເຊິ່ງເປັນເຫດຜົນທີ່ວ່າດາວທຽມ "1 TB" ສະແດງເປັນ ~931 GiB.
ຈໍານວນບິດໃນໄບໄດແມ່ນເທົ່າໃດ?
ມີ 8 ບິດໃນバイດ. ຄວາມໄວຂອງເຄືອຂ່າຍໂດຍປົກກະຕິແມ່ນສະ ເໜີ ໃນບິດຕໍ່ວິນາທີ, ສະນັ້ນການເຊື່ອມຕໍ່ 100 Mbps ສົ່ງຕໍ່ຫຼາຍທີ່ສຸດປະມານ 12.5 MB ຕໍ່ວິນາທີ.
ເທົ່າໃດເມກາບິດໃນກິກາບິດ?
ໃນຕົວເລກ SI 1 GB = 1,000 MB. ໃນຕົວເລກສອງຕົວ, 1 GiB = 1,024 MiB.
ເຮັດຫຍັງຮາດດິດຂອງຂ້ອຍມີພື້ນທີ່ນ້ອຍກວ່າທີ່ໄດ້ປະກາດ?
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 ຈຶ່ງສົ່ງຕໍ່ຫຼາຍທີ່ສຸດກ່ຽວກັບ 12.5 ເມກາບິດຕໍ່ວິນາທີ, ແລະຜູ້ບີບອັດຂໍ້ມູນເກັບຮັກສານີ້ປະຕິບັດຕໍ່ບິດແລະໄບດັດກັບອັດຕາສ່ວນ 8-to-1.
ຄວາມແຕກຕ່າງລະຫວ່າງ ເມກາບິດ ແລະ ເມບິບິດ ແມ່ນຫຍັງ?
ເມກາບິດ (MB) ແມ່ນ 1,000,000 ບິດ, ໃນຂະນະທີ່ເມບິບິດ (MiB) ແມ່ນ 1,048,576 ບິດ (1,024²). ສອງເມບິບິດແມ່ນປະມານ 4.9% ໃຫຍ່ກວ່າ.
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);
ຜົນໄດ້ຮັບແມ່ນຄາດຄະເນສໍາລັບຄໍາແນະນໍາທົ່ວໄປເທົ່ານັ້ນ, ບໍ່ການເງິນ, ຄໍາແນະນໍາທາງການແພດຫຼືພາສີ.