Huffman coding
This online calculator generates Huffman encoding based on a set of symbols and their probabilities
Articles that describe this calculator
Symbols probability table
Name | Value | ||
---|---|---|---|
A | 25 | ||
B | 25 | ||
C | 20 | ||
D | 15 | ||
E | 10 | ||
F | 5 |
Digits after the decimal point: 2
Weighted path length
2.45
Shannon entropy
2.42
The file is very large. Browser slowdown may occur during loading and creation.
Huffman coding
Symbol | Encoding |
---|---|
B | 10 |
A | 01 |
C | 00 |
D | 110 |
E | 1111 |
F | 1110 |
Calculators that use this calculator
Data sources used in this calculator
URL copied to clipboard
Similar calculators
PLANETCALC, Huffman coding
Comments