The Complete Guide to Random Number Generators: Fair Draws, Dice, Wheels and Weighted Picks
What is a random number generator?
A random number generator, often shortened to RNG, is any process or device that produces a sequence of numbers that cannot be predicted better than by random chance. Random number generators sit quietly behind an enormous part of modern life. They decide the winners of online giveaways, shuffle the cards in your favourite mobile game, create one-time passwords, pick questions in classroom quizzes, and help scientists run fair experiments. When you click the generate button on a tool like Randora, you are tapping into a small piece of mathematics that has fascinated people for centuries: how do we make a fair, unbiased choice when we cannot trust our own instincts to be random?
Human beings are notoriously bad at being random. Ask a person to pick a number between one and one hundred and they will cluster around numbers like seven, forty-two or sixty-nine, while almost never choosing one, one hundred, or numbers ending in zero. Ask a group of friends to take turns naming names out of a hat and someone will always feel the order was unfair. A good random number generator removes that human bias completely. It gives every possible outcome exactly the same chance of being selected, every single time, with no memory of what happened before. That property, called uniformity, is the entire point of a fair draw.
True randomness, pseudo-randomness and cryptographic randomness
Not all randomness is created equal, and it helps to understand the three main kinds. True random number generators, sometimes called hardware random number generators, harvest unpredictability from physical processes such as atmospheric noise, thermal fluctuations in a chip, or the exact timing of radioactive decay. Services that specialise in this approach sample these physical phenomena and stream the results over the internet. They are genuinely unpredictable, but they depend on a network connection and an external service.
Pseudo-random number generators are algorithms that start from a seed value and produce a long sequence of numbers that look random. The classic example built into almost every programming language produces decent-looking output but is not suitable when fairness really matters, because its sequence can in principle be predicted if someone learns the internal state. Between these two extremes sits cryptographic randomness. Modern browsers expose a function called crypto.getRandomValues, which draws from the operating system's own entropy pool โ the same pool of unpredictability that secures encrypted connections and password generation. This is the engine Randora uses for every draw, spin, roll and flip on this page. It is unpredictable, it never leaves your device, and it needs no internet connection to any randomness server.
Why does the source of randomness matter for an ordinary user? For a casual decision like choosing which film to watch, any reasonable algorithm will do. But the moment real stakes appear โ prize money, contest winners, classroom selection, game outcomes โ the quality of the randomness becomes the fairness of the event. A cryptographically strong source guarantees that no participant can predict, influence or game the outcome. When you run a giveaway with Randora, you can honestly tell your audience that the result came from the same grade of randomness that protects their banking sessions.
How number draws work: ranges, counts and unique mode
The classic number draw is simple on the surface: choose a minimum, choose a maximum, and ask for a number between them. Behind the scenes, the generator picks an integer where every value in the range, including both endpoints, has an identical probability. Randora's Number Draw mode lets you request more than one number at a time, which is where an important choice appears: should repeats be allowed?
With repeats allowed, each pick is fully independent. Drawing a seven does not make a seven any less likely on the next draw. This mirrors rolling a die again and again. With repeats forbidden โ the no-duplicates or unique mode โ each drawn number is removed from the pool before the next pick, exactly like pulling names from a hat. This is the correct choice for lotteries, raffles and winner selection, because the same ticket should never win twice. Randora implements unique draws with a pool-extraction method: it builds the full list of possible values, picks one at random, removes it, and repeats until your requested count is reached. If you accidentally ask for more unique numbers than the range contains, the tool draws the entire range and tells you it did so, instead of freezing or repeating values.
Sorting is a small convenience with a real purpose. Lottery results are conventionally shown in ascending order, so a sort toggle turns a raw draw like 41, 7, 23, 15 into 7, 15, 23, 41 without changing the underlying randomness. Combined with the copy button and the session history, this makes it easy to document a draw: generate the numbers, copy them with one tap, and keep a timestamped record in your browser as proof of the order in which things happened.
Weighted random draws: when every option is not equal
Uniform randomness is not always what you want. Sometimes some outcomes genuinely deserve a bigger chance. A raffle might award three tickets to premium members and one to everyone else. A game designer might want a common sword to drop far more often than a legendary one. A teacher might want to call on quieter students more frequently to balance participation. Weighted random selection solves all of these.
The mathematics is straightforward. Each option gets a positive weight, the weights are added up, and a single random point is dropped onto that total. Whichever option's slice contains the point wins. If option A has weight three and option B has weight one, A's slice covers three quarters of the total, so A wins about seventy-five percent of the time over many draws. Randora's Weighted Draw mode turns this into a visual experience: add as many options as you like, assign weights, and the tool shows each option's exact probability as a bar before you draw. Few free randomizer sites offer weighted selection at all, and fewer still show you the probabilities up front, so you always know precisely how the odds are tilted before the draw happens.
Spin the wheel: randomness you can watch
The spinning prize wheel is the game-show icon of randomness, and it exists for a psychological reason: people trust randomness more when they can see it happen. A number that appears instantly can feel arbitrary, but a wheel that spins, slows and settles on a winner feels like an event. Randora's Spin Wheel mode recreates that theatre in your browser. Type in up to twenty-four names, prizes or options, and the tool renders them as coloured slices on a canvas wheel with a pointer at the top.
Importantly, the spin is not merely cosmetic. Before the animation begins, the winner is already chosen using the same cryptographically strong randomness as everything else on the page; the animation then spins the wheel with a realistic easing curve and lands the pointer exactly on the pre-chosen slice. What you see is a dramatisation of a genuinely fair result. The optional remove-winner mode makes the wheel perfect for sequential draws โ pick a quiz team, remove them, spin again โ because each spin can never land on an already-chosen winner.
Dice rollers and coin flips: the oldest randomizers
Dice and coins predate every other random number generator by thousands of years. Knucklebone dice appear in archaeological finds from ancient civilisations, and the coin toss still settles disputes on sports fields worldwide. Randora honours that history with a full dice roller supporting the standard tabletop set: four, six, eight, ten, twelve, twenty and one-hundred-sided dice, rolled singly or in groups of up to ten, with the individual rolls and their total shown on the scoreboard.
Physical dice have subtle biases โ uneven faces, worn edges, the way they are thrown โ but a digital die backed by cryptographic randomness is as close to mathematically perfect as chance gets. The coin flipper adds the missing piece for binary decisions, with a three-dimensional flip animation and a running tally of heads and tails so you can watch the long-run balance converge toward fifty-fifty. Together they cover every classic game-table need without ever hunting for a lost die under the sofa.
Shuffling lists: the Fisher-Yates method
Randomly ordering a list โ seating plans, presentation orders, team drafts, playlist shuffles โ is a different problem from picking numbers, and it has a famously correct solution called the Fisher-Yates shuffle. The algorithm walks through the list from the last item to the first, swapping each item with a randomly chosen item from the unshuffled portion. Done correctly, every possible ordering is equally likely. Done incorrectly, which is surprisingly easy, some orderings become more likely than others and the shuffle is biased.
Randora implements the modern in-place Fisher-Yates shuffle with cryptographically strong randomness for each swap, so the shuffled order you see is a genuinely uniform permutation of your input. The one-tap Pick 1 button then promotes the top of the shuffled list to winner, which is the digital equivalent of dealing the top card โ perfect for draft orders and secret-santa draws.
Real-world uses for a random number generator
Giveaways and raffles are the most visible use. Assign each entrant a number, draw with no-duplicates mode, and you have a defensible winner list in seconds. Teachers use random draws to pick students for presentations, assign groups, and generate unpredictable quiz questions. Game masters running tabletop role-playing sessions rely on dice rollers and weighted tables for encounters and loot. Developers and testers generate sample data, random IDs and test cases. Event organisers shuffle seating and speaking orders. Friends settle endless debates โ where to eat, who goes first, which movie to watch โ with a coin flip or a wheel spin. Statisticians and researchers use randomisation to assign participants to groups, which is the foundation of fair experiments.
Whatever the use, one habit makes every draw more trustworthy: write down or screenshot the rules before you generate. State the range, the number of winners, and whether duplicates are allowed, then run the draw. Randora's history log and copy buttons make the second half easy; the first half is up to you, and it is what turns a random result into a fair one that nobody can dispute.
Fairness, privacy and limitations
Every result on this page is generated inside your own browser using your device's cryptographic randomness source. Nothing is sent to a server, nothing is logged remotely, and there is no account to create. Your draw history is stored only in your browser's local storage, and you can clear it at any time. That also means nobody โ not the site operator, not anyone else โ can see, predict or alter your results, which is exactly what you want when the stakes are real.
A word of honest caution: a random number generator produces fairness of process, not fairness of outcome. It cannot make an unfair contest fair โ if the entry list itself is biased, the draw inherits that bias. For regulated lotteries or gambling, jurisdictions usually require certified hardware and audited procedures, and a browser tool is not a substitute for those. For everything else โ classrooms, parties, streams, giveaways, games and everyday decisions โ a cryptographically strong browser generator like Randora is more than fair enough, and far fairer than any human attempt at randomness.
How to use Randora in thirty seconds
Pick one of the five modes at the top of the stage. For a quick lucky draw, set your minimum and maximum, choose how many numbers you need, toggle no-duplicates if winners must be unique, and hit Generate. For a name draw, open the Spin Wheel, paste your list, and spin. For unequal odds, use Weighted Draw and assign weights. For games, roll any standard die or flip the coin. For ordering, paste your list into the Shuffler. Every mode is unlimited, free forever, and works entirely offline once the page has loaded.