Skip to content
About
Main content
Law

Entropy: the floor for any code

The minimum size for a column of N values is N × H bits.

Frequency
how often each value occurs
Order-0 entropy
the minimum average number of bits per symbol

How it behaves

One input on the horizontal axis, the others held fixed.

Data table
Entropy of a two-valued column, by how often the commoner value occurs
Frequency of the commoner value pEntropy H (bits per value)
0.51
0.5061
0.5121
0.5190.999
0.5250.998
0.5310.997
0.5370.996
0.5440.994
0.550.993
0.5560.991
0.5620.989
0.5690.986
0.5750.984
0.5810.981
0.5870.978
0.5940.974
0.60.971
0.6060.967
0.6120.963
0.6190.959
0.6250.954
0.6310.95
0.6370.945
0.6440.94
0.650.934
0.6560.928
0.6620.922
0.6690.916
0.6750.91
0.6810.903
0.6870.896
0.6940.889
0.70.881
0.7060.874
0.7120.866
0.7190.857
0.7250.849
0.7310.84
0.7370.831
0.7440.821
0.750.811
0.7560.801
0.7620.791
0.7690.78
0.7750.769
0.7810.758
0.7870.746
0.7940.734
0.80.722
0.8060.709
0.8120.696
0.8190.683
0.8250.669
0.8310.655
0.8370.64
0.8440.625
0.850.61
0.8560.594
0.8620.578
0.8690.561
0.8750.544
0.8810.526
0.8870.508
0.8940.489
0.90.469
0.9060.449
0.9120.428
0.9190.407
0.9250.385
0.9310.362
0.9370.338
0.9440.313
0.950.287
0.9560.26
0.9620.231
0.9690.201
0.9750.169
0.9810.135
0.9870.098
0.9940.056
10.001

Worked examples, recomputed

Every number the mechanisms quote for this relationship is recomputed from it, so none of them disagrees with it.

Where it appears

Each mechanism states it in its own names. The general symbol each name stands for is shown with it.