Client-side · Open source · Strength you can verify

Passphrases That Are Hard to Guess, Easy to Remember

Hang random dictionary words on π, e, φ, and c. Each result shows the exact generated strength in bits, assuming an attacker has this source.

Generated in your browser·Free and open source·Web Crypto randomness·Optional personal text
π = 3.14159...·h = 6.62607×10⁻³⁴·c = 299,792,458 m/s·e = 2.71828...·φ = 1.61803...·√2 = 1.41421...·τ = 6.28318...

Passphrase generator

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.

Random-constant sample: 2^60.2 Everyday · 2^73.1 Strong · 2^86.0 Master

What each layer actually does

The constant

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.

🔍
SymbolNameDecimal ExpansionAction
π
Pi
geometry
3.1416
e
Euler
fundamental
2.7183
φ
Golden Ratio
algebra
1.6180
√2
Pythagoras
geometry
1.4142
√3
Theodorus
geometry
1.7321
√5
Root Five
algebra
2.2361
τ
Tau
geometry
6.2832
δₛ
Silver Ratio
algebra
2.4142
ln2
Natural Log 2
analysis
0.69315
γ
Euler-Mascheroni
analysis
0.57722
ζ(3)
Apéry
number-theory
1.2021
G
Catalan
analysis
0.91597
K₀
Khinchin
number-theory
2.6855
δ
Feigenbaum
analysis
4.6692
λ
Conway
number-theory
1.3036
Ω
Omega
analysis
0.56714
ρ
Plastic Ratio
algebra
1.3247
T
Tribonacci
algebra
1.8393
C₁₀
Champernowne
number-theory
0.12346
ψ
Supergolden
algebra
1.4656
Δ(3)
Robbins
geometry
0.66171
ϖ
Lemniscate
geometry
2.6221
G
Gauss
analysis
0.83463
W
Lieb Ice
analysis
1.5396
D
Dottie
analysis
0.73909
e^(π√163)
Ramanujan's Constant
number-theory
2.6254e17
ζ(2)
Basel ζ(2)
analysis
1.6449
∛2
Delian Constant (∛2)
geometry
1.2599
E
Erdős–Borwein
number-theory
1.6067
C₂
Twin Primes
number-theory
0.66016
θₘ
Magic Angle
geometry
0.95532
A_m
Mills' Constant
number-theory
1.3064
e^π
Gelfond's Constant
analysis
23.141
P_u
Universal Parabolic
geometry
2.2956
h
Planck's Constant
physics
6.6261e-34
ħ
Reduced Planck Constant (ħ)
physics
1.0546e-34
c
Speed of Light (c)
physics
299792458
G
Gravitational Constant (G)
physics
6.6743e-11
N_A
Avogadro's Number
physics
6.0221e23
k_B
Boltzmann's Constant
physics
1.3806e-23
e_q
Elementary Charge (e)
physics
1.6022e-19
α
Fine-Structure Constant (α)
physics
0.0072974
R
Universal Gas Constant (R)
physics
8.3145
0 K
Absolute Zero (0 K)
physics
-273.15

Why MathPass?

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.

Generate a passphrase →