# Surprisal Calculator

Surprisal calculator with a step-by-step solution.

Enter a p-value, S-value, or confidence level, and the calculator will calculate all the other values.

## What is surprisal

The S-value, or Surprisal, measures the unexpectedness of an event based on the probability that the event will occur. It simulates the probability of a life event, such as flipping an unbiased coin and obtaining X consecutive heads, where X represents the S-value."

#### Surprisal value formula

S-value = -logâ‚‚(p-value)