1 KiB (Kibibyte) = 1.024 bytes (binair, IEC-standaard)
Verschil: 1 KB is 2,4% kleiner dan 1 KiB. Windows toont vaak KiB maar labelt als KB.
๐ Kilobyte en Kibibyte volledig uitgelegd
๐พ Wat is een Kilobyte (KB)?
Een Kilobyte (KB) is een decimale eenheid voor digitale opslag volgens de SI-standaard (Internationaal Stelsel van Eenheden). 1 KB = 1.000 bytes (10ยณ bytes). Het voorvoegsel "Kilo" betekent duizend. Kilobytes worden gebruikt door fabrikanten van opslagmedia, clouddiensten en in macOS voor bestandsgroottes.
๐ Wat is een Kibibyte (KiB)?
Een Kibibyte (KiB) is een binaire eenheid volgens de IEC-standaard (International Electrotechnical Commission). 1 KiB = 1.024 bytes (2ยนโฐ bytes). Het voorvoegsel "Kibi" staat voor "kilobinary". Kibibytes worden gebruikt in besturingssystemen zoals Windows, programmeeromgevingen en technische toepassingen waar precisie belangrijk is.
๐งฎ KB naar KiB conversieformule
- Basisformule: KiB = KB ร 0,9765625 (of KB รท 1,024)
- Alternatief: KiB = KB ร (1000 รท 1024) = KB ร 0,9765625
- Omgekeerd: KB = KiB ร 1,024
- Voorbeeld: 1.024 KB ร 0,9765625 = 1.000 KiB exact
- Voorbeeld 2: 100 KB ร 0,9765625 = 97,65625 KiB
โ ๏ธ Waarom toont Windows andere KB-waarden dan macOS of fabrikanten?
Dit is een veelvoorkomende verwarring! Windows gebruikt binaire eenheden (KiB, MiB, GiB) maar labelt ze ten onrechte als KB, MB en GB. macOS en fabrikanten gebruiken correcte decimale eenheden. Concreet voorbeeld:
- ๐น Fabrikant/macOS: 1 KB = 1.000 bytes โ een bestand van 1.024 KB is 1.024.000 bytes
- ๐น Windows: "1 KB" = 1.024 bytes โ een bestand van 1.024 KB is 1.048.576 bytes
- ๐น Verschil: 24 bytes per KB (2,4% verschil), bij grotere bestanden loopt dit op
Praktijkvoorbeeld: Een bestand van 1 MB (volgens fabrikant = 1.000.000 bytes) wordt in Windows weergegeven als 977 KB (want 1.000.000 รท 1.024 = 976,56 KiB, afgerond 977 KB). Dit is normaal en geen fout!
๐ Praktijkvoorbeelden: Wat betekent dit voor uw bestanden?
| Decimaal (KB) - fabrikant/macOS | Binair (KiB) - Windows weergave | Verschil in bytes | Verschil (%) |
|---|---|---|---|
| 1 KB (1.000 bytes) | ~0,9766 KiB (1.000 bytes) | 0 bytes (zelfde!) | 0% (alleen label anders) |
| 100 KB (100.000 bytes) | ~97,66 KiB (100.000 bytes) | 0 bytes | 0% |
| 1.000 KB (1.000.000 bytes) | ~976,56 KiB (1.000.000 bytes) | 0 bytes | 0% |
| 1.024 KB (1.024.000 bytes) | 1.000 KiB (1.024.000 bytes) | 0 bytes | 0% |
| 10.240 KB (10.240.000 bytes) | 10.000 KiB (10.240.000 bytes) | 0 bytes | 0% |
| 1 MB (1.000.000 bytes) in macOS | 977 KiB (1.000.000 bytes) in Windows | 0 bytes | 0% (alleen andere label) |
Belangrijk: Het bestand bevat exact dezelfde bytes! Alleen de weergave-eenheid verschilt. Windows gebruikt binaire KiB maar noemt het KB, wat de verwarring veroorzaakt.
๐ฏ Wanneer gebruik je KB (decimaal) en wanneer KiB (binair)?
- Gebruik KB (Kilobyte) bij:
- โ macOS en iOS bestandsgroottes (sinds 10.6)
- โ Fabrikanten van harde schijven, SSD's, USB-sticks
- โ Cloudopslag (Google Drive, OneDrive, Dropbox, iCloud)
- โ Netwerksnelheden (KB/s, MB/s)
- โ Internationale SI-standaard (wetenschap, techniek)
- Gebruik KiB (Kibibyte) bij:
- โ Windows-besturingssystemen (toont KiB maar labelt KB)
- โ Linux-commando's zoals `ls -lh` (sinds 2000)
- โ Programmeerwerk en geheugenberekeningen
- โ RAM-geheugen (werkgeheugen wordt altijd binair weergegeven)
- โ Technische documentatie waar precisie belangrijk is
๐ Snelle KB naar KiB referentietabel
| Kilobyte (KB) decimaal | Kibibyte (KiB) binair | Aantal bytes | Weergave in Windows | Praktijkvoorbeeld |
|---|---|---|---|---|
| 1 KB | 0,9765625 KiB | 1.000 B | ~1 KB (eigenlijk 0,98 KiB) | Een kleine tekstregel |
| 10 KB | 9,765625 KiB | 10.000 B | ~10 KB | Korte e-mail zonder bijlage |
| 100 KB | 97,65625 KiB | 100.000 B | ~98 KB | Kleine webpagina |
| 512 KB | 500 KiB | 512.000 B | 500 KB | Kleine afbeelding |
| 1.000 KB | 976,5625 KiB | 1.000.000 B | 977 KB | 1 MB bestand (fabrikant) |
| 1.024 KB | 1.000 KiB | 1.024.000 B | 1.000 KB | 1 MiB bestand (Windows) |
| 2.048 KB | 2.000 KiB | 2.048.000 B | 2.000 KB | Klein programma |
| 5.120 KB | 5.000 KiB | 5.120.000 B | 5.000 KB | MP3 nummer (lage kwaliteit) |
| 10.240 KB | 10.000 KiB | 10.240.000 B | 10.000 KB | Documentenmap |
| 102.400 KB | 100.000 KiB | 102.400.000 B | 100.000 KB | Software installatie |
| 1.048.576 KB | 1.024.000 KiB (1 GiB) | 1.048.576.000 B | 1.024.000 KB | 1 GiB geheugen |
๐ Geschiedenis: Waarom bestaan KB en KiB naast elkaar?
Historisch gezien gebruikten computerwetenschappers het voorvoegsel "kilo" voor 1.024 bytes (2ยนโฐ). Dit was handig omdat computers binair werken. Fabrikanten van opslagmedia begonnen echter decimale eenheden te gebruiken (1 KB = 1.000 bytes) voor marketingdoeleinden - 1.000 bytes klinkt als meer dan 1.024 bytes? Nee, eigenlijk precies andersom! Dit leidde tot enorme verwarring.
- ๐ 1998: IEC introduceert binaire voorvoegsels: Kibi (KiB), Mebi (MiB), Gibi (GiB), Tebi (TiB)
- ๐ 2000: NIST (VS) beveelt het gebruik van binaire voorvoegsels aan voor precisie
- ๐ 2005: Linux begint met ondersteuning voor KiB, MiB, GiB in commando's zoals `ls` en `df`
- ๐ 2009: macOS 10.6 (Snow Leopard) schakelt over naar decimale eenheden
- ๐ 2026: Windows blijft binaire eenheden tonen als KB/MB/GB (bron van veel verwarring!)
โ Veelgestelde vragen over KB naar KiB
V: Hoeveel KiB is 1 KB precies?
A: 1 KB = 0,9765625 KiB. Dit is exact en gebaseerd op de verhouding 1.000 / 1.024 = 0,9765625.
V: Waarom toont Windows mijn bestand van 1.000 KB als 977 KB?
A: Windows gebruikt binaire KiB (1 KiB = 1.024 bytes) maar labelt het als KB. 1.000.000 bytes รท 1.024 = 976,56 KiB, afgerond 977 KB. Het bestand is niet kleiner, alleen de weergave-eenheid verschilt!
V: Hoeveel KB is 1 KiB?
A: 1 KiB = 1,024 KB. Een Kibibyte is 2,4% groter dan een Kilobyte.
V: Gebruikt Google Drive KB of KiB?
A: Google Drive (en alle andere clouddiensten) gebruiken decimale KB, MB, GB, TB. 1 GB cloudopslag = 1.000.000.000 bytes exact.
V: Hoe reken ik snel KB om naar KiB?
A: Vermenigvuldig het aantal KB met 0,9765625. Of deel door 1,024. Gebruik onze calculator voor exacte waarden.
V: Wat is groter, 1 KB of 1 KiB?
A: 1 KiB is groter dan 1 KB. 1 KiB = 1,024 KB. Een KiB is 24 bytes (2,4%) groter.
V: Hoeveel bytes is 1 KB volgens de SI-standaard?
A: 1 KB = 1.000 bytes (SI-standaard, gebruikt door fabrikanten en macOS).
V: Hoeveel bytes is 1 KiB volgens de IEC-standaard?
A: 1 KiB = 1.024 bytes (IEC-standaard, gebruikt door Windows en Linux).
๐ฏ Conversietips voor KB naar KiB (voor IT en developers)
- ๐ก Voor bestandsgroottes in code: Gebruik bytes als basis en converteer pas bij weergave
- ๐ก Voor Linux-scripts: Gebruik `numfmt --to=iec` voor binaire weergave (KiB, MiB)
- ๐ก Voor Windows-programmering: Wees bewust dat `GetFileSize` bytes retourneert, weergave is aan u
- ๐ก Voor webontwikkeling: Toon bestandsgroottes in MB/GB met 1 decimaal om verwarring te voorkomen
- ๐ก Voor documentatie: Specificeer altijd of u decimale (KB) of binaire (KiB) eenheden gebruikt
๐ Van Kilobyte naar Megabyte, Gigabyte en Kibibyte, Mebibyte
- Decimaal (SI): 1 KB = 1.000 B, 1 MB = 1.000 KB, 1 GB = 1.000 MB, 1 TB = 1.000 GB
- Binair (IEC): 1 KiB = 1.024 B, 1 MiB = 1.024 KiB, 1 GiB = 1.024 MiB, 1 TiB = 1.024 GiB
- Vergelijking: 1 MB = 1.000 KB = 976,5625 KiB, 1 MiB = 1.024 KiB = 1.048,576 KB
๐ป Hoe tonen verschillende besturingssystemen KB/KiB?
| Besturingssysteem | Gebruikte eenheid | Label | Voorbeeld (1.000.000 bytes) |
|---|---|---|---|
| Windows 10/11 | Binair (KiB, MiB, GiB) | "KB", "MB", "GB" (incorrect!) | Toont ~977 KB |
| macOS (10.6+) | Decimaal (KB, MB, GB) | "KB", "MB", "GB" (correct) | Toont 1.000 KB |
| Linux (ls -lh) | Binair (KiB, MiB, GiB) | "KiB", "MiB", "GiB" (correct) | Toont 977 KiB |
| Linux (ls -lh --si) | Decimaal (KB, MB, GB) | "KB", "MB", "GB" (correct) | Toont 1.000 KB |
| Android | Decimaal (KB, MB, GB) | "KB", "MB", "GB" (correct) | Toont 1.000 KB |
| iOS | Decimaal (KB, MB, GB) | "KB", "MB", "GB" (correct) | Toont 1.000 KB |
๐ Praktijkvoorbeelden: Bestandsgroottes in KB en KiB
- ๐ Een TXT-bestand met 1.000 karakters: 1.000 bytes = 1 KB (decimaal) = 0,9766 KiB
- ๐ Een klein Word-document: ongeveer 50-100 KB = 48,8-97,7 KiB
- ๐ Een eenvoudige website (HTML): 10-50 KB = 9,8-48,8 KiB
- ๐ผ๏ธ Een logo (PNG, 100ร100): 5-15 KB = 4,9-14,6 KiB
- ๐ Een CV (PDF, 1 pagina): 100-300 KB = 97,7-293 KiB
- ๐ต Een MP3-bestand (128 kbps, 30 seconden): 480 KB = 468,75 KiB
- ๐ธ Een HD-foto (gecomprimeerd): 500-1.000 KB = 488-977 KiB
๐จโ๐ป Waarom is het verschil belangrijk voor programmeurs?
In programmeren is precisie cruciaal. Als u bestandsgroottes in uw applicatie toont, kan het verschil tussen KB en KiB leiden tot:
- โ ๏ธ Verwarring bij gebruikers: "Waarom toont uw app 977 KB en Windows 1.000 KB?"
- โ ๏ธ Voortgangsbalken: Een voortgangsbalk die 1.000 KB als 100% ziet, is nog maar bij 97,7% bij 1.024 KB
- โ > Database-opslag: Het plannen van opslagruimte kan misgaan als eenheden verkeerd worden geรฏnterpreteerd
- โ Best practice: Gebruik bytes intern en converteer alleen bij weergave naar de gewenste eenheid
๐ก Interessante weetjes over KB, KiB en bytes
- ๐พ De naam "Kibibyte" komt van "Kilo binary byte" - kilo-binair-byte
- ๐ Een 1,44 MB diskette is eigenlijk 1,44 MiB = 1.474,56 KiB = 1.509.949 bytes
- ๐ฎ Een oude DOS-game paste vaak op 360 KB of 720 KB diskettes (decimaal 368.640 / 737.280 bytes)
- ๐ฑ Een SMS-bericht is maximaal 140 bytes = 0,14 KB = 0,1367 KiB
- ๐ป Windows 95 paste op 30-50 MB = 30.000-50.000 KB = 29.297-48.828 KiB
- ๐ De gemiddelde webpagina in 2026 is ongeveer 2.500 KB = 2,5 MB = 2.441 KiB
- ๐ง Een e-mail zonder bijlage is gemiddeld 20-50 KB = 19,5-48,8 KiB
- โก Het verschil van 24 bytes per KB stapelt zich op: bij 1 GB is het verschil 23,8 MB!
๐ Uitgebreide KB naar KiB conversietabel
| Kilobyte (KB) decimaal | Kibibyte (KiB) binair | Bytes | Weergave in Windows | Weergave in macOS |
|---|---|---|---|---|
| 1 KB | 0,9765625 KiB | 1.000 B | 1 KB | 1 KB |
| 10 KB | 9,765625 KiB | 10.000 B | 10 KB | 10 KB |
| 100 KB | 97,65625 KiB | 100.000 B | 98 KB | 100 KB |
| 512 KB | 500 KiB | 512.000 B | 500 KB | 512 KB |
| 1.000 KB | 976,5625 KiB | 1.000.000 B | 977 KB | 1.000 KB (1 MB) |
| 1.024 KB | 1.000 KiB | 1.024.000 B | 1.000 KB | 1.024 KB |
| 2.048 KB | 2.000 KiB | 2.048.000 B | 2.000 KB | 2.048 KB |
| 5.120 KB | 5.000 KiB | 5.120.000 B | 5.000 KB | 5.120 KB |
| 10.240 KB | 10.000 KiB | 10.240.000 B | 10.000 KB | 10.240 KB |
| 102.400 KB | 100.000 KiB | 102.400.000 B | 100.000 KB | 102.400 KB |
| 1.024.000 KB | 1.000.000 KiB | 1.024.000.000 B | 1.000.000 KB (1.000 MB) | 1.024.000 KB (1.024 MB) |
| 1.048.576 KB | 1.024.000 KiB (1 GiB) | 1.048.576.000 B | 1.024.000 KB (1.024 MB) | 1.048.576 KB (1.048,6 MB) |