Weighted Random Number Generator
Generates a random number from your chosen range, skewed toward the lower end — the minimum of two independent random draws, a simple and honestly-described bias, distinct from an even, unweighted pick.
What this generator does
Produces a number where some outcomes are deliberately more likely than others, rather than every value having an equal chance. Useful for simulations and for test data that should mirror a skewed real-world distribution.
How to use this tool
- Set your minimum and maximum.
- Press generate for a number weighted toward the low end.
Worked examples
- Contrast
- The standard random number generator gives every value in range an equal chance; this one does not, by design
Common use cases
- Games that want lower numbers to come up more often
- Simulating a skewed distribution
- Teaching probability bias
How this generator works
Two independent numbers are drawn uniformly from your range using your browser's Web Crypto random generator, and the lower of the two is returned. Taking the lower of two draws is what produces the skew: for a range of n values, the lowest value has a (2n-1)/n² chance of being the result, while the highest value has only a 1/n² chance — for a 1-to-10 range, that's a 19% chance of getting 1 versus a 1% chance of getting 10.
Limitations and good to know
- The skew always favours the low end of the range and cannot be pointed the other way or made steeper or shallower — for a different shape, the weighted random picker lets you set the exact odds of named options yourself.
- The bias comes from taking the minimum of exactly two draws; it is not a configurable distribution such as a normal or exponential curve.
Skewed toward the low end of your range by design — not an unbiased pick. Use random-number-generator for an even, unweighted result.
Related generators
- Random Number GeneratorGenerate one or many random numbers within any range, with optional duplicate control and sorting.
- Weighted Random PickerWeight some options more heavily than others before picking a winner, rather than a flat equal chance.
- Random Multiple Of GeneratorA random multiple of any base number you choose.