Data Depoziti Konvert
Bit, bayt, KB, MB, GB, TB və binary birlikləri arasında rəqəmsal saxlama çevir.
Yazdığınız zaman nəticələr yenilənir.
Bu hesablayıcı haqqında
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.
Tez-tez soruşulan suallar
Kilobayt 1000 ya da 1024 baytdır?
Birliyə bağlıdır. SI kilobayt (KB) 1000 bayt, binary kibibayt (KiB) isə 1024 baytdır. Qeydiyyat adətən onluq birliklərdə satılır və bəzi proqramlar tərəfindən binary olaraq qeyd edilir, bu səbəbdən "1 TB" sürücüsü ~931 GiB olaraq göstərilir.
Bir baytda neçə bit var?
Bir bayt 8 bitdir. Şəbəkə sürətləri adətən saniyədə bitlərlə göstərilir, buna görə də 100 Mbps bağlantı saniyədə ən çox 12.5 MB ötürür.
Bir giqabayt neçə megabaytdır?
Onluq SI vahidlərində 1 GB = 1,000 MB. İkilik vahidlərində 1 GiB = 1,024 MiB.
Niyə mənim sərt diskim elan ediləndən daha az boşluq göstərir?
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.
Megabitləri megabaytlara necə çevirmək olar?
Bir bayt 8 bitdir. Buna görə də 100 Mbps bağlantı saniyədə ən çox 12.5 megabayt ötür, və bu məlumat saxlama çeviricisi bit və baytları 8-ə-1 nisbətində hesablayır.
Megabayt və mebibayt arasında fərq nədir?
Bir megabayt (MB) 1,000,000 bayt, bir mebibayt (MiB) isə 1,048,576 bayt (1,024²)-dir. İkili mebibayt isə 4.9% daha böyükdür.
API — bu hesablayıcını koddan istifadə et
Bu hesablayıcını pulsuz JSON son nöqtəsi kimi çağır - açar lazım deyil. Aşağıdakı sahənin dəyərlərini sorğu parametrləri və ya JSON olaraq göndər. Əks təqdirdə, səhifənin əvvəlcədən doldurulduğu ön qurğulu parametrlər istifadə ediləcəkdir. Namə'lum parametrlər 400-dür, heç vaxt səssiz sıfır deyil. API sənədlərini oxu →
Son nöqtəsi
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);
Bu nəticələr yalnız ümumi məsləhət üçün hesablamalardır, maliyyə, tibbi və ya vergi məsləhətləri deyil.