Convert between GB, TB, MB, KB, and more. Quick reference for common storage sizes.
Data storage conversion translates between digital storage units (bytes, KB, MB, GB, TB, PB) using decimal (SI) factors where each step represents a 1,000× increase.
| Size | Bytes | Typical Use |
|---|---|---|
| 1 KB | 1,000 | Small text file |
| 1 MB | 1,000,000 | High-res photo |
| 1 GB | 1,000,000,000 | HD movie |
| 1 TB | 1,000,000,000,000 | External hard drive |
| 1 PB | 1,000,000,000,000,000 | Large data center |
Formula
1 KB = 1,024 B | 1 MB = 1,024 KB | 1 GB = 1,024 MB | 1 TB = 1,024 GBB = Byte — 8 bits; the fundamental unit of digital storage
KB = Kibibyte (IEC) = 1,024 bytes; "kilobyte" in common usage
GB = Gigabyte (common) = 1,024³ bytes ≈ 1.07 billion bytes
Worked Example
Convert 2.5 GB to MB
Did you know? Hard drive manufacturers use decimal prefixes (1 GB = 1,000,000,000 bytes) while operating systems use binary prefixes (1 GB = 1,073,741,824 bytes). This is why a 500 GB drive appears as ~465 GB in Windows — they're both correct, just using different definitions.
Sources
Convert text to ASCII codes and back. Supports decimal, hex, binary, and octal formats.
Convert width/height to aspect ratios, scale dimensions, and generate responsive embed CSS for any layout.
Calculate required internet bandwidth based on devices and activities in your household.
Encode and decode Base64 strings. Convert text for data URIs, APIs, and safe data transmission.
Create CSS border-radius with visual controls for each corner. Generate circles, pills, and custom shapes.
Create CSS box shadows with multiple layers, live preview, and copy-ready code.