Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Binary Entropy Profile

Calculate uncertainty, perplexity and success information for a Bernoulli probability.

Probability workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaEntropy Bits = (-p*log(p)-(1-p)*log1p(-p))/LN2; Perplexity = exp(-p*log(p)-(1-p)*log1p(-p)); Information Success = -log2(p)
Sources and model references

Worked example

Inputs

Success probability
0.25 probability

Expected results

Entropy Bits
0.8112781245 bits
Perplexity
1.754765351 number
Information Success
2 bits

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs using consistent units.
  2. Check the stated assumptions and calculate.
  3. Review each output and compare another input scenario.

Try this example

{
  "p": 0.25
}

Accuracy and scope

Finite floating-point arithmetic; results can lose precision near singular or extreme inputs.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.