Ten million possibilities
7-digit codes run from 0000000 to 9999999—10 million options, a common scale for “pick-one” lottery games.
PIN, lottery, or ID-style codes · 10,000,000 standard combinations · free, no signup
Mode
10,000,000 values in the standard pool (with leading zeros) · any single draw is 1 in 10,000,000
Need a random 7-digit number? Draw from all 10,000,000 values in the 0000000–9999999 range. People use this for phone-number–shaped test data, larger ID pools, and seven-number lottery practice (pair with Oz Lotto tools when you need 7-from-45 instead of a flat 7-digit string). Use no-repeat when every digit must be unique.
Split intent on this page: PIN / code use (try PIN-safe mode), lottery-style digit draws (standard mode matches tools like Pick-N games), and ID / raffle tickets. Modes change the pool—not just the label.
| Mode | Count |
|---|---|
| Standard (leading zeros on) | 10,000,000 |
| Standard (leading zeros off) | 9,000,000 |
| No-repeat digits (leading zeros on) | 604,800 |
| PIN-safe | Filters sequences, repeats from the no-repeat pool |
Q: Does a 7-digit result include leading zeros?
By default yes—so a 7-digit value stays fixed width (for example 0000042). Turn off "Allow leading zeros" to force the range 1,000,000–9,999,999 instead (9,000,000 values).
Q: How many 7-digit combinations exist?
With leading zeros: 10,000,000 (107). Without: 9,000,000. No-repeat mode (each digit at most once, leading zeros on) has 604,800 values. PIN-safe mode further filters sequences, all-same digits, and birth-year-like 4-digit patterns.
Q: What does PIN-safe mode do for 7-digit numbers?
PIN-safe keeps digits unique and drops obvious weak patterns: all digits the same (like 1111111), straight sequences (like 0123456), and—for 4-digit only—year-like values from 1900–2099. This is a convenience filter for practice codes, not a security product.
For fair giveaways that use numbered entries, see how to run a fair online raffle.
Did you know
Quick, trustworthy snippets you can actually use—math, odds, and real-world places these lengths show up.
7-digit codes run from 0000000 to 9999999—10 million options, a common scale for “pick-one” lottery games.
Classic US numbers paired a 3-digit area code with 7 local digits; many countries use similar splits so switches could route calls cheaply.
George Miller suggested people comfortably hold about 7 ± 2 chunks in working memory—why phone segments and memorization tricks cluster near seven.
A straight 7-digit draw without bonus balls is often quoted around 1 in 10 million for a single ordered ticket.
Count one 7-digit number every second and you need roughly 116 days to exhaust the list.
Some industrial SKUs and medical device IDs embed seven numeric characters so scanners stay reliable on curved or dirty labels.