Data Size Converter (Bytes to GB)
Convert bytes, KB, MB, and GB with both binary (1024) and decimal (1000) units instantly in your browser. Free online data size converter.
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Value — enter a numeric amount.
- From unit — enter a choice from the options.
- To unit — enter a choice from the options.
- Review your results — the key output is highlighted, with supporting figures below.
Loading calculator…
Results
| Detail | Value |
|---|---|
| Binary (1024) result | |
| Decimal (1000) result | |
| Exact bytes |
What is this calculator for?
Convert between file-size units using both binary (1024) and decimal (1000) conventions.
How to Use This Calculator
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Value — enter a numeric amount.
- From unit — enter a choice from the options.
- To unit — enter a choice from the options.
- Review your results — the key output is highlighted, with supporting figures below.
What You'll Need
- Value
- a numeric amount range 0–∞ · required
- From unit
- a choice from the options (Bytes (B), Kilobytes (KB), Megabytes (MB), Gigabytes (GB), Terabytes (TB)) · optional
- To unit
- a choice from the options (Auto (largest sensible), Bytes (B), Kilobytes (KB), Megabytes (MB), Gigabytes (GB), Terabytes (TB)) · optional
About This Calculator
File sizes can be expressed in binary (1024-based: KiB, MiB) or decimal (1000-based: KB, MB).
This tool converts among B, KB, MB, GB, and TB using the binary factor of 1024, and also reports the decimal/SI result so you can reconcile with OS and drive manufacturers that often use 1000. Auto mode picks the largest unit that keeps the value readable.
Conversion runs entirely in your browser.