File Size Converter
Convert file sizes instantly between Bytes, KB, MB, GB, TB, and PB using binary (1024) or decimal (1000) standards.
File Size Converter
Convert between Bytes, KB, MB, GB, TB, and PB using binary (1024) or decimal (1000) standards. All calculations run locally in your browser.
Conversion Settings
1 KB = 1,024 Bytes โ used by OS and filesystems
Press Esc to reset
Conversion Summary
Quick Presets
All Conversions
๐ก Binary vs Decimal โ What's the difference?
Binary (1024-based)
Used by operating systems (Windows, macOS, Linux). 1 KB = 1,024 Bytes. Also called kibibyte (KiB).
Decimal (1000-based)
Used by storage manufacturers and cloud providers. 1 KB = 1,000 Bytes. A 1 TB hard drive is ~931 GiB.
How to Use the File Size Converter
Quick Start
- 1Enter a file size โ Type any number into the file size field. Supports decimals and very large values.
- 2Select the source unit โ Choose Bytes, KB, MB, GB, TB, or PB from the dropdown.
- 3Choose a standard โ Select Binary (1024) for OS/filesystem conversions, or Decimal (1000) for storage hardware.
- 4Get instant results โ All units update in real time. Copy individual values or export the full result.
Key Features
- โ Instant real-time conversion while typing
- โ Binary (1024) and Decimal (1000) standards
- โ Covers Bytes, KB, MB, GB, TB, and PB
- โ Copy individual unit values to clipboard
- โ Export full results as TXT or CSV
- โ Share-ready formatted output string
- โ Conversion history saved locally
- โ 100% browser-based โ no data leaves your device
Storage Unit Reference
Byte (B)
Smallest addressable unit
Kilobyte (KB / KiB)
Text files, small documents
Megabyte (MB / MiB)
Images, audio tracks
Gigabyte (GB / GiB)
Apps, HD videos
Terabyte (TB / TiB)
Hard drives, backups
Petabyte (PB / PiB)
Data centers, cloud storage
Frequently Asked Questions
Why does my 1 TB hard drive show 931 GB on Windows?
Hard drive manufacturers use decimal units (1 TB = 1,000,000,000,000 bytes). Windows uses binary units (1 GiB = 1,073,741,824 bytes). So 1,000,000,000,000 รท 1,073,741,824 โ 931 GiB, which Windows displays as 931 GB.
What is the difference between MB and MiB?
MB (Megabyte) in decimal standard = 1,000,000 bytes. MiB (Mebibyte) in binary standard = 1,048,576 bytes. The IEC introduced the binary prefixes (KiB, MiB, GiB) to eliminate the ambiguity, but both terms are used interchangeably in everyday usage.
Which standard should I use?
Use Binary (1024) when working with operating systems, file systems, RAM, or programming. Use Decimal (1000) when dealing with hard drive specs, SSD marketing, or internet/cloud storage providers.
Can this tool handle very large file sizes like PB?
Yes. The tool uses JavaScript's floating-point arithmetic which handles up to approximately 10^308. Petabyte values and beyond are supported with full precision display.
Is my data sent anywhere when I use this tool?
No. All conversions happen entirely in your browser using JavaScript. No data is sent to any server, logged, or stored externally. Conversion history is saved only in your browser's localStorage.
Related Tools
Data Transfer Calculator
Calculate how long it will take to transfer data based on file size and network speed. Supports downloads, uploads, backups, cloud migrations, and enterprise data transfers with real-time results.
Bandwidth Calculator
Estimate internet bandwidth usage, file transfer time, monthly website traffic, streaming data consumption, and multi-user bandwidth requirements instantly in your browser.
Download Time Calculator
Estimate how long a file download will take based on file size and internet speed. Supports KB, MB, GB, TB and Kbps, Mbps, Gbps with real-world efficiency presets.
Checksum Calculator
Generate MD5, SHA-1, SHA-256, SHA-512, CRC32, and more checksums for text or files instantly in your browser.
Subnet Calculator
Calculate subnet mask, network address, broadcast address, usable host range, CIDR notation, and binary representation for any IPv4 address instantly.
Latency Calculator
Estimate network latency, propagation delay, transmission delay, round-trip time (RTT), and gaming ping. Free online latency calculator for networking, gaming, cloud, and DevOps.