# GB

> The GB (gigabyte) is a unit of digital information equal to 1,000 megabytes.

## How many MB are in a GB?

The unit of digital data equal to 1,000 megabytes in the SI standard. The binary value of 1,024 MiB is called a gibibyte (GiB), although many operating systems still label it GB. Commonly used to measure memory, videos and app sizes.

- Topic: Data Units
- Type: unit of measurement

## Common mistakes

- Expecting a drive sold as 1,000 GB to show 1,000 in a system that counts in GiB.

## Interview questions

### GB vs GiB: what is the difference?

A GB is 1,000,000,000 bytes. A GiB (gibibyte) is 1,073,741,824 bytes, about 7% larger.

### Why is RAM sold in GB but measured in GiB?

Memory chips come in powers of two, so 16 'GB' of RAM is really 16 GiB. The binary sizes kept the familiar decimal labels.

### Is 1 GB 1,000 MB or 1,024 MB?

In the SI standard, 1 GB is 1,000 MB. The binary unit, 1,024 MiB, is called a GiB, though some systems still label it GB.

## Related cards

- [MB](https://wonderium.dev/engineering/mb.md)
- [TB](https://wonderium.dev/engineering/tb.md)
- [Memory](https://wonderium.dev/engineering/memory.md)
- [Byte](https://wonderium.dev/engineering/byte.md)
- [KB](https://wonderium.dev/engineering/kb.md)

---

- Level: [Engineering](https://wonderium.dev/engineering.md)
- HTML version: https://wonderium.dev/engineering/gb
- Last updated: 2026-11-25
