INT16 - 16-Bit Signed Integer

Compact 16-bit signed integer: audio samples, embedded systems, and sensor data

Bit Layout

Sign
S
1 bit
Value
V
V
V
V
V
V
V
V
V
V
V
V
V
V
V
15 bits

A 16-bit integer uses 16 bits to store a whole number. For INT16 (signed), the most significant bit is the sign bit using two's complement. For the unsigned variant, see UINT16.

Overview

16-bit integers are widely used where the range of ±32,767 or 0–65,535 is sufficient and memory conservation matters. They are the short type in C/C++ and Java.

Common Uses

Audio connection When you listen to a CD or most digital audio, each sample is an INT16. The 65,536 possible values give enough resolution that the quantization noise is below human hearing threshold at normal listening levels.

Range & Properties

PropertySigned (INT16)Unsigned (UINT16)
Total Bits1616
Minimum Value-32,7680
Maximum Value32,76765,535
Representable Values65,53665,536

Key Bit Patterns

ValueBit PatternSignedUnsigned
Zero000000000000000000
One000000000000000111
Max Unsigned1111111111111111-165535
Max Signed01111111111111113276732767
All Ones (-1)1111111111111111-165535
Min Signed (-32768)1000000000000000-3276832768

Interactive Bit Visualizer

Click any bit to flip it. See both signed and unsigned interpretations.

Format Comparison

PropertyINT16INT32INT8INT4
Total Bits163284
Signed Min-32,768-2,147,483,648-128-8
Signed Max32,7672,147,483,6471277
Unsigned Max65,5354,294,967,29525515
Step (ULP)1111
Values65,5364,294,967,29625616

Where INT16 Is Used