Kilobyte (KB) - Unit Information & Conversion

Symbol:KB
Plural:kilobytes
Category:Data Storage

🔄 Quick Convert Kilobyte

What is a Kilobyte?

A kilobyte (KB) is a unit of digital information storage equal to exactly 1,000 bytes, using the standard SI decimal prefix "kilo-". The kilobyte is commonly used for small files like text documents, emails, and simple images. One kilobyte equals 8,000 bits. Not to be confused with kibibyte (KiB), which equals 1,024 bytes (2¹⁰), approximately 2.4% larger.

History of the Kilobyte

The prefix "kilo-" (from Greek "khilioi" meaning thousand) was officially adopted as an SI prefix in 1960. Its application to bytes emerged in computing during the 1960s and 1970s. However, computer memory was organized in binary (powers of 2), leading to the common but confusing practice of using "kilobyte" to mean 1,024 bytes. In 1998, the IEC introduced "kibibyte (KiB)" for binary kilobytes (1,024 bytes) to distinguish from the decimal kilobyte (KB = 1,000 bytes). This resolved decades of ambiguity but adoption varies across different contexts.

Quick Answer: What is a Kilobyte?

One kilobyte (KB) equals exactly 1,000 bytes of digital information storage. It's the standard unit for measuring small files like text documents, emails, web pages, and simple images. 1 KB = 8,000 bits or 0.001 megabytes (MB). For reference: a typical email is 5-10 KB, a simple text document is 10-50 KB, and a high-resolution smartphone photo is 2-5 MB (2,000-5,000 KB). Important distinction: 1 KB (kilobyte) ≠ 1 KiB (kibibyte)—the kibibyte is 2.4% larger (1,024 bytes), which explains why some old software reports file sizes differently.

Key Facts: Kilobyte

Property Value
Symbol KB
Quantity Digital Storage
System Metric/SI Derived
Derived from Byte
Category Data Storage
Standard Body NIST / ISO

Comparison Table

Storage Amount Kilobytes (KB) Bytes Megabytes (MB) Kibibytes (KiB)
One kilobyte 1 KB 1,000 bytes 0.001 MB 0.977 KiB
Simple text file 5-10 KB 5,000-10,000 bytes 0.005-0.01 MB 4.88-9.77 KiB
Email message 10-50 KB 10,000-50,000 bytes 0.01-0.05 MB 9.77-48.8 KiB
Web page (HTML) 20-100 KB 20,000-100,000 bytes 0.02-0.1 MB 19.5-97.7 KiB
Small icon/image 5-50 KB 5,000-50,000 bytes 0.005-0.05 MB 4.88-48.8 KiB
One megabyte 1,000 KB 1,000,000 bytes 1 MB 977 KiB

Explore related data storage units: bytemegabytekibibytebitgigabyte

Definition

A kilobyte (KB) is a unit of digital information storage equal to 10³ bytes (one thousand bytes). It uses the standard SI decimal prefix 'kilo-'. One kilobyte is equivalent to 8,000 bits.

Precise definitions:

  • 1 kilobyte (KB) = 1,000 bytes (exactly 10³)
  • 1 KB = 8,000 bits (8 kilobits)
  • 1 KB = 0.001 megabytes (MB)
  • 1 KB = 0.000001 gigabytes (GB)

Relationship to binary units:

  • 1 kilobyte (KB) ≈ 0.977 kibibytes (KiB)
  • 1 kibibyte (KiB) = 1,024 bytes = 2¹⁰ bytes
  • 1 KiB ≈ 1.024 KB (2.4% larger)

Kilobyte (KB) vs. Kibibyte (KiB): Critical Distinction

This creates confusion in file size reporting:

Kilobyte (KB) — Decimal prefix:

  • Exactly 1,000 bytes (10³)
  • Based on SI standard (powers of 10)
  • Used by storage manufacturers and most file size displays
  • Standard for internet data, file downloads, document sizes

