Random Number Generator
Generate integers or decimals within a selected range with duplicate controls. Processing takes place locally in your browser.
Start using
Random Number Generator
Use this tool for numeric test fixtures, classroom demonstrations and ordinary sampling. Integer mode includes all integers from ceil(min) through floor(max); 1.2 to 4.8 therefore offers 2, 3 and 4. Endpoints must be safe integers after rounding inward, and the inclusive span cannot exceed 2^32 values. Without repeats, the count cannot exceed this available set. Decimal mode requires both boundaries to match the selected decimal places: 1.234 to 1.235 needs at least 3 places. Values are sampled with a stable weighted interpolation and rounded for display, so 0 to 1 at 2 places can display 1.00. Rounded decimal values can repeat even with the checkbox unchecked. JavaScript may display very large values in scientific notation. There is no seed or saved history; copy fixtures you need to reuse. Browser cryptographic randomness does not make this a certified source for security keys, regulated drawings or scientific audit trails.
Processing takes place locally in your browser.