# Integer Quantization

- **Canonical URL:** https://getaimath.com/dictionary/integer-quantization/
- **Topics:** [Quantization & Model Compression](https://getaimath.com/dictionary/category/quantization-and-model-compression/)
- **Last updated:** 2026-11-25

## What is Integer Quantization?

**In one sentence:** Integer quantization converts model numbers into whole numbers, like INT8 or INT4, plus scale factors.

Each group of weights gets a scale, and every weight becomes a small whole number. To use it, you multiply the whole number by the scale to get back an approximate value. Integer math is also very fast on many chips.

![Quantization: Vacuum-Packing a Giant AI into a Carry-On Bag — Simple cartoon showing a huge 16 GB AI model with long fussy decimals (3.14159265) squeezed by a vacuum-seal press into a compact 4 GB model with rounded numbers (3.1) that fits on a laptop.](https://getaimath.com/diagrams/quantization-and-model-compression.png)
*Napkin Diagram (Quantization & Model Compression): By rounding long fussy decimals to neat short numbers, quantization shrinks a model about 4× with only a small loss in smarts.*

## What is an example of Integer Quantization?

A weight of 0.37 might be stored as the integer 47 with a scale of about 0.0079.

## Why does Integer Quantization matter?

Integer formats are the backbone of most quantization methods.

## Related Concepts

- [Half Precision](https://getaimath.com/dictionary/half-precision/): Half precision means storing numbers in 16 bits, like FP16 or BF16, half the size of FP32.
- [8-bit Quantization](https://getaimath.com/dictionary/8-bit-quantization/): 8-bit quantization stores each weight in 8 bits, halving the size of a 16-bit model.
- [Full Precision](https://getaimath.com/dictionary/full-precision/): Full precision usually means storing model numbers in 32-bit floating point, FP32.
- [4-bit Quantization](https://getaimath.com/dictionary/4-bit-quantization/): 4-bit quantization stores each weight in about 4 bits, shrinking a 16-bit model to roughly a quarter of its size.
- [Mixed Precision](https://getaimath.com/dictionary/mixed-precision/): Mixed precision uses different number formats for different parts of a model or task, to balance speed and accuracy.
- [2-bit Quantization](https://getaimath.com/dictionary/2-bit-quantization/): 2-bit quantization stores each weight in about 2 bits, making models extremely small but often noticeably worse.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/integer-quantization/)
