IT lexicon › AI & ML › bfloat16

bfloat16 Brain Float 16

AI & ML På svenska → Updated: 2026-07-29

A 16-bit floating point format devised by Google Brain for TPUs. It simply takes IEEE 754's 32-bit format and chops off the 16 least significant mantissa bits.

That leaves 8 exponent bits — exactly the same range as float32 — but only 7 mantissa bits, so very coarse precision. Which sounds wrong until you consider what neural networks actually need: gradients span enormous orders of magnitude but don't need many significant digits. The standard fp16 format has 5 exponent bits and overflows or underflows during training, forcing loss scaling. With bfloat16 none of that is needed, and conversion to and from float32 is pure bit truncation. Supported by TPUs, Nvidia from Ampere onward, AMD and newer x86. It has become the default training format; for inference the industry moves further down to fp8 and int4.

← Back to the lexicon