FinanceHealthMathDev ToolsDate & TimeText ToolsConvertersUtilitiesBusinessConstructionAgricultureAutomotiveScienceStatisticsEducationLegal & TaxAbout

Random Number Generator

Generate truly random numbers, roll any dice (d4, d6, d8, d10, d12, d20), flip a coin, or pick random items from a list. Uses the Web Crypto API for cryptographic randomness.

Mode
Frequently Asked Questions
Is this random number generator truly random?

Yes. This tool uses the Web Crypto API (crypto.getRandomValues) which generates cryptographically secure random numbers — the same standard used for generating encryption keys and security tokens.

What is the difference between random and pseudo-random?

Pseudo-random numbers are generated by a mathematical formula — they look random but are deterministic. Truly random numbers use physical phenomena (hardware noise, quantum effects). The Web Crypto API provides cryptographic-quality randomness.

What does d6, d20 mean in dice rolling?

d6 means a 6-sided die (standard dice). d20 is a 20-sided die used in tabletop games like Dungeons & Dragons. The number after d is the number of faces. Roll multiple dice by setting the count above 1.

How do I use this to make a random decision?

Use the Pick from List mode. Enter your options (one per line) and click Generate. The tool picks a random item. Useful for deciding where to eat, assigning tasks, or choosing between options.

What is the probability of rolling a 20 on a d20?

Exactly 1/20 = 5%. Each face has an equal 5% probability on a fair die. Rolling two d20 and taking the higher (advantage in D&D) raises your chance of rolling 15+ significantly.

Can I generate lottery numbers with this?

Yes. Use Random Set mode, set From 1, To 45 (or your lottery range), and Pick 6. The numbers are unique and randomly ordered. Note that past results have no effect on future draws — each draw is independent.

How many random numbers can I generate at once?

This tool generates up to 1,000 numbers in number range mode, 20 dice in dice mode, and 100 coin flips. For larger sets, generate multiple times.