Random Number Generator
Generate one or more integers between your chosen minimum and maximum. Allow repeats or choose unique numbers within the result, then sort or copy the same batch. Select Generate whenever you want a new draw.
How to generate random numbers
- Set the minimum and maximum. Both endpoints are included, and negative integers and zero are allowed. Choose how many numbers to generate, from one to 10,000.
- Select Unique within this result if a number should appear at most once in the batch. The count cannot exceed the number of integers in the range. More options lets you choose draw order, smallest first or largest first.
- Select Generate and read the result. Copy numbers places one number per line on the clipboard, without group separators. If clipboard access is unavailable, select and copy the current result directly. Reset restores the initial settings and removes the batch.
Ranges, repeats and result order
An inclusive range from 1 to 6 contains six possible integers, including 1 and 6. The number of possible values is maximum minus minimum plus one. Equal endpoints contain just one possible value.
With repeats allowed, every draw uses the full range and a value may appear more than once. With Unique selected, each selected value is removed from the current batch's remaining possibilities. A later Generate starts a new batch and may include values seen before.
Sorting changes only the order of the stored batch. Returning to Draw order restores its original selection order. Editing the range, count or uniqueness removes the old batch until you generate again; changing order does not draw new numbers.
The tool uses the browser's native Web Crypto randomness source and rejection sampling to convert unsigned words into a bounded integer without remainder bias. Unique selection uses a partial shuffle. This is browser-side generation, not a request to an atmospheric-noise service.
Random integer examples
For minimum 1, maximum 6 and count 1, any integer from 1 through 6 is a valid result. For example, 4 is possible, but no particular result is promised for a click.
For minimum 1, maximum 3, count 3 and Unique on, a possible draw is 1, 3, 2. Smallest first displays 1, 2, 3 using that same batch. Count 4 is impossible when uniqueness is required for this range.
For minimum 1, maximum 10 and repeats allowed, a possible three-number batch is 7, 2, 7. Smallest first displays 2, 7, 7; sorting does not remove the repeated 7. The copied data has one number per line.
Integer selection scope
Minimum and maximum must be integers between minus one billion and plus one billion. Up to 10,000 numbers can be generated per batch. Decimal distributions, weights, excluded values, names and reproducible seeds are not supported.
The tool does not provide independent draw certification, a public draw record, passwords or cryptographic keys. Browser randomness and correct range mapping do not certify the surrounding page, device or a regulated drawing procedure. Successive batches can contain the same values.
Browser-side generation
The tool generates numbers in your browser and does not intentionally upload or save these settings or results. Copy writes only the displayed numeric list when requested. Normal site services and consent settings remain separate.
Random number questions
Sources
References for browser randomness and bounded integer sampling:
- developer.mozilla.orgMDN: Crypto.getRandomValues
- w3.orgW3C: Web Cryptography, getRandomValues
- arxiv.orgLemire: Fast Random Integer Generation in an Interval
Checked October 30, 2026. These sources do not endorse this tool.
Related tools
Number Base Converter
Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.
Open tool — Number Base ConverterScientific Calculator
Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.
Open tool — Scientific CalculatorPercentage Change Calculator
Compare an original and new value to find the percentage increase or decrease and the numeric change.
Open tool — Percentage Change CalculatorAverage Calculator
Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.
Open tool — Average CalculatorPercentage Calculator
Find a percentage of a number, one number as a percentage of another, or the whole from a known amount and percentage.
Open tool — Percentage CalculatorWeighted Average Calculator
Calculate an average from values and their relative weights. Check total weight and copy an explained result.
Open tool — Weighted Average CalculatorFraction Calculator
Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.
Open tool — Fraction CalculatorMedian Calculator
Find the median of a number list, with the middle values and a sorted preview.
Open tool — Median CalculatorLCM Calculator
Find the exact least common multiple of 2–20 positive whole numbers, with the GCD and optional steps.
Open tool — LCM CalculatorCircle Area & Circumference Calculator
Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.
Open tool — Circle Area & Circumference CalculatorScale Calculator
Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.
Open tool — Scale CalculatorGPA Calculator
Calculate a credit-weighted term GPA or combine compatible quality-point and credit totals.
Open tool — GPA CalculatorFinal Grade Calculator
Find the exam score needed for your target course grade using your current grade and final weight, with upward rounding and clear limits.
Open tool — Final Grade Calculator