Data Storage Converter
Kushandura digital kuchengetera pakati bits, bytes, KB, MB, GB, TB uye binary zviuru.
Zvinyorwa zvinogadziridzwa paunenge uchinyora.
Nezve iyi kalkulator
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.
Zvimwe zvinobvunzwa zvakanyanya
Is a kilobyte 1000 or 1024 bytes?
It depends on the unit. The SI kilobyte (KB) is 1,000 bytes, while the binary kibibyte (KiB) is 1,024 bytes. Storage is usually sold in decimal units and reported by some software in binary ones, which is why a "1 TB" drive shows as ~931 GiB.
Ndezvipi zvidimbu zvinobva mubyte?
Kune 8 mabit mubyte. Network speeds zvinonzi zvinonzi mubits pasecond, saka 100 Mbps link inotumira pazvinenge 12.5 MB pasecond.
Ndezvipi zviviri zvemegabytes zvinobva mugigabayte?
Muzviyero zveSI zvinoreva kuti 1 GB = 1,000 MB. Muzviyero zvebinary zvinoreva kuti 1 GiB = 1,024 MiB.
Nei yangu hard drive inoratidzwa nenzvimbo shoma kupfuura yavanopa?
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.
Maitiro ekushandura megabits kuita megabytes?
Kuparadzanisa megabits ne 8, nekuti byte ndiro 8 bits. 100 Mbps kubatanidza saka anotumira pazvinopfuura pamusoro 12.5 megabytes panguva imwe, uye iyi data yekuchengetera converter anorapa mabits uye bytes ne 8-to-1 ratio.
Chii chinonzi chiyero chekuenzanisa pakati pemegabyte nemebibyte?
Megabyte (MB) inonzi 1,000,000 bytes, asi mebibyte (MiB) inonzi 1,048,576 bytes (1,024²) uye binary mebibyte inonzi 4.9% yakakura.
API — kushandisa iyi kalkulator kubva code
Nhare iyi calculator semahara JSON endpoint - hapana chikuru zvinodiwa. Kutumira nzvimbo mavara pasi separameter query kana JSON. Chii zvachose chaunoisa kunze chinoshandisa default iyo peji iri rakasviba nayo; parameter isiri yechokwadi inonzi 400, uye haisi zero. Tora yakazara API docs →
Endpoint
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);
Zviratidzo zvemubvunzo ndezvekufungidzira kwechinangwa chekudzidzisa chete, kwete zvemari, zvehutano kana zvemari.