What this tool helps you organize
Estimate ideal random secret entropy from character-set size and length. It is one defined worksheet, not a complete assessment of your circumstances.
Human-chosen secrets are not uniformly random; this is not a password-strength check. Never enter a password.
Method and calculation rules
Ideal entropy = length × log₂(character-set size), assuming independent uniform random choices.
Display values are rounded for readability. The calculation uses the entered numbers before display rounding. Whole-unit outputs use the rounding rule stated in the method.
Know your inputs
- Character-set size — Accepted range: 2 to 100000 in whole numbers.
- Random secret length — Accepted range: 1 to 1000 in whole numbers.
A worked example
Illustrative inputs: Character-set size: 62; Random secret length: 16.
Ideal entropy: 95.27 bits
Log10 possibilities: 28.68
Secret length: 16 characters
These sample figures illustrate the formula, not a recommended target or a prediction.
How to use the working copy
Define a single scenario, check the units and replace each sample value that does not match it. Calculate and read all three result components, not just the most favorable number.
Change one assumption to compare scenarios. An edited field makes the previous answer stale; recalculate before downloading or printing. Reset sample clears the open result and restores the example entries.
What the answer cannot establish
Human-chosen secrets are not uniformly random; this is not a password-strength check. Never enter a password.
The tool does not verify the accuracy, completeness or current validity of your inputs. Use authoritative current information and qualified judgement when the decision requires them.
Questions about this worksheet
Are the starting values a suggested target?
No. They show how the arithmetic behaves. Use your own checked values and do not infer a recommendation.
Why is my previous result marked stale?
Changing an input means the displayed answer no longer describes the current fields. Recalculate to refresh it.
Can I share an export?
Review the entries and limitations first. A downloaded file is a working copy, not an independently verified report.
Your entries and privacy
The bundled calculation runs in this open browser page. Inputs are not automatically saved as a server-side calculation history. Browser refresh or navigation may clear them.
Contact messages and technical website records are separate from calculator arithmetic. Read the Privacy Policy for the distinction; do not enter confidential records or credentials.