STATISTICS · LOCAL CALCULATOR

Shannon Entropy Calculator

Check out this Shannon entropy calculator to find out how to calculate entropy in information theory.

Enter values

How it works

This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.

Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.

Formulas used by this calculator

The Shannon Entropy Calculator works with 30 quantities and 10 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.

2 further rearrangements of the same relations let you solve for other quantities.

Inputs

FieldName in formulasCan be solved for
nnInput only
Sh1sh1Yes
Sh2sh2Yes
Sh3sh3Yes
Sh4sh4Yes
Sh5sh5Yes
Sh6sh6Yes
Sh7sh7Yes
Sh8sh8Yes
Sh9sh9Yes
Sh10sh10Yes
Conn2conn2Input only
Conn3conn3Input only
Conn4conn4Input only
Conn5conn5Input only
Conn6conn6Input only
Conn7conn7Input only
Conn8conn8Input only
Conn9conn9Input only
Conn10conn10Input only
Prob 1prob_1Input only
Prob 2prob_2Input only
Prob 3prob_3Input only
Prob 4prob_4Input only
Prob 5prob_5Input only
Prob 6prob_6Input only
Prob 7prob_7Input only
Prob 8prob_8Input only
Prob 9prob_9Input only
Prob 10prob_10Input only