Random Number Generator 1-13
Get a random number from 1 to 13.
Loading the random number generator 1-13… If nothing appears, please turn on JavaScript.
This random number generator picks a whole number from 1 to 13, and every number has exactly the same 1 in 13 chance. The range is already set, so just press the button.
Thirteen is the number of ranks in each suit of a standard deck of cards, from ace to king, so it is handy for card games and probability lessons.
How to use the 1-13 number generator
- Press Pick a number (or the spacebar).
- Choose how many under Options if you need more than one number.
- Keep "No duplicates" on so the same number cannot come up twice in one draw.
- Change the range under Options if you need different lowest or highest numbers.
When to pick a random number from 1 to 13
- Card ranks: 1 is the ace, 11 the jack, 12 the queen and 13 the king.
- Team picks: number 13 players and pick one.
- Probability lessons: compare the results with drawing cards from a deck.
- Calendar games: pick one of 13 four-week periods in a year.
- Party games: choose a player in a group of 13.
Keep, copy and share your numbers
Every result has a lock button. Locked results stay put when you generate again, so you can keep the numbers you like and reroll the rest. The history panel keeps your earlier results, and the back arrow takes you to the previous set if you generated one time too many. Press Wheel to put the current results on a spinning wheel and pick one with a bit of drama.
Use Copy to copy the results as a plain list, CSV or JSON, or download them as a file. Share copies a link that shows exactly the same results to whoever opens it, which is handy for games, classes and group chats.
1 to 13 and a deck of cards
A standard deck has four suits of 13 cards. If you number them ace = 1 to king = 13, picking a number from 1 to 13 is the same as drawing a card’s rank. Each rank has a 1 in 13 chance, or about 7.7%.
To draw actual playing cards, with suits, use the random card generator. For other ranges, try the 1 to 12 or 1 to 15 generators.
How the randomness works
Every result comes from your browser’s built-in cryptographic random number generator (crypto.getRandomValues). We use rejection sampling, so every item has exactly the same chance of being picked, with no bias toward the start or end of the list. Nothing is sent to a server, and share links store the exact results so the person you send them to sees the same thing.
Frequently asked questions
Is every number from 1 to 13 equally likely?
Yes. Each number has an exact 1 in 13 chance.
Are 1 and 13 included?
Yes. Both ends of the range can come up.
Can I pick more than one number?
Yes. Set how many numbers you want under Options.
Can I avoid repeats?
Yes. "No duplicates" stops repeats in one draw, and "Exclude already shown" stops repeats across rounds.
Can I get only odd or even numbers?
Yes. Use the Odd or even setting under Options.
Is the 1-13 number generator free?
Yes. It is free, with no sign-up.