Bytes to GB
Converts bytes to gigabytes using both 1000 and 1024 and shows both answers exactly.
A gigabyte is a billion bytes under the decimal rule, or 1,073,741,824 bytes under the binary rule, which is 1024 to the third power. Divide your byte count by one of these two numbers.
This difference is behind the eternal flash drive question: the drive holds 64,000,000,000 bytes, the manufacturer prints 64 GB on the box, and Windows shows 59.6 GB. The byte count is the same; only the division rule differs.
Formula
By 1000: GB = bytes รท 1,000,000,000. By 1024: GB = bytes รท 1,073,741,824.
Ready-made values
| Bytes | By 1000 | By 1024 |
|---|---|---|
| 1,000,000 | 0.001 GB | โ 0.000931323 GiB |
| 1,048,576 | โ 0.00104858 GB | โ 0.000976563 GiB |
| 500,000,000 | 0.5 GB | โ 0.465661 GiB |
| 1,000,000,000 | 1 GB | โ 0.931323 GiB |
| 1,073,741,824 | โ 1.07374 GB | 1 GiB |
| 4,700,000,000 | 4.7 GB | โ 4.37722 GiB |
| 64,000,000,000 | 64 GB | โ 59.6046 GiB |
Rate this tool
Help us get better
Tell us what was missing.
Other tools
JSON Formatter
Format and repair JSON in the browser, flagging duplicate keys and long numbers
Regex Tester
Regex testing with a plain-language breakdown and hang protection
JWT Decoder
JWT parsing with fields explained and signature verification
CSV to JSON
A table to JSON with honest types and a reverse check
JSON to CSV
JSON to a table for Excel, with verification and formula protection
SQL Formatter
A readable query layout, verified against the source, with risky spots flagged
XML Formatter
Readable XML, errors explained with a hint, verified against the source
XML Validator
Markup, XSD schema, sitemap, YML and RSS rules, with the path to each error