Learn AI Math

FP32

What is FP32?

In one sentence: FP32 is a 32-bit floating point number format that stores numbers with high precision.

Each FP32 number uses 32 bits, or 4 bytes, of memory. It can represent a huge range of values very precisely. It used to be standard for training, but it is slow and memory-hungry for big models, so it is now mostly used for sensitive parts of training.

Σ Quick math / rule of thumb: 32 bits = 4 bytes per parameter (1 sign + 8 exponent + 23 mantissa bits). A 7B model in FP32 needs ~28 GB just for weights.

What does FP32 look like?

A 7B model stored in FP32 needs about 28 GB of memory.

Why does FP32 matter?

FP32 is the "full precision" baseline that other formats are compared with.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.