How-to guide Weighted picker

How to Assign Probabilities to Options in a Random Picker

Here’s how to assign probabilities to options in a random picker: define the outcomes, choose positive weights, and calculate each intended probability as its weight divided by the total.

How to Assign Probabilities to Options in a Random Picker

An activity uses four outcomes with weights 4, 3, 2, and 1. Their total is 10. Select Load example to populate the supplied list, or replace it with your own entries. Nothing is generated until you select Pick an option.

Input

Paste or type below
0 items

Ctrl + Enter to generate (⌘ on Mac)

Result

Waiting for input

No result yet

Add your entries and generate to see the result here.

Runs in your browser. Your input is not uploaded.2–10,000 weighted entries · 1 pick

Step-by-step instructions

  1. Enter labels and positive weights

    Use option | weight on each line. A weight describes the option’s share relative to the total.

  2. Check the weight totals

    Use consistent units such as entry counts or percentage values. Combine records that should represent one option.

  3. Draw a single option

    Select Pick an option. Save the result before another draw; remove an option manually when later draws must exclude it.

Worked example

An activity uses four outcomes with weights 4, 3, 2, and 1. Their total is 10.

One valid result is shown below. Your generated outcome will vary.

Example input

Outcome A | 4
Outcome B | 3
Outcome C | 2
Outcome D | 1

Example result

1. Outcome A

The intended shares are 40%, 30%, 20%, and 10%. The generated label is one outcome from that pool.

Separate the probability plan from a fixed result schedule

Probability shares describe how independent choices are made, not what a short batch must contain. If a game needs fixed counts in a deck, prepare those counts and shuffle them instead. Remove an impossible outcome rather than giving it a zero weight, because this tool requires positive weights for every entered option.

Settings and limits to check

The example has 4 retained entries. At least two entries are needed. Weights must be positive finite numbers no greater than 1,000,000,000 each. An option’s theoretical share is its weight divided by the sum of all weights; values need not sum to 100. Each generation selects one option and keeps the original choices for the next draw. Zero-weight choices should be left out.

Settings used in this example
Remove duplicate entries: Off

Keep a usable copy of the result

Use Copy to place the current result in your own notes, or Download to keep a text file. Keep the eligible input list with the result when you need to explain which entries took part. A new generation replaces the displayed result rather than adding to a saved history.

The tool runs in your browser and does not upload your input. Save the result before refreshing or leaving the page. If other people need to use the same outcome, share your saved copy rather than asking them to generate another independent result.

Frequently asked questions

Can I give an option a zero weight?

No. Omit that option from the current list. Entered weights must be positive.

Must my weights add to 100?

No. Only relative weights matter. Values 3, 2, 1 produce the same relative shares as 30, 20, 10.

Can a chosen option win again?

Yes. Each click starts another draw from the current list. Remove previous winners yourself when repeat winners are disallowed.

What should I check in the worked example?

The intended shares are 40%, 30%, 20%, and 10%. The generated label is one outcome from that pool.