H = โˆ’ฮฃ p logโ‚‚ p over symbol frequencies. Same length text can differ in entropy by how you count symbols.

Mode
UTF-8 bytes
Symbols
7
Distinct
2
H (bits / symbol)
0.9852
Max for this distinct count (uniform)
1.0000