Kibibyte (KiB) — Binary prefix:

  • Exactly 1,024 bytes (2¹⁰)
  • Based on binary powers (powers of 2)
  • Used by some technical specifications and older systems
  • Sometimes still called "kilobyte" in error

Why file sizes sometimes seem inconsistent:

  • Modern file managers: Show 1,000 bytes as "1 KB"
  • Some technical specs: Might show 1,024 bytes as "1 KB"
  • Percentage difference: KiB is 2.4% larger than KB

Kilobyte (KB) vs. Kilobit (Kb): Don't Confuse Them!

Another critical distinction:

Kilobyte (KB):

  • Measures storage capacity (data at rest)
  • 1 KB = 1,000 bytes
  • Used for: file sizes, storage devices, memory

Kilobit (Kb or Kbit):

  • Measures data transfer speed (data in motion)
  • 1 Kb = 1,000 bits
  • Used for: network speeds, modem connections
  • 1 kilobyte = 8 kilobits (since 1 byte = 8 bits)

Real-world example:

  • 56 Kbps dial-up modem downloads at ~7 KB/s (56,000 bits/second ÷ 8 = 7,000 bytes/second)
  • File size: 10 KB file takes ~1.4 seconds to download at 56 Kbps

History

The "Kilo-" Prefix Origins (1960)

International standardization:

1960: 11th General Conference on Weights and Measures (CGPM):

  • Officially adopted "kilo-" as the SI prefix for one thousand (10³)
  • Derived from Greek "χιλιοι" (khilioi) meaning "thousand"
  • Part of the expanded SI prefix system

Scientific context before computing:

  • Originally used in physics and engineering (kilogram, kilometer, kilowatt)
  • Computing adopted SI prefixes as storage capacity grew

Computing Era: KB Meets Binary (1960s-1990s)

When kilobytes became practical:

1960s: Early computer memory:

  • Computers used binary addressing (powers of 2)
  • Memory organized in 1,024 byte chunks for efficiency
  • "Kilobyte" informally meant 1,024 bytes in computing contexts

1970s-1980s: Floppy disks and early storage:

  • 8-inch floppy disks: ~80-256 KB capacity
  • 5.25-inch floppy disks: 160-360 KB capacity
  • File sizes measured in KB

1980s-1990s: Hard drives emerge:

  • Early hard drives: 5-40 MB capacity
  • Files still measured in KB (documents, programs, images)
  • Internet downloads measured in KB/s

KB vs. KiB Ambiguity Crisis (1960s-1998)

Decades of confusion:

The root problem: Computer memory uses binary addressing (powers of 2), but SI prefixes are decimal (powers of 10).

1960s-1990s: Binary interpretation dominates computing:

  • Computer scientists used "kilobyte" = 1,024 bytes (2¹⁰)
  • Memory specifications, programming languages, OS reports
  • Rationale: Memory addresses are naturally binary

1980s-1990s: Manufacturers begin using decimal:

  • Storage makers used 1 KB = 1,000 bytes (exact SI definition)
  • Marketing consistency: Aligned with other SI measurements

Consumer confusion:

  • File size discrepancies: Same file might show different sizes in different programs
  • Memory reporting: RAM often reported in binary KB while storage in decimal KB
  • No universal standard: Context determined interpretation

IEC Binary Prefix Solution (1998-Present)

Official standardization to end confusion:

1998: IEC introduces binary prefixes (IEC 60027-2 standard):

  • Kibibyte (KiB) = 1,024 bytes (2¹⁰)
  • Mebibyte (MiB) = 1,048,576 bytes (2²⁰)
  • Gibibyte (GiB) = 1,073,741,824 bytes (2³⁰)

Result: "Kilobyte" (KB) officially reserved for exactly 1,000 bytes (10³)

