CalcuAll.
A quick calculation, right here.

CalcuAlltor.

FREE ONLINE SCIENTIFIC CALCULATOR

0
Ready when you are.
English

IT & Digital

Character Combination Count

Count fixed-length strings from a supplied character set.

Let’s calculate.

Usage estimate

Count fixed-length strings from a supplied character set.

Your result
—possible strings
Rounded to up to 2 decimal places.

EXPLORE THE FORMULA

Character Combination Count

IT & Digital · FORMULA GUIDE

Your current calculation

The values and displayed result follow the calculator as you edit it.

Number of allowed characters
—
Fixed string length
—
Your result—
This panel uses the calculator’s displayed, rounded result.

The formula

Possible strings = alphabet size ^ length

Count fixed-length strings from a supplied character set.

Variables and input conventions

alphabet
Number of allowed characters (characters)
length
Fixed string length (characters)

Understanding the relationship

The multiplication principle gives a choices at each of l positions, or a^l strings. A real password distribution need not sample these equally.

Interpreting the result

Alphabet 1–10,000 and length 1–1,000 are whole numbers. Choices are independent with repetition. Results above 10¹⁰⁰ are outside this tool’s supported range. The exact count is not a measurement of human password entropy or cracking time.

A worked example

26 possible characters at each of 8 positions gives 208827064576 strings.

A fixed reference example; it does not change with your inputs.

Assumptions and valid inputs

Alphabet and length positive integers, at most 10000 and 1000 respectively. Independent choices with repetition allowed. This counts possibilities; it does not estimate security, entropy of human choices or cracking time.

Rounding and numerical precision

Conversions, transport, cooking and digital calculations use a private 640-significant-digit decimal context. Numeric inputs accept a decimal point or comma and scientific notation, up to 100 characters, with nonzero magnitude from 10⁻¹⁰⁰ to 10¹⁰⁰. Transport, cooking and digital tools additionally reject computed reference-unit results above 10¹⁰⁰. Integer products and combination counts are exact within that supported range; non-integer divisions may require rounding. This protects arithmetic, not input measurements, charging behaviour, cooking outcomes or network performance. Choose 0–8 decimal places for display and copying. Trailing zeros are omitted; very small values may round to zero. Display rounding does not change the underlying calculation. Finite-precision arithmetic is not symbolic exact arithmetic.

Accuracy of input data

Extra displayed decimals do not improve input accuracy. Measurement uncertainty, product variability and uncertain chosen rates are separate from rounding. This tool does not propagate measurement uncertainty. Check that its stated assumptions describe your situation.

References and further study

OpenStax

The counting chapter supports multiplication, ordered arrangements and unordered selections. CalcuAll’s repetition and order assumptions must match the problem; counting possible passwords does not measure real password strength or attack time.

Related tools

Formula and worked example

Possible strings = alphabet size ^ length

Reference example

26 possible characters at each of 8 positions gives 208827064576 strings.

When this calculation applies

Alphabet 1–10,000 and length 1–1,000 are whole numbers. Choices are independent with repetition. Results above 10¹⁰⁰ are outside this tool’s supported range. The exact count is not a measurement of human password entropy or cracking time.

Background reference: OpenStax. References explain the method or units; they do not certify this calculator.

Source scope: The counting chapter supports multiplication, ordered arrangements and unordered selections. CalcuAll’s repetition and order assumptions must match the problem; counting possible passwords does not measure real password strength or attack time.

For the derivation, input conventions and numerical limits, open .