Lompat ke kandungan utama

Kalkulator Entropi Shannon

Kalkulator Matematik

H=−Σp·log₂p · kandungan maklumat · entropi taburan

Jawapan Pantas

Shannon Entropy Calculator: H=−Σp·log₂p · information content · distribution entropy. Shannon Entropy Calculator uses standard math formulas to compute accurate results instantly.

How it works

  1. 1H=−Σpᵢ·log₂pᵢ in bits
  2. 2Enter a probability distribution (comma/space separated, sums to ~1)
  3. 3Uniform is maximal at log₂n; certainty gives 0
  4. 40·log0 is defined as 0 (contributes nothing)

Probability distribution

Shannon entropy1.500bits
Uniform entropy (same n):1.585 bits
Sum of probabilities:1.000
Entropy measures average uncertainty: a coin flip is 1 bit, a die ~2.585 bits, a d32 exactly 5 bits. Information gain = parent entropy − weighted child entropy — the decision-tree split criterion. It also bounds lossless compression: any code needs ≥H bits per symbol on average, with Huffman/arithmetic coding approaching it. Sums deviating >5% from 1 are rejected.

Adakah alat ini membantu anda?

Cara Guna

  1. Enter values or expressions: type directly into the Shannon Entropy Calculator — keyboard friendly.
  2. Instant results: everything computes live as you type, no button needed.
  3. Follow the steps: the result panel shows full working and formula substitution.
  4. Copy or recompute: one-click copy; change any input to recalculate instantly.

Perkara Utama

  • Shannon Entropy Calculator is a free online math tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: H=−Σp·log₂p · information content · distribution entropy.
  • Results come with formulas and reference tables so you can verify every number.

Prinsip & Formula

Shannon Entropy Calculator formula

Shannon Entropy Calculator uses standard math formulas to compute accurate results instantly.

Soalan Lazim

How do I use the Shannon Entropy Calculator?
Open the page and fill in the input fields — results update automatically. H=−Σp·log₂p · information content · distribution entropy.
Are the results accurate?
Yes. All calculations use standard mathematical formulas and are verified for accuracy.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required — just open and use.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. All calculations run locally in your browser. Nothing is uploaded or stored.

Alat Berkaitan

Panduan berkaitan

Sumber & Kemas Kini

Standard mathematical formulas. All logic verified. Last updated: 2025-07

Kemas Kini Terkini:

Formula dan kandungan di halaman ini telah disemak semula oleh pasukan YiJianSuan, hanya untuk rujukan pembelajaran — sila rujuk sumber rasmi untuk urusan sebenar.

Kandungan diselenggara dan disemak semula secara berkala oleh pasukan editorial YiJianSuan — proses kemas kini dan semakan boleh dilihat diDasar Editorial.

Petik Halaman Ini: YiJianSuan. Kalkulator Entropi Shannon[EB/OL]. https://www.yijiansuan.com/ms/c/math/shannon-entropy

Keputusan yang diberikan oleh alat ini hanyalah untuk rujukan, tidak membentuk sebarang nasihat profesional — sila rujuk pengiraan rasmi.