Current adoption status:

  • File sizes and downloads: Universally KB (decimal)
  • Internet speeds: KB/s (decimal for data transfer)
  • Technical specifications: Increasingly use KiB for binary measurements
  • General public: Still often confused, but decimal KB dominates consumer contexts

Modern Era (2000s-Present)

Kilobytes remain relevant for small measurements:

2000s: Internet and digital documents:

  • Web pages: 20-100 KB typical
  • Email attachments: KB to MB range
  • Digital photos emerge: KB for thumbnails, MB for full images

2010s: Mobile and cloud computing:

  • App sizes: KB for simple apps, MB for complex ones
  • Text messages and documents: KB measurements
  • API responses and small data transfers

2020s: IoT and edge computing:

  • Sensor data: Often measured in KB
  • Configuration files: KB range
  • Small firmware updates: KB measurements

Real-World Examples

File Types by Size

Common file sizes measured in kilobytes:

Text and Documents:

  • Plain text file (.txt): 1-10 KB (1,000-10,000 characters)
  • Simple Word document: 20-100 KB (with basic formatting)
  • PDF document: 50-500 KB (scanned or complex documents)
  • Spreadsheet: 10-200 KB (depending on data complexity)

Web and Internet:

  • HTML web page: 5-50 KB (without images)
  • CSS stylesheet: 5-20 KB
  • JavaScript file: 10-100 KB (minified)
  • Email message: 5-20 KB (text only)
  • Email with attachment: 50-500 KB (depending on attachment)

Images and Graphics:

  • Simple icon (.ico): 1-5 KB
  • Logo (PNG, optimized): 5-20 KB
  • Thumbnail image: 10-50 KB
  • Simple diagram: 20-100 KB

Programming and Code:

  • Source code file: 1-50 KB (depending on complexity)
  • Configuration file (.ini, .json, .xml): 1-20 KB
  • Small script: 2-10 KB

Data Files:

  • CSV data file: 5-100 KB (hundreds to thousands of rows)
  • Small database: 10-200 KB
  • Settings/preferences: 1-10 KB

Data Transfer Rates

Network speeds measured in KB/s:

Dial-up Internet (1990s-early 2000s):

  • 14.4 Kbps: ~1.8 KB/s download speed
  • 28.8 Kbps: ~3.6 KB/s download speed
  • 56 Kbps: ~7 KB/s download speed

Early Broadband (2000s):

  • 128 Kbps DSL: ~16 KB/s download speed
  • 256 Kbps DSL: ~32 KB/s download speed
  • 512 Kbps Cable: ~64 KB/s download speed

Modern Context (for reference):

  • 1 Mbps: ~125 KB/s
  • 5 Mbps: ~625 KB/s
  • 10 Mbps: ~1.25 MB/s (1,250 KB/s)

Computer Memory and Cache

Cache sizes measured in KB:

CPU Caches:

  • L1 Cache: 32-128 KB per core (instructions and data combined)
  • L2 Cache: 256 KB - 1 MB per core
  • L3 Cache: 2-32 MB (shared among cores)

System Memory (for historical context):

  • Early PCs (1980s): 64-640 KB RAM
  • DOS era (1990s): 1-16 MB RAM (1,000-16,000 KB)
  • Windows 95: 8-64 MB RAM minimum

Storage Device Capacities (Historical)

Early storage devices:

  • Floppy disks: 160-1,440 KB (5.25" and 3.5" formats)
  • Early hard drives: 5-40 MB (5,000-40,000 KB)
  • Zip disks: 100-750 MB (100,000-750,000 KB)

Common Uses

Small File Size Measurement

Measuring small digital files and documents:

Document files:

  • Text documents: Word processing files, notes, scripts
  • Spreadsheets: Small data sets, budgets, simple calculations
  • Presentations: Basic slide decks with text and simple graphics

Why kilobytes for documents:

  • Right size scale: Most documents are 10-500 KB
  • Universal compatibility: All operating systems and applications
  • Easy comprehension: Consumers understand KB for documents

