Huffman coding
This online calculator generates Huffman encoding based on a set of symbols and their probabilities

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/2480/. Also, please do not modify any references to the original work (if any) contained in this content.
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