A byte is a unit of digital information consisting of eight bits (typically). Historically, a byte was the number of bits needed to encode a single character of text in a computer. Because of this, a byte is the smallest unit of. memory in many computer architectures.