{"id":67341,"date":"2026-10-21T09:58:05","date_gmt":"2026-10-21T06:58:05","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67341"},"modified":"2026-10-21T09:58:05","modified_gmt":"2026-10-21T06:58:05","slug":"random-name-picker","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/life\/random-name-picker\/","title":{"rendered":"Random Name Picker"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Pick Random Winners from a List of Names<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67341\" data-favorite-title=\"Name Picker\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/life\/random-name-picker\/\" data-favorite-excerpt=\"Enter your names, choose how many winners to draw, and pick them instantly with cryptographically secure randomness. Shows ranked winners, a shuffled list, copy-ready text and a draw history.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-wpcalc-dice\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/life\/random-name-picker\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67341\" data-post=\"67341\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">Names<\/label><textarea id=\"field-1\" name=\"names\">Ava\nLiam\nSofia\nNoah\nEmma\nMia\nLucas\nEthan<\/textarea><\/div><div class=\"field\" id=\"input-2\"><label for=\"field-2\">Winners to pick<\/label><input type=\"text\" name=\"winners_to_pick\" id=\"field-2\" aria-describedby=\"calc-info-2\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"1\" max=\"50\" value=\"3\"\/><small id=\"calc-info-2\">How many names are drawn, listed as 1st, 2nd, 3rd\u2026 Without repeats this can be at most the number of names in play.<\/small><\/div><div class=\"field is-checkbox\" id=\"input-3\"><input type=\"checkbox\" id=\"field-3\" value=\"1\"\/><label for=\"field-3\">Allow repeats<\/label><\/div><div class=\"field is-checkbox is-single\" id=\"input-4\"><input type=\"checkbox\" id=\"field-4\" value=\"1\"\/><label for=\"field-4\">Remove winners from the list<\/label><\/div><div class=\"field is-checkbox is-single\" id=\"input-5\"><input type=\"checkbox\" id=\"field-5\" value=\"1\" checked=\"checked\"\/><label for=\"field-5\">Draw winners (button trigger)<\/label><\/div><div class=\"field is-checkbox is-single\" id=\"input-6\"><input type=\"checkbox\" id=\"field-6\" value=\"1\" checked=\"checked\"\/><label for=\"field-6\">Shuffle the list (button trigger)<\/label><\/div><div class=\"field is-checkbox is-single\" id=\"input-7\"><input type=\"checkbox\" id=\"field-7\" value=\"1\" checked=\"checked\"\/><label for=\"field-7\">Copy results (button trigger)<\/label><\/div><div class=\"field is-checkbox is-single\" id=\"input-8\"><input type=\"checkbox\" id=\"field-8\" value=\"1\" checked=\"checked\"\/><label for=\"field-8\">Clear draw history (button trigger)<\/label><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67341\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Draw Results<\/h3><div class=\"result-box\"><div class=\"field-result is-column\" id=\"output-1\"><span class=\"field-title\"><span>Winners<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-2\"><span class=\"field-title\"><span>Shuffled list<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>Copy-ready text<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-4\"><span class=\"field-title\"><span>Draw history (last 10)<\/span><\/span><span class=\"field-value\" id=\"result-4\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-5\"><span class=\"field-title\"><span>Method and notes<\/span><\/span><span class=\"field-value\" id=\"result-5\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67341\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Random Name Picker Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ P = \\frac{w}{m} \\qquad\\quad P_{\\geq 1} = 1 - \\left(1 - \\frac{1}{m}\\right)^{w} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(P\\) \u2014 probability that a given name wins a place in the draw when repeats are off<\/li>\n<li>\\(P_{\\geq 1}\\) \u2014 probability that a given name is picked <em>at least once<\/em> when repeats are on<\/li>\n<li>\\(w\\) \u2014 number of winners to pick (1\u201350)<\/li>\n<li>\\(m\\) \u2014 number of names in the pool (2\u2013300)<\/li>\n<\/ul>\n<p>With repeats off, the whole list is shuffled so every ordering is equally likely; each name therefore has a \\(w\/m\\) chance of landing among the winners. With repeats on, each pick is an independent 1-in-\\(m\\) event, so the chance of being picked at least once follows the second formula.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Random Name Picker \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> a raffle uses the default list of 8 names (Ava, Liam, Sofia, Noah, Emma, Mia, Lucas, Ethan) and draws 3 winners.<\/p>\n<p>Chance that Ava wins a place, with <em>Allow repeats<\/em> off:<\/p>\n<p>\\[ P = \\frac{3}{8} = 0.375 = 37.5\\% \\]<\/p>\n<p>Chance that Ava is picked at least once, with <em>Allow repeats<\/em> on:<\/p>\n<p>\\[ P_{\\geq 1} = 1 - \\left(1 - \\frac{1}{8}\\right)^{3} = 1 - 0.6699 \\approx 33.0\\% \\]<\/p>\n<p><strong>Result:<\/strong> each of the 8 names has a 37.5% chance of being one of the 3 winners when names cannot repeat, and about a 33.0% chance of being drawn at least once when the same name may come up several times.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Random Name Picker<\/h2>\n<ol>\n<li>Type your names into the <strong>Names<\/strong> box \u2014 one name per line (2 to 300 names). Blank lines are ignored and surrounding spaces are trimmed automatically.<\/li>\n<li>Set <strong>Winners to pick<\/strong> \u2014 a whole number from 1 to 50. Without repeats, this cannot exceed the number of names in play.<\/li>\n<li>Tick <strong>Allow repeats<\/strong> if the same name may be picked more than once within a single draw; untick it for a proper raffle where every winner is unique.<\/li>\n<li>Tick <strong>Remove winners from the list<\/strong> if winners should not be eligible in later draws \u2014 handy for multi-round draws. Editing the Names box restores the full list.<\/li>\n<li>Press <strong>Draw winners<\/strong> to run the draw and see the winners ranked 1st, 2nd, 3rd\u2026 A fresh press re-draws with new randomness.<\/li>\n<li>Use <strong>Shuffle list<\/strong> to randomize the order of all names (useful for turn order or seating), <strong>Copy results<\/strong> to copy the winners as plain text, and <strong>Clear history<\/strong> to empty the log of the last 10 draws.<\/li>\n<\/ol>\n<h2>What Is a Random Name Picker and How Fair Is It?<\/h2>\n<p>A random name picker draws one or more winners from a list of names so that nobody can influence the outcome. Typical uses include giveaways and raffles, picking students to answer a question, choosing who goes first in a game, and selecting participants for a survey or a prize.<\/p>\n<p>Not all \u201crandom\u201d tools are equally fair. This picker uses the browser's cryptographic random number generator (<code>crypto.getRandomValues<\/code>) with rejection sampling, which removes the subtle <em>modulo bias<\/em> that ordinary random numbers introduce. The randomness then drives a Fisher\u2013Yates shuffle of the entire list, so every possible ordering \u2014 and therefore every possible set of winners \u2014 has exactly the same probability. In other words, if 8 names are in play and 3 winners are drawn, each of the 56 possible winning triples is equally likely.<\/p>\n<p>Read the results as a ranked list: the 1st, 2nd and 3rd places are simply the order in which the names were drawn. The pick order matters when prizes differ (for example, a main prize and two runners-up); if all prizes are identical, the order is irrelevant. A short note under each draw tells you how many names were in play and what chance each name had, so you can document the fairness of the draw for your audience.<\/p>\n<h2>Assumptions, Limits and Practical Tips<\/h2>\n<ul>\n<li><strong>Weighted draws:<\/strong> to give a name more chances, simply enter it on several lines. A name appearing twice has twice the chance of a name appearing once.<\/li>\n<li><strong>Repeats vs. unique winners:<\/strong> untick <em>Allow repeats<\/em> for raffles where each person can win only once; tick it when simulating, say, independent random picks in a game.<\/li>\n<li><strong>Multi-round draws:<\/strong> with <em>Remove winners from the list<\/em> enabled, each press of <strong>Draw winners<\/strong> runs a new round with the remaining names. Re-edit the Names box to restore everyone.<\/li>\n<li><strong>Session only:<\/strong> names, the shuffled list and the last 10 draws are kept in memory only. Reloading the page resets everything, and nothing is sent to a server.<\/li>\n<li><strong>Size limits:<\/strong> 2\u2013300 names, up to 50 winners per draw, 120 characters per name. For splitting large groups into balanced teams instead, use the <a href=\"https:\/\/wpcalc.com\/en\/life\/random-team-generator\/\">Random Team Generator<\/a>.<\/li>\n<\/ul>\n<p>For a more visual draw you can show a crowd, a <a href=\"https:\/\/wpcalc.com\/en\/life\/spin-the-wheel-random-wheel-spinner\/\">Spin the Wheel<\/a> picker adds suspense, and a <a href=\"https:\/\/wpcalc.com\/en\/life\/dice-roller\/\">Dice Roller<\/a> or a quick <a href=\"https:\/\/wpcalc.com\/en\/life\/coin-flip-heads-or-tails\/\">Coin Flip<\/a> covers small yes\/no or turn-order decisions.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enter your names, choose how many winners to draw, and pick them instantly with cryptographically secure randomness. Shows ranked winners, a shuffled list, copy-ready text and a draw history.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[101],"class_list":["post-67341","post","type-post","status-publish","format-standard","hentry","category-life","tag-games-chance"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67341"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67341\/revisions"}],"predecessor-version":[{"id":67342,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67341\/revisions\/67342"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}