Password Entropy Calculator
Calculate the entropy and strength of a password based on character set size and length.
Minimum: 0
Number of characters in the password
Number of possible characters at each position
Results
Password Entropy
74 bits
Total Combinations
1.94e+22
Brute Force Time (10B/sec)
1.94e+12 seconds
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Password Entropy Calculator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.
Review your inputs
Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Password Entropy Calculator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Password Entropy Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
Related Calculators
Focal Length Calculator
Calculate the effective focal length, angle of view, and crop factor for camera lenses.
IP Subnet Calculator
Find the network and broadcast addresses, usable host range, host count and subnet and wildcard masks of an IPv4 address with a CIDR prefix or subnet mask, including /31 and /32
PPI Calculator
Calculate the pixel density (PPI) of a display from its resolution and diagonal screen size.
PPI Calculator (Pixels Per Inch)
Calculate the pixels per inch (PPI) of a display from screen resolution and diagonal size. Essential for comparing smartphone, monitor, and TV displays for sharpness and visual quality.
Screen Size Calculator
Calculate the physical width and height of a screen from its diagonal measurement and aspect ratio.
Bandwidth Calculator
Calculate bandwidth requirements and data transfer rates for files and streaming.
About Password Entropy Calculator
The Password Entropy Calculator measures the strength of a password based on its length and the size of the character set used. Entropy, measured in bits, quantifies the unpredictability of a password. Higher entropy means more possible combinations and greater resistance to brute-force attacks. Security experts recommend a minimum of 60 bits of entropy for important accounts and 80+ bits for critical systems.
The Math Behind It
Formula Reference
Password Entropy
E = L * log2(C)
Variables: E = entropy in bits, L = password length, C = character set size
Worked Examples
Example 1: 12-character password with mixed characters
A 12-character password using alphanumeric characters plus symbols (72 character set).
The password has 74 bits of entropy and would take over 61,000 years to crack by brute force at 10 billion guesses per second.
Common Mistakes & Tips
- !Assuming entropy calculations apply to human-chosen passwords; they only apply to randomly generated passwords.
- !Equating password length with security without considering the character set size.
- !Ignoring that dictionary attacks and pattern-based attacks bypass brute-force entropy calculations entirely.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
How many bits of entropy do I need?
For general accounts, 50-60 bits is adequate. For email and financial accounts, aim for 70+ bits. For encryption keys and critical systems, 80+ bits is recommended. Using a password manager allows you to easily generate and store high-entropy passwords.
Is a longer password always better?
Yes, for randomly generated passwords. Each additional character multiplies the number of possible combinations. A 16-character lowercase password (75 bits) is stronger than a 10-character full-ASCII password (66 bits). However, human-chosen long passwords may use predictable patterns that reduce effective entropy.
Add the live Password Entropy Calculator to your site. Free to embed, with a link back to MegaCalc.