Number Set Generator — integers or decimals

Unique or with repeats, optional step/grid, sorting, and export. Fully client-side for privacy.

Inputs

When enabled, values are chosen from the grid: min + k·step, staying within your bounds.

Results

Count: Min: Max: Sum: Mean:

About the Number Set Generator

Build number sets for simulations, homework, QA sampling, or quick lottery-style picks. Choose a range, decide if you want unique values, optionally pin the numbers to a fixed grid (step), sort, and export in your preferred format.

Tips

  • Set Decimals = 0 for whole integers.
  • Use step/grid for increments like 0.5, 2, or 12.5.
  • If you hit a uniqueness error, widen your range, reduce the count, or use a larger step.

What are number sets and why generate them?

A number set is a collection of values that follow simple rules: a range (minimum and maximum), a format (integers or decimals), and optionally a structure like a step/grid (e.g., 0.5 or 2.5). With this generator you can produce unique values (no repeats) or allow repeats, sort the results, and export them in common formats. Because everything runs in your browser, these random number sets are fast, private, and reproducible when you keep the same inputs.

Common applications

  • Statistics & simulation: Create random samples for Monte Carlo experiments, bootstrap resampling, sensitivity analysis, or simple dice/coin models. Use decimals when you need continuous variables and a step/grid for engineered increments.
  • Quality assurance & auditing: Pick inspection IDs, rows in a dataset, or time slots to audit without bias. Unique numbers only helps ensure you don’t double-sample.
  • Education & homework: Build practice problems, quick quizzes, or data tables for teaching mean/median/mode, histograms, probability, and combinatorics.
  • Software & test data: Populate fixtures with IDs, ports within a safe range, latency budgets, randomized offsets, or fuzzing inputs. Use the preview limit to keep logs readable.
  • Operations & planning: Schedule rotation orders, assign seats, draw raffle or lottery-style picks (for fun; not official lotteries), or generate queue positions.
  • Design & creative work: Produce rhythmic grids, animation delays, particle sizes, or procedural variations that snap to a chosen step.

Choosing settings

  • Integers vs decimals: Use decimals when measuring continuous quantities (weights, times, voltages). Choose the Decimals field to control rounding (0–15 dp).
  • Unique vs repeats: Unique sets avoid duplicates and are ideal for sampling without replacement. Allow repeats for Poisson-like processes or when simulating independent trials.
  • Step/grid: Enables values like min + k·step inside your bounds—perfect for halves, quarters, millimeter increments, or currency ticks.
  • Include/exclude bounds: Turn off Include min or Include max when endpoints would bias results (e.g., a true open interval).
  • Sorting: Sort ascending/descending for readability, or keep None to preserve draw order for time-series style simulations.

Reliability & privacy

The generator uses the Web Crypto API (when available) to draw high-quality random values, then applies your rounding and step rules. That’s great for analytics, testing, education, and creative tasks. However, it’s not intended for cryptographic secrets like passwords or keys. Your inputs and outputs are computed locally—no data is uploaded—so classroom work, QA jobs, and internal experiments remain private.

Tip: If you request more unique values than exist on your chosen grid or within your rounded interval, the tool will tell you. Widen the range, reduce the count, or increase the step size to proceed.

Explore more tools