Skip to main content

Dice Binning Calculator

For Post-Election Audits

Originally built by Joseph Lorenzo Hall | UC Berkeley School of Information

To increase the transparency of the 1% manual tally process, a few California counties use 10-sided dice to produce publicly-verifiable random numbers (See Cordero, Wagner and Dill 2006).

Using 10-sided dice to select from only a few precincts can require a lot of re-rolling. To increase efficiency, Cordero et al. suggest "binning" the dice rolls so each precinct has a range of corresponding values, of equal width, allowing a higher percentage of dice rolls to "hit". This calculator implements that idea natively in your browser.

Read the calculator's JavaScript source code. The source is dedicated to the public domain under the CC0 1.0 Universal public domain dedication.

Settings