Fair binary observations
Source mode: Text Text, JSON string array or one symbol,probability per line: 01010101
Entropy: 1 bits/symbol
Measure information entropy per symbol from text, a JSON array of symbols or a probability distribution.
Text is counted by Unicode code point and keeps case and spacing. Use a JSON string array for multi-character symbols. Probability rows declare an alphabet and must sum to one within the displayed tolerance; declared zero-probability symbols count toward the maximum. A single-symbol alphabet uses a normalized value of zero.
H = −Σ p log₂(p), with 0 log₂(0) = 0. Maximum = log₂(alphabet size). Normalized entropy = H / maximum when maximum is positive.
Source mode: Text Text, JSON string array or one symbol,probability per line: 01010101
Entropy: 1 bits/symbol
Source mode: Symbol array Text, JSON string array or one symbol,probability per line: ["AA","AA","AA","BB"]
Entropy: 0.8112781245 bits/symbol
Source mode: Probabilities Text, JSON string array or one symbol,probability per line: A,0.5 B,0.5 C,0
Maximum entropy: 1.584962501 bits/symbol