Calculadora de Combinações de Senhas
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
combinações = alfabeto^comprimento ; entropia = log₂(combinações)
About this calculator
The Password Combinations Calculator determines the total number of possible passwords based on alphabet size and password length. The calculation follows the formula combinations = alphabet^length, where the alphabet represents the number of available characters (e.g., uppercase and lowercase letters, numbers, symbols). The larger the alphabet and length, the more combinations and, consequently, the greater the password security.
The tool also calculates password entropy in bits using the formula entropy = log₂(combinations). Entropy measures password unpredictability: values above 60 bits are considered strong against brute-force attacks. For example, an 8-character password with uppercase and lowercase letters (52 characters) yields 52^8 combinations, equivalent to approximately 45.6 bits of entropy.
Use this calculator when creating or evaluating passwords for online accounts, systems, or devices. It helps compare different setups: increasing password length has a greater impact on security than just adding special characters. For instance, a 12-character password with lowercase letters (26^12) has more combinations than an 8-character password with all types (95^8).
Caution: the calculator assumes that each character can be used repeatedly and that there are no additional restrictions, such as disallowing repeated characters or requiring at least one number. In practice, many passwords must meet specific criteria, which reduces the combination space. Also, overly complex passwords can be hard to remember, requiring the use of password managers.
Frequently asked questions
How many combinations does an 8-character password with letters and numbers have?
Considering lowercase (26), uppercase (26), and numbers (10), the alphabet has 62 characters. The total combinations are 62^8, approximately 218 trillion.
What is password entropy and what value is safe?
Entropy measures unpredictability in bits. The higher, the better. For common passwords, entropy above 60 bits is recommended; for master passwords, above 80 bits.
Does the calculator consider character repetition?
Yes, the formula assumes each character can be freely repeated. If there are restrictions (no repetition), the number of combinations will be lower.
What is the impact of increasing length versus using more character types?
Increasing length has an exponential effect, while adding character types has a linear effect. For example, adding one more character doubles combinations if the alphabet is large.
Can I use this calculator for credit card passwords?
Yes, but remember that 4-digit numeric passwords have only 10^4 = 10,000 combinations, which is very weak. Prefer longer passwords.