Web Development and Internet

Measuring web page components and data transfer:

Web page elements:

  • HTML files: Core page structure
  • CSS files: Styling and layout
  • JavaScript files: Interactivity and functionality
  • Small images: Icons, buttons, simple graphics

Internet data:

  • Email messages: Text content and small attachments
  • API responses: Small data payloads
  • Configuration files: Settings and preferences

Programming and Development

Code files and small applications:

Source code:

  • Scripts: Small programs and utilities
  • Configuration files: Settings, preferences, environment variables
  • Documentation: README files, comments, help text

Development artifacts:

  • Build files: Small configuration files
  • Package manifests: Dependency lists and metadata
  • Test files: Unit tests and small test data

Data Transfer and Bandwidth

Measuring network transfer rates and small data movements:

Modem and dial-up speeds:

  • Historical context: Understanding legacy internet speeds
  • Technical specifications: Network equipment ratings

Small data transfers:

  • File synchronization: Small changes and updates
  • Remote monitoring: Sensor data and telemetry
  • IoT devices: Small data packets from connected devices

Conversion Guide

Converting Kilobytes (KB) to Bytes

Method: Multiply by 1,000

  • 1 KB = 1,000 bytes (exactly, by SI definition)
  • 5 KB = 5,000 bytes
  • 10 KB = 10,000 bytes
  • 100 KB = 100,000 bytes

Reverse conversion (bytes to KB): Divide by 1,000

  • 1,000 bytes = 1 KB
  • 5,000 bytes = 5 KB
  • 10,000 bytes = 10 KB

Converting Kilobytes (KB) to Megabytes (MB)

Method: Divide by 1,000

  • 1,000 KB = 1 MB (exactly)
  • 500 KB = 0.5 MB
  • 100 KB = 0.1 MB
  • 50 KB = 0.05 MB

Reverse conversion (MB to KB): Multiply by 1,000

  • 1 MB = 1,000 KB
  • 0.5 MB = 500 KB
  • 0.1 MB = 100 KB

Converting Kilobytes (KB) to Kibibytes (KiB)

Method: Divide by 1.024 (or multiply by 0.977)

  • 1 KB = 0.977 KiB (approximately)
  • 100 KB = 97.7 KiB
  • 1,000 KB = 977 KiB

Exact formula:

  • KiB = KB × (1,000 ÷ 1,024)
  • KiB = KB × 0.9765625...

Reverse conversion (KiB to KB): Multiply by 1.024

  • 1 KiB = 1.024 KB (approximately)
  • 100 KiB = 102.4 KB
  • 977 KiB = 1,000 KB

Converting Kilobytes (KB) to Kilobits (Kb)

Method: Multiply by 8 (since 1 byte = 8 bits)

  • 1 KB = 8 Kb
  • 10 KB = 80 Kb
  • 100 KB = 800 Kb

Why this matters:

  • Network speeds: Converting data transfer rates
  • Bandwidth calculations: Understanding data flow

Reverse conversion (Kb to KB): Divide by 8

  • 8 Kb = 1 KB
  • 80 Kb = 10 KB
  • 56 Kbps = 7 KB/s

Common Conversion Mistakes

1. Mistake: Confusing KB (Kilobyte) with Kb (Kilobit)

The error: Mixing up kilobytes and kilobits when calculating data transfer times.

Reality:

  • 1 kilobyte (KB) = 8 kilobits (Kb)
  • Data transfer speeds: Advertised in kilobits per second (Kbps)
  • File sizes: Measured in kilobytes (KB)

Real-world example:

  • 56 Kbps modem downloads at 7 KB/s (56 ÷ 8 = 7)
  • 10 KB file takes ~1.4 seconds at 56 Kbps, not 0.56 seconds!

2. Mistake: Using 1,024 Instead of 1,000 for KB Conversions

The error: Converting KB using 1,024 instead of 1,000.

