Omvormer voor gegevensopslag
Digitale opslag tussen bits, bytes, KB, MB, GB, TB en binaire eenheden omzetten.
Resultaten update als u typt.
Over deze rekenmachine
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.
Veelgestelde vragen
Is een kilobyte 1000 of 1024 bytes?
Het hangt af van de eenheid. De SI kilobyte (KB) is 1000 bytes, terwijl de binaire kibibyte (KiB) 1,024 bytes is. Opslag wordt meestal verkocht in decimale eenheden en Gemeld door sommige software in binaire, daarom is een "1 TB" drive toont als ~ 931 GiB.
Hoeveel bits zitten er in een byte?
Er zijn 8 bits in een byte. Netwerksnelheden worden meestal in bits per seconde geciteerd, dus een 100 Mbps link transfers maximaal ongeveer 12,5 MB per seconde.
Hoeveel megabytes zitten er in een gigabyte?
In decimal SI units, 1 GB = 1,000 MB. In binary units, 1 GiB = 1,024 MiB.
Waarom toont mijn harde schijf minder ruimte dan geadverteerd?
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.
Hoe zet ik megabytes om in megabytes?
Verdeel megabits door 8, omdat een byte 8 bits is. Een 100 Mbps verbinding draagt daarom maximaal ongeveer 12,5 megabytes per seconde over, en deze dataopslag converter behandelt bits en bytes met die 8-op-1 verhouding.
Wat is het verschil tussen een megabyte en een mebibyte?
A megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes (1,024²). The binary mebibyte is about 4.9% larger.
API
Noem deze rekenmachine als een gratis JSON eindpunt.. geen sleutel nodig. Stuur de veldwaarden hieronder als query parameters of JSON. Alles wat je weglaat gebruikt dezelfde standaard als deze pagina is voorgevuld met; een onbekende parameter is een 400, nooit een stil nul. Lees de volledige API docs →
Eindpunt
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);
De resultaten zijn schattingen voor algemene richtsnoeren, niet voor financieel, medisch of fiscaal advies.