# 32-bit and 64-bit

> How big a number a chip handles at once. 64-bit can use far more memory than 32-bit.

**Field:** Software Development  
**Category:** Platforms & OS  
**Also known as:** 64-bit, 32-bit, 64-bit Computing, Word Size

## Think of it like

Think of it like house numbers. With more digits, a street can have far more houses.

## Definition

A chip works on numbers of a fixed size, counted in bits. A 32-bit chip handles numbers made of 32 ones and zeros. That lets a program use at most 4 GB of memory. A 64-bit chip handles numbers twice as long. It can reach far more memory than any computer holds. Nearly all computers and phones sold today are 64-bit.

## Example

Jack's old program crashes when it needs more than 4 GB. The 64-bit version of the same program opens his big file fine.

## Example code

```console
$ getconf LONG_BIT
64
```

This Linux system runs in 64-bit mode.

## Why it matters

The 4 GB limit is why 64-bit took over. Many systems no longer run 32-bit apps at all.

## Common mistake

Thinking 64-bit makes every program twice as fast. The main gain is memory, not speed.

## Three principles

- **Number size.** Bits say how long each number is.
- **The 4 GB wall.** 32-bit programs cannot use more than that.
- **64-bit is normal.** Almost every new device uses it.

## Related terms

- [CPU Architecture](https://learn.benibix.com/term/development/cpu-architecture)
- [x86-64](https://learn.benibix.com/term/development/x86-64)
- [ARM Architecture](https://learn.benibix.com/term/development/arm-architecture)
- [Random Access Memory (RAM)](https://learn.benibix.com/term/infrastructure/random-access-memory)
- [Binary Number System](https://learn.benibix.com/term/general/binary-number)

## Taught in

- [CPU Architectures, x86 and ARM](https://learn.benibix.com/learn/development-platforms/cpu-architectures-x86-and-arm): OS and Files, 6/10

![Two halves. On the left, Your code splits into an x86-64 build for Intel and AMD chips and an ARM build for phones and Apple chips, and each build runs only on its own kind of chip. On the right, two bars show the memory a program can reach: a tiny 32-bit bar marked 4 GB at most, and a long 64-bit bar marked about 17 billion GB.](https://learn.benibix.com/diagrams/dev-cpu-arch.svg)

---

Source: https://learn.benibix.com/term/development/32-bit-and-64-bit
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
