Introduction

This Random Number Generator creates integers or decimals inside your chosen range and works well for raffle picks, classroom activities, test data, simulations, team assignments, and quick selections. You can choose how many values to generate, whether duplicates are allowed, whether uniqueness should apply per set or across all sets, and which integer values should be excluded.

How to Use

Choose integer or decimal mode first, then enter the minimum and maximum range, the number of values per set, and how many sets you want. If you need sampling without replacement, turn off duplicates and choose whether uniqueness should apply inside each set or across all sets. For integer draws, add any values you want to exclude, generate the results, and then copy or download the output.

Features

  • Integer and decimal generation in one browser-based tool
  • Duplicate control for replacement or non-replacement sampling
  • Per-set or cross-set uniqueness for grouped draws
  • Excluded integer values for raffle and already-used number workflows
  • Ascending, descending, or generated-order result display with copy and TXT export

Single Set or Multiple Sets?

A single set is ideal when you only need one draw, such as a quick raffle winner list, a classroom selector, or a one-time lottery-style pick. Multiple sets are more useful when you want several batches at once, for example generating different practice worksheets, assigning groups, or creating repeated simulation inputs.

Unique Sampling, Duplicates, and Exclusions

When duplicates are allowed, the same number may appear more than once. This matches sampling with replacement. When duplicates are disabled, the tool switches to without replacement behavior. If you generate more than one set, you can keep uniqueness inside each set or require all values across every set to stay unique. Integer exclusions are helpful when some entries are no longer eligible, such as already-drawn ticket numbers or reserved IDs.

Integer Mode vs Decimal Mode

Integer mode is best for raffles, picks, indexes, seats, teams, and any scenario where the result should be a whole number. Decimal mode is useful for simulations, randomized percentage values, lightweight test data, and scenarios where you want fixed precision such as 0.125 or 3.75. Decimal generation follows the decimal-place setting, so the precision you choose also defines the pool of possible values.

Important Limits and Interpretation

This tool runs locally in the browser and is designed for practical online use, not for certified gambling, regulated drawings, or audited lottery systems. If you disable duplicates and request more unique values than the available range allows, you need to widen the range, reduce the count, or remove exclusions. The summary cards help you quickly verify how many values were created, how many are unique, the average, and the actual observed range in the generated output.

Mode Selection Guide

Choose the mode that fits the type of values you need to generate.

ModeBest forPractical note
IntegersRaffles, team numbers, seating, indexes, lottery-style picksResults are whole numbers inside the inclusive range
DecimalsSimulations, test data, randomized ratios or percentagesAvailable values depend on the decimal-place setting

Sampling Rules at a Glance

These settings change how values can repeat and how grouped output behaves.

SettingWhat it changesTypical use
Allow duplicates: OnA value may appear more than onceQuick randomized picks with replacement
Allow duplicates: OffEach value must be unique within the allowed scopeRaffles, team assignments, no-repeat selection
Unique inside each setSets are independent from one anotherWorksheet batches or repeated experiments
Unique across all setsNo value repeats anywhere in the full outputSplitting one pool across teams or groups

Frequently Asked Questions

Can this tool generate both whole numbers and decimals?

Yes. Integer mode is for whole numbers, while decimal mode uses your chosen number of decimal places to create fixed-precision decimal values.

What happens if I turn off duplicates?

The generator switches to sampling without replacement. If there are not enough allowed values left in the range, the tool will ask you to widen the range, reduce the count, or remove exclusions.

What does unique across all sets mean?

It means a value can appear only once in the entire output, not just once inside each individual set. This is useful when you want to split one pool of values across multiple groups.

Do excluded values work in decimal mode?

No. Exclusions apply to integer mode, where it is common to avoid already-used ticket numbers, IDs, or reserved slots.

Is this suitable for regulated lottery or gambling use?

No. It is a practical browser tool for everyday online generation, not a certified or audited drawing system.