How to convert B to GiB
1 Byte is equal to 9.313226e-1 gibibytes, so every B value can be changed to GiB with one quick step. This B to GiB converter gives the exact answer as you type, and the guide below shows how to do it by hand.
Searching “b to gib”, “byte to gibibyte” or “byte in gibibytes”? It is the same conversion — the answer is above.
Byte to Gibibyte formula
Since 1 Gibibyte = 1,073,741,824 bytes, the rule is GiB = B ÷ 1,073,741,824. In words: divide the number of bytes by 1,073,741,824 to get gibibytes.
GiB = B ÷ 1,073,741,824
Examples: B to GiB step by step
This is the kind of calculation that comes up in file sizes and computer memory.
Example 1: 512 B to GiB
- Start with the value: 512 B.
- Divide by 1,073,741,824 (because 1 GiB = 1,073,741,824 B).
- 512 ÷ 1,073,741,824 = 4.768372e-7 GiB.
Example 2: 4,096 B to GiB
- Start with the value: 4,096 B.
- Divide by 1,073,741,824 (because 1 GiB = 1,073,741,824 B).
- 4,096 ÷ 1,073,741,824 = 0.00000381 GiB.
Example 3: 1,000,000 B to GiB
- Start with the value: 1,000,000 B.
- Divide by 1,073,741,824 (because 1 GiB = 1,073,741,824 B).
- 1,000,000 ÷ 1,073,741,824 = 0.00093132 GiB.
What is a Byte (B)?
A byte (B) is 8 bits, enough to store one English character.
What is a Gibibyte (GiB)?
A gibibyte (GiB) is 1,024 MiB or 1,073,741,824 bytes — what Windows calls “GB”.
Where is B to GiB used?
Storage conversions matter when buying hard disks, phones, data packs or uploading files with a size limit. In practice B appears in file sizes and computer memory; GiB is used for Windows drive sizes, RAM and virtual machines.
Gibibyte to Byte (reverse)
To go the other way, 1 Gibibyte = 1,073,741,824 B, so you multiply GiB by 1,073,741,824. For example, 9.313226e-1 GiB is back to 1 B. Use the Gibibyte to Byte converter for that direction.
1 B in other units
8 b
0.001 KB
0.000001 MB
1.000000e-9 GB
1.000000e-12 TB
1.000000e-15 PB
0.00097656 KiB
9.536743e-7 MiB
9.313226e-1 GiB
9.094947e-13 TiB
Good to know
A Byte is smaller than a Gibibyte (1 Gibibyte is 1,073,741,824 bytes), so the number in GiB is always smaller than the number in B.
KB, MB, GB and TB here are decimal (1,000-based). KiB, MiB, GiB and TiB are the binary (1,024-based) units your computer shows.
Quick answers: 2 B = 1.862645e-9 GiB; 10 B = 9.313226e-9 GiB; 512 B = 4.768372e-7 GiB; 4,096 B = 0.00000381 GiB; 1,000,000 B = 0.00093132 GiB.