Bits are log2 of this generator's choices, assuming the source is public. Randomness from crypto.getRandomValues.
Counted separately, and only if it is hard to guess
Pet names and foods are in cracking dictionaries. Every password made with this text shares it: if one leaks, it stops helping the others. The generated words stay strong on their own.
A public constant cue such as Pi3.1416, then uniformly random dictionary words. The words are the secret; the constant is a memory aid.
Word count is chosen so this configuration meets the preset floor. Pinning a constant removes its bits and may add a word.
Kerckhoffs's principle
The public-source threat model
What if an attacker knows you used MathPass? The bit count already assumes they have this code.
Short public templates
If a generator only fills a small set of puns and digit slices, an attacker who reads the source can enumerate that list. A 14-bit space is not a 100-bit space.
Old MathPass templates: about 5–20 generated bits
Uniform random words
Each word is drawn uniformly from 7,776 entries (6^5), adding 12.92 bits that knowing the source cannot remove.
You pick a math constant. It is a memory cue worth at most about 5.5 bits if chosen at random, and 0 bits if pinned.
Personal text
Optional extra text, appended exactly. It adds strength only if it is hard to guess. Pet names and foods are in cracking dictionaries, so we estimate the bits and show you.
Web Crypto words
MathPass uses the browser's cryptographically secure random number generator with rejection sampling. There is no Math.random fallback.
The bit count already assumes the attacker has read every line of this source.Try it now →
How It Works
Three steps to a passphrase whose bit count matches the generator
Step 01
Choose a cue
Constant, pun, or formula. The cue is public and exists so you have something to hang the words on.
Style: Constant · Pi3.1416
Step 02
Pick a strength
Everyday, Strong, or Master. MathPass chooses the word count so the bit target holds even if the constant is pinned.
Strong: 5 words, 73.1 generated bits
Step 03
Remember the exact string
The recall line is the password. No truncation, no leftover random padding. Open the entropy ledger to see each term.
Pi3.1416-otter-velvet-harbor-cactus-anchor
Guess estimate
Test a typed password
The headline is a dictionary-aware guess estimate, not a lower bound. If the string looks like a MathPass passphrase, a second panel shows bits only under the assumption of a random cue and a random separator.
Loading guess dictionaries…
📚 Mathematical Encyclopedia
Explore Mathematical Constants
Every password generated by MathPass is grounded in real mathematical history. Browse our database of 44 famous constants and generate a custom password using any of them with a single click.
🔍
Symbol
Name
Decimal Expansion
Meaning / Formula
Discovered
Action
π
Pi
geometry
3.1416
Ratio of circumference to diameter
1900-1600 BCE
e
Euler
fundamental
2.7183
Euler's number - base of natural logarithm
1618
φ
Golden Ratio
algebra
1.6180
The golden ratio (1+√5)/2
~300 BCE
√2
Pythagoras
geometry
1.4142
Square root of 2 - Pythagoras constant
1800-1600 BCE
√3
Theodorus
geometry
1.7321
Square root of 3 - Theodorus' constant
465-398 BCE
√5
Root Five
algebra
2.2361
Square root of 5
Ancient
τ
Tau
geometry
6.2832
Ratio of circumference to radius (2π)
1900-1600 BCE
δₛ
Silver Ratio
algebra
2.4142
Silver ratio = √2 + 1
~300 BCE
ln2
Natural Log 2
analysis
0.69315
Natural logarithm of 2
1619
γ
Euler-Mascheroni
analysis
0.57722
Euler-Mascheroni constant
1735
ζ(3)
Apéry
number-theory
1.2021
Apéry's constant - ζ(3)
1780
G
Catalan
analysis
0.91597
Catalan's constant
1864
K₀
Khinchin
number-theory
2.6855
Khinchin's constant
1934
δ
Feigenbaum
analysis
4.6692
Feigenbaum constant - chaos theory
1975
λ
Conway
number-theory
1.3036
Conway's look-and-say constant
1987
Ω
Omega
analysis
0.56714
Omega constant - W(1)
1758
ρ
Plastic Ratio
algebra
1.3247
Plastic ratio - real root of x³=x+1
1924
T
Tribonacci
algebra
1.8393
Tribonacci constant
1914
C₁₀
Champernowne
number-theory
0.12346
Champernowne constant in base 10
1933
ψ
Supergolden
algebra
1.4656
Supergolden ratio
Unknown
Δ(3)
Robbins
geometry
0.66171
Average distance between two random points in a unit cube
1977
ϖ
Lemniscate
geometry
2.6221
Lemniscate constant
1718
G
Gauss
analysis
0.83463
Gauss's constant
1799
W
Lieb Ice
analysis
1.5396
Lieb's square ice constant
1967
D
Dottie
analysis
0.73909
Dottie number - fixed point of cosine
1865
e^(π√163)
Ramanujan's Constant
number-theory
2.6254e17
e^(π√163) - extraordinarily close to an integer
1859
ζ(2)
Basel ζ(2)
analysis
1.6449
Sum of reciprocal squares: π²/6
1734
∛2
Delian Constant (∛2)
geometry
1.2599
Cube root of 2 - doubling the cube
~430 BCE
E
Erdős–Borwein
number-theory
1.6067
Sum of 1/(2^n - 1)
1749
C₂
Twin Primes
number-theory
0.66016
Constant related to the Twin Prime Conjecture
1922
θₘ
Magic Angle
geometry
0.95532
Magic angle: arctan(√2) ≈ 54.7356°
1959
A_m
Mills' Constant
number-theory
1.3064
Smallest number where floor(A^(3^n)) is always prime
1947
e^π
Gelfond's Constant
analysis
23.141
e raised to the power of π
1900
P_u
Universal Parabolic
geometry
2.2956
Ratio of arc length to focal parameter of a parabola
1891
h
Planck's Constant
physics
6.6261e-34
Fundamental quantum of electromagnetic action: E = h·f
Random symbol soup is hard to remember. Short math templates are easy to search. MathPass keeps the cue and puts the entropy in the words.
1
Memorable by design
A constant you already know, then random dictionary words. The string on screen is the string you remember.
2
Bits you can recompute
A random-constant sample is 60.2 / 73.1 / 86.0 bits for Everyday / Strong / Master. The badge is log2 of this sample's choices, not a slogan.
3
Three public-cue styles
Constant, Pun, or Formula. The cue is public. Strength comes from uniformly chosen words.
4
Runs in the browser
Passwords are generated locally. MathPass does not send them to a MathPass server.
5
Dice-checkable words
The EFF long list has 7,776 words = 6^5. Each word in the ledger shows its five-die code.
6
Batch generation
Generate up to 10 at once. Copy with one click. Picking one favorite of N costs log2(N) bits.
7
The constant is a cue
Each result names the constant and shows a magnitude-correct ASCII cue, so Euler-Mascheroni is Gamma0.57722, never a shifted decimal.
8
Free to use
No accounts and no generation limit. Optional ads stay off unless enabled in the environment.
How the numbers work
The math of MathPass bits
Generated strength is log2 of the number of equally likely passwords this generator could have produced.
A cue you already know
A string like x7$kQ9!mP is dense and easy to mistype. A constant you already know gives the passphrase a handle.
The constant is public. Security comes from the words drawn uniformly at random after it, not from hiding π.
Entropy without theater
Charset-size times length measures a different generator: a uniform random string of that shape. MathPass is not that generator.
A default Strong passphrase (constant plus 5 words) has 73.1 generated bits. Times depend on the site's hash and rate limits.
Puns are cues, not secrets
Pun style still uses random words. A string like CutiePi3.1416-harbor-velvet-cactus-otter is strong because of the four words, not because of the joke. The Constant-style cue is Pi3.1416.
The recall line repeats the exact password, piece by piece.
Local generation
MathPass does not POST your passphrase to a backend. Sampling uses crypto.getRandomValues.
Ads and analytics load only when their environment flags are set. The privacy claim is local generation, not a silent browser.
Frequently Asked Questions
How the generator actually works, including the threat model
MathPass builds a passphrase from a public math cue (for example Pi3.1416), a separator, and words drawn uniformly from the official EFF long wordlist (7,776 words, 6^5). The cue is a memory aid. The random words are the secret. Optional personal text is appended exactly as typed and is not counted in the headline bit number.
At Strong or Master, yes against a realistic guessing budget, with the source assumed public. A default Strong passphrase has 73.1 generated bits; Master has 86.0. The constant, pun, or formula is public. Every password shows its exact bit count from the choices the generator made, and an entropy ledger you can recompute.
Generation runs in your browser. MathPass does not send the password or personal text to a MathPass server. If you enable ads or analytics with environment variables, those third-party scripts can run on the page, so this is local generation, not a claim that the browser sends nothing at all.
A 6-word MathPass passphrase (86.0 bits) is in the same range as a fully random 12-character mixed password, and the constant plus words are easier to recall. Per character, random symbols still pack more bits. MathPass trades density for a string you can actually type from memory.
MathPass includes 44 constants: Pi, Euler's number, the golden ratio, square roots, Tau, physical constants such as Planck's h and the speed of light, and others. Each has an ASCII handle and a magnitude-correct cue (Euler-Mascheroni is Gamma0.57722, not a shifted 5.77).
The displayed bit count already assumes the attacker has this source, the wordlist, and the selected constant. Knowing the scheme does not remove the 12.92 bits from each uniformly chosen word. A short pet name adds little; a long random extra string adds more, estimated separately and capped.
MathPass was created by Saurav Shriwastav. It is free and open-source under the MIT License. Anyone can inspect the generator and recompute the bit formula from the code.
Three public-cue styles: Constant (handle plus magnitude-correct digits), Pun, and Formula. Formula magnitudes are joined with a colon so PV=nRT:8.3145 is not a false equation. All three then add the same uniformly random words. Classic, mashup, and leetspeak were removed because they were short public templates, not extra entropy.
Pick a strength preset. MathPass chooses the number of words so Everyday is at least 60 generated bits, Strong at least 72, and Master at least 80. A typical unpinned sample is 4/5/6 words. Length follows the pattern; the generator never truncates.
Generate a new passphrase per account. The constant is a memory cue, not a secret. Reusing optional personal text across accounts means one leak exposes that text everywhere you used it.
Yes. No account is required. Ads and analytics stay off unless you set their environment variables.
Ready for a passphrase you can actually recall?
Free, open-source, and generated in the browser. Strength shown in bits, not adjectives.