# Gigabytes to gibibytes > How many gibibytes is a gigabyte? A gigabyte is 1,000,000,000 bytes and a gibibyte is 1,073,741,824: divide by 1.073741824. Convert gigabytes to gibibytes exactly: a GB is 10⁹ bytes and a GiB is 2³⁰ bytes. See why a 500 GB drive shows about 465 GiB on your computer. A preset of [Data size converter](https://how.box/data-size/). - Page: https://how.box/gb-to-gib/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/gb-to-gib/?v={v}&from={from}&to={to} - `v` (number 0 to 1e15): The data size to convert, in the from unit. Example: `1`. - `from` (bit, byte, kb, mb, gb, tb, kib, mib, gib, tib, kbit, mbit or gbit): Unit of v (unit id: bit, byte, kb, mb, gb, tb, kib, mib, gib, tib, kbit, mbit, gbit). Example: `gb`. - `to` (bit, byte, kb, mb, gb, tb, kib, mib, gib, tib, kbit, mbit or gbit): Unit to convert to (unit id). Example: `mb`. Example answer: https://how.box/gb-to-gib/?v=1&from=gb&to=mb A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `data_size_convert`: Converts a data size between units using exact definitions (1 byte = 8 bits; SI decimal kB, MB, GB, TB = 10^3, 10^6, 10^9, 10^12 bytes; IEC binary KiB, MiB, GiB, TiB = 2^10, 2^20, 2^30, 2^40 bytes; kbit, Mbit, Gbit = 10^3, 10^6, 10^9 bits; BIPM SI Brochure, IEC 80000-13). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"data_size_convert","arguments":{"value":1,"from_unit":"gb","to_unit":"mb"}}}` - GET: https://how.box/mcp/run/data_size_convert?value=1&from_unit=gb&to_unit=mb ## How it works A gigabyte is 10⁹ bytes and a gibibyte is 2³⁰ bytes, so a GiB is about 7.4 % larger. The same number of bytes therefore gives a smaller figure in GiB than in GB. That is the reason a disk sold as 512 GB appears as about 476.8 GiB in operating systems that divide by 1,024 but print the label GB. The space was never missing; the two sides use different units. The gap is worth knowing when you size backups or pick a plan: allow for it once, when you compare the label with the free space your system reports. Worked example: a drive sold as 500 GB holds 500 × 10⁹ bytes, which is 500 ÷ 1.073741824 = 465.7 GiB. A 1 TB disk is about 931 GiB. The same gap works the other way for memory: 16 GiB of RAM is 16 × 1.0737 = 17.2 GB. Windows shows binary sizes with the label GB, while macOS since version 10.6 shows decimal GB, so the same disk can look 7 % different on the two systems. ## FAQ **Why does my 256 GB phone show less storage?** Part of the difference is units: 256 GB is about 238 GiB. The rest is the operating system and preinstalled apps, which this conversion does not include. **Which is right, GB or GiB?** Both are correct for their own definition. GB is the decimal unit used by manufacturers and the SI prefixes; GiB is the binary unit used for memory and by many operating systems. **How big is the gap between GB and GiB?** About 7.4 % at the giga level. The gap grows with each prefix step: about 2.4 % for kilo, 4.9 % for mega, 7.4 % for giga and 10 % for tera. **How many GiB is a 1 TB drive?** About 931 GiB, because 10¹² bytes divided by 2³⁰ is 931.3. A 2 TB drive is about 1,863 GiB. **Why do Windows and macOS show different sizes for the same disk?** Windows divides by 1,024 and still prints GB, so it really shows GiB. macOS divides by 1,000 and shows true GB. The disk is the same. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)