Hiring, house hunting and dating all share a trait: you meet options one by one and must decide before you see the next. The secretary problem calculator takes the number of candidates and the number you reject first, and gives the chance of picking the best with that rule, the best number to reject, the chance with that best rule, the chance of a random pick and the advantage of the rule.
How the calculation works
- Enter the number of candidates who will come one at a time in a random order, and who you must accept or reject on the spot, with no way back.
- Enter the number of candidates you reject without choosing, only to learn what the field looks like.
- After that, you pick the first candidate better than all those seen so far. The chance of landing the very best is (r ÷ n) × (H(n−1) − H(r−1)), where H is the harmonic number, computed here by a close approximation.
- The calculator also gives the best number to reject, about n ÷ e, and the matching chance, which tends to 1 ÷ e = 36.8 % for large n.
Example
You will interview 100 candidates, one after the other. You decide to reject the first 37 and then take the first one who beats all of them. The chance that this picks the single best candidate is 37.1 %. The best number to reject is round(100 ÷ e) = 37, which gives the same 37.1 %, 37 times the 1 % chance of choosing at random. Rejecting only 10 candidates would drop the chance to about 23 %, and rejecting 70 to about 25 %.
Why it matters
The result shows that a little discipline pays: learning from a first batch and then committing beats choosing at random by a wide margin. It also shows the cost of stopping too early or too late, which is steeper than most people expect.
Good to know
The model has strict rules: random order, no recall, and a payoff only for the best. If you accept a good candidate, or can go back, the best strategy changes. Treat the 37 percent rule as a lesson about exploring and exploiting, not as an instruction for choosing a partner or a hire.
Related tools
The Monty Hall calculator is another classic puzzle on decisions, the expected value calculator lets you compare payoffs, the birthday paradox calculator shows another surprising probability, and the probability calculator handles basic chances.