In the Shannon index, p is the proportion (n/N) of individuals of one particular species found (n) divided by the total number of individuals found (N), ln is the natural log, Σ is the sum of the calculations, and s is the number of species.
ในดัชนีแชนนอน , P คือสัดส่วน ( N / n ) ของบุคคลหนึ่งชนิด โดยเฉพาะพบ ( n ) หารด้วยจำนวนของบุคคลที่พบ ( N ) ที่เป็นระบบธรรมชาติ Σคือผลรวมของการคำนวณและ S คือจำนวนของสายพันธุ์ .