GB to Bytes
Converts gigabytes to bytes using both 1000 and 1024 and shows both answers exactly.
One gigabyte equals 1,000,000,000 bytes by the decimal rule and 1,073,741,824 bytes by the binary rule. The difference is over 7%, and it grows with every next gigabyte.
The size in bytes is listed in the disk properties next to the rounded one: it makes it easy to check which rule the program uses.
Formula
By 1000: bytes = GB ร 1,000,000,000. By 1024: bytes = GB ร 1,073,741,824.
Ready-made values
| Gigabytes | By 1000 | By 1024 |
|---|---|---|
| 1 | 1,000,000,000 byte | 1,073,741,824 byte |
| 2 | 2,000,000,000 byte | 2,147,483,648 byte |
| 4 | 4,000,000,000 byte | 4,294,967,296 byte |
| 8 | 8,000,000,000 byte | 8,589,934,592 byte |
| 16 | 16,000,000,000 byte | 17,179,869,184 byte |
| 64 | 64,000,000,000 byte | 68,719,476,736 byte |
| 128 | 128,000,000,000 byte | 137,438,953,472 byte |
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