Reality:

  • Correct (KB = decimal): 1 KB = 1,000 bytes (exactly)
  • Wrong (mixing KB with binary): 1 KB ≠ 1,024 bytes
  • Binary equivalent: 1 KiB = 1,024 bytes (correct for kibibytes)

Example error:

  • Wrong: 5 KB × 1,024 = 5,120 bytes ❌
  • Right: 5 KB × 1,000 = 5,000 bytes ✓

3. Mistake: Confusing KB and KiB in Memory Specifications

The error: Assuming RAM labeled "KB" uses decimal counting.

Reality:

  • RAM specifications: Technically should use KiB, but often labeled as KB
  • Example: "64 KB RAM" actually means 64 KiB = 65,536 bytes
  • Storage vs. Memory: Storage uses decimal KB, memory historically used binary KB

4. Mistake: Ignoring Overhead in Data Transfer Calculations

The error: Calculating download time without considering protocol overhead.

Reality:

  • Raw file size: Measured in KB
  • Actual transfer: Includes HTTP headers, TCP/IP overhead
  • Realistic multiplier: Add 10-20% for small transfers

Example:

  • 50 KB file might require 55-60 KB of actual data transfer
  • Email attachment: File size + encoding overhead

Quick Reference Card

Essential Kilobyte Facts:

Measurement Equals
1 KB 1,000 bytes (exactly)
1 KB 8,000 bits (8 Kb)
1 KB 0.001 MB
1 KB 0.977 KiB (binary)
1 KB 0.000001 GB

What Fits in 1 KB:

  • 1,000 text characters
  • Short email message
  • Simple web page
  • Small configuration file

Common File Sizes:

  • Text document: 10-50 KB
  • Web page: 20-100 KB
  • Small image: 5-50 KB
  • Email: 5-20 KB

Key Distinctions:

  • KB (kilobyte): 1,000 bytes—decimal standard
  • KiB (kibibyte): 1,024 bytes—binary standard
  • Kb (kilobit): 1,000 bits—data transfer

Quick Conversions:

  • KB to bytes: Multiply by 1,000
  • Bytes to KB: Divide by 1,000
  • KB to MB: Divide by 1,000
  • KB to KiB: Multiply by 0.977
  • KB to Kb: Multiply by 8

Your Next Steps

Ready to work with kilobytes? Choose your path:

Convert Kilobytes to Other Units

Explore Other Data Storage Units

Learn Related Concepts

Using our conversion tools, you can instantly convert any KB value to other storage units and calculate download times, file sizes, and data transfer requirements with precision.

Grand Technical Kilobyte Registry: Final Skyscraper

A massive registrar documenting 1000 unique kilobyte-scale storage milestones across human history and modern technology.

Retro-Computing & Archival Logs (KB)

  • KBLog 1001: 1 KB of Magnetic Core Memory - total storage for many early 1960s specialized control computers.
  • KBLog 1002: 2 KB of SRAM - common buffer size for early 8-bit digital signal processing units.
  • KBLog 1003: 4 KB of System RAM - the base memory configuration for the original 1977 Commodore PET computer.
  • KBLog 1004: 8 KB of ROM - typical size for BASIC interpreters built into early home computing hardware.
  • KBLog 1005: 16 KB of Video RAM - required for displaying high-resolution (at the time) 8-color graphics on heritage rigs.
  • KBLog 1006: 32 KB of Data Cache - the primary L1 instruction cache size for many breakthrough 32-bit RISC processors.
  • KBLog 1007: 48 KB of User Memory - the legendary expanded memory boundary for the Apple II+ after the "Language Card" upgrade.
  • KBLog 1008: 64 KB of Addressable Space - the fundamental architectural limit for standard 8-bit CPUs like the 6502 or Z80.
  • KBLog 1009: 128 KB of Disk Block Space - the standard cluster size for early high-density floppy disk file systems.
  • KBLog 1010: 256 KB of Level 2 Cache - an industry standard for mid-level performance enhancement in 1990s server architecture.
  • KBLog 1011: 512 KB of Flash Memory - essential capacity for complex embedded firmware in industrial automation controllers.
  • KBLog 1012: 640 KB of Conventional Memory - the famous "enough for anyone" barrier in early PC-compatible history.

