ToolDox
Math

Random Number Generator

Generate one random number, a list, or a unique set with no repeats. Any range.

Related Tools

Percentage Calculator
Calculate percentages, percentage change, and what percent o...
Standard Deviation Calculator
Paste a list of numbers and get mean, median, mode, variance...
Correlation Calculator
Enter two sets of numbers and calculate Pearson correlation ...
Sample Size Calculator
Calculate the required sample size for any survey or experim...

How random numbers are generated here

This tool uses JavaScript's built-in random number generation for general-purpose tasks such as games, sampling, quick experiments, classroom exercises, and ad hoc decision-making. That is appropriate for ordinary browser use, but it is not the same as a cryptographic random generator. If you need secure tokens, passwords, or security-critical randomness, use a dedicated cryptographic source instead.

Single number, list mode, and unique mode

Single-number mode is useful for one-off decisions. List mode generates multiple values and can include repeats. Unique mode samples without replacement, which is what you want for raffle draws, participant assignment, turn order, or any scenario where the same integer should not appear twice. The tool checks the range size first so it does not promise more unique integers than the interval actually contains.

Common use cases

  • Pick random winners or assign seats or groups.
  • Create sample IDs for demonstrations and tutorials.
  • Generate quick test inputs for spreadsheets or code examples.
  • Run simple classroom, game, or experiment randomization tasks.

Integer vs decimal output

Use integer mode when the output represents counts, IDs, or draw results. Use decimal mode when you need continuous values, for example when simulating test data, checking rounding behavior, or generating sample inputs for formulas. If you need reproducible sequences for development, this browser tool is the wrong abstraction; use a seeded generator in code instead.

Related tools and guides