Տվյալների պահպանման փոխակերպիչ
Արդյունքում ստացված թվային բովանդակությունը փոխակերպել բիտերի, байтների, 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.
Հաճախակի տրվող հարցեր
Կիլիբայթը 1000 ՞ է, թե՞ 1024 բայթ։
Դա կախված է միավորից։ SI կիլոբայտը (KB) 1000 բայտ է, իսկ եռակի կիլոբայտը (KiB) 1024 բայտ է։ Գործողությունը սովորաբար վաճառվում է տատանվող միավորներով և որոշ ծրագրային ապահովման կողմից ներկայացվում է եռակի միավորներով, ինչի պատճառով "1 TB" սկավառակը ներկայացվում է ~931 GiB-ով։
Որքա՞ն բիտ կա 1 байт-ում։
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.
Որքա՞ն մեգաբայթ է գիգաբայթը։
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.
Ինչպե՞ս փոխակերպել մեգաբիտները մեգաբայթների։
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.
Ի՞նչ տարբերություն կա մեգաբայտի և մեբիբայտի միջև։
Մեգաբայտը (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);
Ընդհանուր ցուցանիշները միայն ընդհանուր ուղեցույցի համար են, ոչ ֆինանսական, բժշկական կամ հարկային խորհուրդներ։