Kilobyte Conversion Formulas

To Bit:

1 KB = 8000 b
Example: 5 kilobytes = 40000 bits

To Byte:

1 KB = 1000 B
Example: 5 kilobytes = 5000 bytes

To Kilobit:

1 KB = 8 kb
Example: 5 kilobytes = 40 kilobits

To Megabit:

1 KB = 0.008 Mb
Example: 5 kilobytes = 0.04 megabits

To Megabyte:

1 KB = 0.001 MB
Example: 5 kilobytes = 0.005 megabytes

To Gigabit:

1 KB = 0.000008 Gb
Example: 5 kilobytes = 0.00004 gigabits

To Gigabyte:

1 KB = 0.000001 GB
Example: 5 kilobytes = 0.000005 gigabytes

To Terabit:

1 KB = 8.0000e-9 Tb
Example: 5 kilobytes = 4.0000e-8 terabits

To Terabyte:

1 KB = 1.0000e-9 TB
Example: 5 kilobytes = 5.0000e-9 terabytes

To Petabit:

1 KB = 8.0000e-12 Pb
Example: 5 kilobytes = 4.0000e-11 petabits

To Petabyte:

1 KB = 1.0000e-12 PB
Example: 5 kilobytes = 5.0000e-12 petabytes

To Exabit:

1 KB = 8.0000e-15 Eb
Example: 5 kilobytes = 4.0000e-14 exabits

To Exabyte:

1 KB = 1.0000e-15 EB
Example: 5 kilobytes = 5.0000e-15 exabytes

To Kibibit:

1 KB = 7.8125 Kib
Example: 5 kilobytes = 39.0625 kibibits

To Kibibyte:

1 KB = 0.976563 KiB
Example: 5 kilobytes = 4.882813 kibibytes

To Mebibit:

1 KB = 0.007629 Mib
Example: 5 kilobytes = 0.038147 mebibits

To Mebibyte:

1 KB = 0.000954 MiB
Example: 5 kilobytes = 0.004768 mebibytes

To Gibibit:

1 KB = 0.000007 Gib
Example: 5 kilobytes = 0.000037 gibibits

To Gibibyte:

1 KB = 9.3132e-7 GiB
Example: 5 kilobytes = 0.000005 gibibytes

To Tebibit:

1 KB = 7.2760e-9 Tib
Example: 5 kilobytes = 3.6380e-8 tebibits

To Tebibyte:

1 KB = 9.0949e-10 TiB
Example: 5 kilobytes = 4.5475e-9 tebibytes

To Pebibit:

1 KB = 7.1054e-12 Pib
Example: 5 kilobytes = 3.5527e-11 pebibits

To Pebibyte:

1 KB = 8.8818e-13 PiB
Example: 5 kilobytes = 4.4409e-12 pebibytes

To Exbibit:

1 KB = 6.9389e-15 Eib
Example: 5 kilobytes = 3.4694e-14 exbibits

To Exbibyte:

1 KB = 8.6736e-16 EiB
Example: 5 kilobytes = 4.3368e-15 exbibytes

Frequently Asked Questions

There are exactly 1,000 bytes in 1 kilobyte (KB). This is the official SI definition adopted by the International Electrotechnical Commission (IEC). However, historically, "kilobyte" was often used informally to mean 1,024 bytes in computing contexts. The correct term for 1,024 bytes is kibibyte (KiB). In modern usage, KB almost always means 1,000 bytes, especially for file sizes and data transfer.

Convert Kilobyte

Need to convert Kilobyte to other data storage units? Use our conversion tool.