# Entropy Calculator

> Calculate the Shannon entropy of any text or string: bits per character, total bits, character frequency, a strength label and an estimated crack time.

- Page: https://mondaytool.com/tools/entropy-calculator
- Category: security
- Price: free, no sign-up. Most tools run in the browser, so input is not uploaded.
- Use it: open https://mondaytool.com/tools/entropy-calculator. It is an interactive web page; this file is its documentation.

Last updated: 13 October 2026

## Measure the entropy of any text

This **Shannon entropy calculator** measures how evenly the characters in a piece of text are spread out. It shows entropy in bits per character, total bits, the number of unique characters, the length, a strength label, a rough crack-time estimate, which character types are present, and a chart of the 10 most frequent characters.

## How to use it

1. Type or paste text, a password or a token into the input box.
2. Results update automatically as you type.
3. Read the stats, the strength badge and the frequency chart.

## Shannon entropy formula

**H = −Σ p × log₂(p)**, where *p* is how often each character appears divided by the text length. **Total entropy = H × length**.

Example: `password` has 8 characters. “s” appears twice (p = 0.25) and six letters appear once (p = 0.125). H = 6 × 0.125 × 3 + 0.25 × 2 = **2.75 bits per character**, so total entropy = 2.75 × 8 = **22 bits**, which the tool labels Very Weak.

## Strength labels and crack time

| Total bits | Label |
| --- | --- |
| Below 28 | Very Weak |
| 28 to under 36 | Weak |
| 36 to under 60 | Fair |
| 60 to under 128 | Strong |
| 128 or more | Very Strong |

The crack time assumes 10¹² guesses per second and that an attacker searches half of 2^bits possibilities on average.

## Know the limits

Shannon entropy here is calculated only from the characters inside your text. It does not know how the text was created, so a common word or a keyboard pattern can still score well. `aaaa` scores 0 bits because it uses only one character. Treat the strength label as a rough guide, not a security guarantee.

## Frequently asked questions

### What is a good entropy per character?

The maximum is log₂ of the number of different characters used. Random text that uses 64 different characters evenly approaches 6 bits per character.

### Is my password sent anywhere?

No. All calculations run in your browser.
