Data Storage Converter
Convert between computer data storage units including bytes, kilobytes, megabytes, gigabytes, and terabytes.
Common Data Storage Conversions
Binary (1024-based)
- 1 byte = 8 bits
- 1 KB = 1,024 bytes
- 1 MB = 1,024 KB = 1,048,576 bytes
- 1 GB = 1,024 MB = 1,073,741,824 bytes
- 1 TB = 1,024 GB = 1,099,511,627,776 bytes
Decimal (1000-based)
- 1 byte = 8 bits
- 1 KB = 1,000 bytes
- 1 MB = 1,000 KB = 1,000,000 bytes
- 1 GB = 1,000 MB = 1,000,000,000 bytes
- 1 TB = 1,000 GB = 1,000,000,000,000 bytes
The Difference
- 1 GB (decimal) = 0.931 GiB (binary) - About 7% smaller
- 1 TB (decimal) = 0.909 TiB (binary) - About 9% smaller
- 500 GB HDD = 465.66 GiB (What Windows shows)
- 1 TB HDD = 931.32 GiB (What Windows shows)
Storage Media Examples
3.5" Floppy HD
CD-R (80 min)
DVD-R
Blu-ray
USB Flash (32GB)
1TB HDD
Real-World File Sizes
- High-res Photo (JPEG): 3-10 MB
- RAW Photo: 25-50 MB
- MP3 Song (128 kbps): ~4 MB/minute ≈ 15 MB/song
- MP3 Song (320 kbps): ~10 MB/minute ≈ 40 MB/song
- FLAC Lossless Song: 25-50 MB/song
- 4K Movie (H.264): 50-100 GB
- 4K Movie (H.265/HEVC): 25-50 GB
- HD Movie (1080p): 4-8 GB
- Video Game (Modern AAA): 50-200 GB
- Operating System: 15-30 GB
- Microsoft Office Install: 3-4 GB
- Smartphone Backup: 5-100 GB
About Data Storage Units
Computer data storage is measured in binary units where each step is a power of 2. However, storage manufacturers typically use decimal (SI) units where each step is a power of 10, leading to confusion.
Binary vs Decimal Prefixes
In 1998, the IEC introduced binary prefixes to resolve the ambiguity:
- Binary (IEC): KiB, MiB, GiB, TiB, PiB, EiB (powers of 1024)
- Decimal (SI): KB, MB, GB, TB, PB, EB (powers of 1000)
Traditional usage: KB, MB, GB were historically used to mean binary (1024-based), especially in operating systems and memory specifications. This converter provides all three notations for clarity.
Why the Confusion?
Operating Systems (Windows, macOS, Linux) use binary calculations (1024-based) because computers operate in base-2 (binary). Memory (RAM) is always specified in binary units.
Storage Manufacturers (hard drives, SSDs, USB drives) use decimal calculations (1000-based) because it's the SI standard and results in larger numbers for marketing purposes.
Result: Your "1 TB" (1,000,000,000,000 bytes) hard drive shows as 931 GiB in Windows because: 1,000,000,000,000 ÷ 1024³ = 931.32 GiB
Bits vs Bytes
- Bit (b): Smallest unit, can be 0 or 1
- Byte (B): 8 bits, can represent 256 different values (0-255)
- Nibble: 4 bits, half a byte (one hexadecimal digit)
- Word: Typically 2 bytes (16 bits) in modern systems
Important: Internet speeds are measured in bits per second (Mbps, Gbps), while file sizes are measured in bytes (MB, GB). A 100 Mbps connection downloads at ~12.5 MB/s (divide by 8).
Historical Context
Why 1024? Computers use binary (base-2) internally. 1024 = 2¹⁰, which is the closest power of 2 to 1000. Early computer scientists adopted 1024 as "kilo" for convenience, but this diverged from the SI standard where "kilo" means exactly 1000.
Common Uses
- RAM: Always binary (8 GB RAM = 8 GiB = 8,589,934,592 bytes)
- Hard Drives/SSDs: Decimal labels (1 TB = 1,000,000,000,000 bytes)
- Network Speeds: Decimal bits/sec (100 Mbps = 100,000,000 bits/sec)
- File Systems: Binary (operating systems report in GiB as "GB")
- Optical Media: Mixed (CDs use minutes, DVDs/Blu-ray use decimal GB)
Quick Calculation Tips
- To convert decimal GB to binary GiB: multiply by 0.931
- To convert binary GiB to decimal GB: multiply by 1.074
- To convert Mbps to MB/s: divide by 8
- To convert MB/s to Mbps: multiply by 8
Embed This Util
You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact
version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:
Copy snippet
Adjust the height to taste.
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- Shader Playground
- SQL Beautifier
- Temporal Date Explorer
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
- Air Fryer Converter
- Baking Ratio
- Brining Calculator
- Caffeine Tracker
- Canning & Preserving
- Coffee Ratio Calculator
- Cooking Units
- Decision Dinner
- Defrost Time Estimator
- Egg Size Converter
- Homebrew ABV
- Ingredient Substitution
- Meat Doneness Guide
- Oven Temp Converter
- Pan Size Converter
- Recipe Scaler
- Smoke Point Reference
- Sourdough Hydration
-
-
-
-
- 3D Model Viewer
- Aspect Ratio
- Business Card Designer
- CSS Button
- Chat Screenshot Generator
- Color Scheme
- CSS Animation
- CSS Flexbox
- Gradient Creator
- CSS Grid
- CSS Border Radius
- CSS Box Shadow
- CSS Transform
- Flowchart Maker
- Font Pairing
- Font Size
- Glassmorphism
- Placeholder Images
- Screen Ruler
- SVG to 3D Model
- 3D Text Generator
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Budget Planner
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Envelope Budget
- FIRE Calculator
- Garage Sale Pricer
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- Net Worth Calculator
- NPV Calculator
- Portfolio
- Profit Margin
- Property Decider
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Subscription Cost Tracker
- Tax Calculator
- VAT
-
-
-
- 2048
- Backgammon
- Bingo Card Generator
- Blackjack
- Breakout
- Chess
- Click Speed Test
- Connect Four
- Crossword Puzzle
- Hangman
- High or Low
- Lander
- Memory Cards
- Minesweeper
- Number Guessing
- Pixel Game Maker
- Reaction Time Test
- Rock Paper Scissors
- Word Scramble
- Snake
- Solitaire
- Sprite Sheet Editor
- Sudoku
- Tetris
- Texas Hold'em
- Tic-Tac-Toe
- Tournament Bracket
- Video Poker
- Word Search
- Wordle
-
-
-
-
- Allergy Diary
- BAC Calculator
- Blood Pressure
- Blood Sugar
- Body Mass Index
- BMR Calculator
- Body Fat Calculator
- Body Surface Area
- Calorie Calculator
- Heart Rate Zones
- Hydration Tracker
- Ideal Weight
- Macro Calculator
- 1RM Calculator
- Ovulation Calculator
- Pace Calculator
- Pregnancy Calculator
- Protein Intake
- Sleep Calculator
- Stretching Routine Builder
- Symptom Diary
- TDEE Calculator
- Training Zone
- VO2 Max
- Water Intake
-
- AC Size
- Address Change Checklist
- Carbon Footprint
- Cleaning Schedule
- Declutter Checklist
- Electricity Bill Splitter
- Energy Cost
- Heating Cost
- Home Insurance
- Laundry Load
- Moving Boxes
- Moving Checklist
- Pantry Inventory
- Rent Splitter
- Room Lighting
- Solar Panel Estimator
- Storage Unit Calculator
- TV Size & Distance
- Water Usage
-
-
- Background Remover
- Face Blur
- Favicon Generator
- GIF Maker
- Image Compressor
- Crop Image
- Image Filter
- Image Flipper
- Image Metadata
- Negative Colors
- Image Resizer
- Image Rotator
- Image to ASCII Art
- Image to Base64
- AI Image Upscaler
- Image Watermark
- JPG to PNG
- Meme Generator
- Image Object Detector
- OCR - Image to Text
- Passport Photo Maker
- Photo Collage Maker
- PNG to JPG
- SVG Studio
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
- Truth Table Generator
-
-
-
-
-
-
-
-
-
-
-
-
- Daily Journal
- Daily Planner
- Eisenhower Matrix
- Focus Mode Timer
- Goal Tracker
- Habit Tracker
- Infinite Whiteboard
- Kanban Board
- Meeting Cost
- Meeting Notes Template
- Scratchpad
- Pomodoro Timer
- PowerPoint Generator
- Pros and Cons List
- Random Decision
- Reading Time
- Signature Pad
- Sticky Notes
- Survey Builder
- Task Estimator
- Time Tracker
- Todo List
- Typing Speed Test
- Words Per Minute
-
-
-
-
- BRRRR Calculator
- Cap Rate Calculator
- Capital Gains Tax on Property
- Cash Flow Analyzer
- Closing Costs Estimator
- Home Affordability Calculator
- House Flipping Calculator
- Offer Price Calculator
- Property Comparison
- Property Tax Estimator
- Renovation ROI Calculator
- Rent vs Buy Calculator
- Rent Increase Calculator
- Depreciation Calculator (Rental)
- Rental Yield Calculator
- Repair vs Replace Calculator
- Stamp Duty Calculator
- Vacancy Rate Estimator
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
- Core Web Vitals Checker
-
-
-
-
-
-
-
-
- Case Converter
- Character Frequency
- Text Diff Viewer
- Fancy Text Generator
- Regex Find & Replace
- Line Number Adder
- Lorem Ipsum
- Lowercase
- Number to Words
- Remove Duplicates
- Replace
- Reverse Text
- Slug Generator
- Sort Lines
- Speech to Text
- Counter
- Text Diff
- Text to Speech
- Titlecase
- Uppercase
- Whitespace Normalizer
- Word Cloud Generator
- Words Frequency
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Clothing Size Converter
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Ring Size Converter
- Time
- Shoe Size Converter
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
- Clear UX Checklist
- Dark Mode Checker
- Mobile vs Desktop
- DOM to Image
- Error Handling Checker
- Fast Load Time Checker
- Headers
- htpasswd
- HTTP Status Codes
- Input Validation Checker
- Responsive Checker
- Popular Pages
- Reader Mode
- Robots.txt
- RSS Feed Reader
- Search Queries
- Web Page Text Extractor
- URL Parser
- User Agent Parser
- WebSocket Tester
-
-