File Size Converter
Convert between bytes, KB, MB, GB, TB, and PB (1024-base).
Recommended tools
Affiliate links — we may earn a commission if you sign up.
About the File Size Converter
The File Size Converter turns any value in bytes, kilobytes, megabytes, gigabytes, terabytes, or petabytes into its equivalent in every other unit — instantly and with binary (1024) math. Enter a value, pick the source unit, and the tool fills a table with all six conversions, plus two summary stats: the exact byte count and a human-readable form that automatically picks the most sensible unit for display. Preset chips for familiar media — a 1.44 MB floppy, a 700 MB CD, a 4.7 GB DVD, a 25 GB Blu-ray, and a 1 TB hard drive — load realistic starting points in one click. Negative values are handled gracefully with an amber warning, and the human-readable stat even preserves the sign, so the converter doubles as a sanity check for odd inputs. Anyone wrangling upload limits, storage specs, or download math has hit the classic 1000-versus-1024 confusion; this KB to MB and GB calculator resolves it by always using the binary convention operating systems and file managers actually report. For developers setting up file upload validation, comparing cloud storage tiers, or explaining why a "1 TB" drive shows 931 GB, the tool gives the answer with a single glance.
Examples
Value 1536, Unit B (the default).
1.5 KB, 0.0014648438 MB, 1.4305114746e-6 GB in the conversions table; human-readable reads "1.5 KB".
Value 4.7, Unit GB, or a click on the "4.7 GB DVD" preset.
In bytes 5,046,586,572.8 and a table showing 4.7 GB, 0.0045898438 TB, and 4,812.8 MB.
Value 1, Unit TB with the "1 TB HDD" preset.
1,099,511,627,776 bytes, 1024 GB, 1048576 MB — the classic discrepancy behind the "missing" 69 GB on a drive.
How to use
- 1
Type a number into the "Value" field (1536 is pre-filled).
- 2
Choose the source unit in the "Unit" dropdown — B, KB, MB, GB, TB, or PB.
- 3
Optionally tap a preset chip like "700 MB CD" to load a realistic value.
- 4
Read the Input value, In bytes, Human-readable, and Status stats.
- 5
Scroll the "All conversions" table for the equivalent in every unit.
Common use cases
- Converting an upload limit of 2 MB into bytes for a form validation rule.
- Checking how many 4.7 GB DVD-equivalents a 25 GB Blu-ray image holds.
- Explaining the decimal-versus-binary capacity gap on a new hard drive.
- Estimating how many photos fit in a 1 TB backup plan.
- Normalizing file sizes logged in different units by a monitoring script.
- Teaching students the difference between KB and KiB using the presets.
Best practices
- Remember the tool always uses 1024-based math, matching what file managers display.
- Use the human-readable stat when presenting sizes to end users — it picks the best unit.
- Check the Status stat for Zero or Negative results before trusting odd inputs.
- Use preset chips as anchors instead of re-typing common media sizes.
- For decimal marketing numbers, treat the byte count as the source of truth.
Tips
- Tap a preset chip to pre-fill both the value and unit at once.
- The In bytes stat is the exact figure to copy into code or configs.
- Watch the Status stat turn amber when you enter a negative number.
- Use the table row badge to spot which unit matches your input.
Frequently asked questions
Explore more media tools
Browse the full collection of media tools on the hub, or jump back to all categories.