Randomness

How Weighted Random Selection Works

Use relative weights responsibly and calculate the displayed chance for every option. Review practical steps, examples, limits and privacy-aware checks before using the result.

· Editorial Policy · Published · Updated

Quick answer

How Weighted Random Selection Works

Weighted selection assigns each option a positive share of a common total. An option with weight 3 among weights 3, 1 and 1 receives 3/5 of the probability, or 60%. The numbers are relative and do not have to add to 100.

Recommended process

  1. Reject zero, negative and non-numeric weights.
  2. Add all valid weights to obtain the total.
  3. Display each option’s weight divided by that total.
  4. Draw one secure fraction and locate its cumulative weight interval.

Worked example

For Walk|2, Museum|1 and Cafe|1, the total is 4. Walk covers half the cumulative range, while Museum and Cafe cover one quarter each. Changing Walk to 4 would make its chance 4/6, not 4%.

What to check before using the result

How the random step is handled

Random Picker Tools uses the browser Web Crypto API for selection, rejection sampling for unbiased integers and a Fisher–Yates shuffle for complete list orders. The organizer still controls eligibility, duplicate rules, consent, accessibility and legal requirements.

Privacy note

Normal picking and shuffling happen in the browser. Use initials or non-sensitive identifiers when possible, avoid unnecessary source data, and create a share link only when temporary server storage is appropriate.

Key takeaway: Use relative weights responsibly and calculate the displayed chance for every option. Review practical steps, examples, limits and privacy-aware checks before using the result.

Try the relevant tools

Related guides