December 5, 2026

The Secretary Problem, Simulated: When the 37% Rule Works and When It Fails

A row of empty chairs outside a closed office door

A hiring manager has 100 applicants to interview, one at a time, in random order, and must accept or reject each one on the spot. The famous answer is to interview the first 37 without hiring anyone, then hire the first applicant better than all of them. In 200,000 simulated hiring rounds, that rule found the single best applicant 37.1 percent of the time, exactly as the math predicts. The same simulation turned up the catch the slogan leaves out: in another 37.0 percent of rounds, the rule hired nobody at all. Change one assumption, that the manager can judge applicants on an absolute scale and not just relative to each other, and the success rate jumps to 58 percent.

Video: Dubious Insights on YouTube

The rules of the game

The classical setup

UCLA mathematician Thomas Ferguson’s text on optimal stopping sets out the classical secretary problem with a list of assumptions. There is one position. The number of applicants is known. They arrive in random order, are interviewed one at a time, and each must be accepted or rejected immediately; a rejected applicant can’t be called back. The decision can depend only on how the current applicant ranks relative to those already seen. The goal is to pick the single best applicant, and anything else counts as failure.

The rule

Ferguson describes the optimal strategy as a threshold rule: reject the first r − 1 applicants and then accept the next relatively best applicant, if any. The early applicants are a sample used only to set the bar.

Why 37 percent

For large numbers of applicants, Ferguson writes that it is approximately optimal to pass up a proportion e⁻¹, about 36.8 percent, of the applicants, and the chance of picking the best approaches the same number, about 0.368. The constant e turns up because the probability of success is a sum of fractions that approaches a logarithm.

A stack of papers on a wooden desk

Checking it with 200,000 hiring rounds

The exact formula

For n applicants and a cutoff at r, the probability of picking the best is (r − 1)/n times the sum of 1/(k − 1) for k from r to n. Computing it for every cutoff with 100 applicants puts the optimum at r = 38, rejecting the first 37, with a success rate of 37.10 percent.

How flat the peak is

First applicant eligible (r) Exact chance of hiring the best Simulated
11 23.5%
20 32.1%
21 32.6%
30 36.4%
31 36.5%
38 37.1% 37.1%
45 36.3%
51 34.9%
60 31.3%
71 25.1%

The curve is broad at the top. Looking at 30 applicants first or 44 first both stay within a point of the best possible result. Being exactly right about 37 matters much less than the headline suggests.

Small cases

Ferguson’s table for small n shows the same pattern at a smaller scale. With 3 applicants, the best rule skips the first one and wins half the time. With 8, it skips the first three and wins 41.0 percent of the time, already close to the limiting 36.8.

Ten applicants, worked out

The same formula handles any size of search. With 10 applicants, the best rule skips the first three and hires the next one who beats all of them, winning 39.9 percent of the time. Skipping four instead gives 39.8 percent, nearly the same. Skipping none, which means hiring the very first applicant, wins only 10 percent of the time, as does waiting to the end. With 20 applicants the optimum is to skip seven, for 38.4 percent, and with 1,000 it is to skip 368, for 36.8 percent. The fraction skipped settles toward 37 percent and the success rate drifts down toward the same figure, which is why the two numbers are so often quoted together. A smaller search is slightly kinder: the fewer the applicants, the better the odds of catching the best one, because there are fewer ways for the best to slip past. With just three applicants, the odds are an even 50 percent.

The hidden failure: hiring nobody

When no one beats the benchmark

If the best applicant happens to be among the first 37, nobody afterward can beat the benchmark, and the rule ends with no hire. That happens with probability 37/100. The simulation agreed: 37.0 percent of rounds ended empty-handed.

If the last applicant is forced

Most real searches can’t end with nobody. If the rule is changed so that the manager must take the final applicant when no one has cleared the bar, the simulation gives an average rank of 20.2 out of 100 for the person hired, and only a 66.2 percent chance of landing someone in the top 10.

When it does pick

The picture is much better in the rounds where the rule did hire someone. In those, the person hired was the best of all 100 applicants 58.9 percent of the time, in the top five 97.3 percent of the time, and in the top ten 99.9 percent of the time. The rule is excellent when it fires and useless when it doesn’t, and it doesn’t fire more than a third of the time.

A tape measure

Variant one: knowing the scale

Full information

The classical problem allows only comparisons: this applicant is better than all earlier ones, or not. Ferguson’s text also discusses the full-information version, where each applicant’s actual value is revealed and the distribution of values is known in advance. He reports that the limiting chance of choosing the best then rises to about 0.58016, a result from Gilbert and Mosteller in 1966.

The simulation

With values drawn uniformly between 0 and 1, the optimal strategy changes completely. There is no waiting period. Instead, each applicant is accepted if they’re the best so far and their value clears a threshold that drops as fewer applicants remain. With 99 still to come, the bar is about 0.992; halfway through it’s about 0.984; with only one left to see, it falls to 0.5. Applying those thresholds to the same 200,000 rounds picked the best applicant 58.4 percent of the time, close to Ferguson’s limit, and hired nobody in only 19.7 percent of rounds.

Why it helps

Knowing the scale removes the need for a long learning phase. An applicant who scores 0.995 on a known scale is almost certainly the best, even if they’re the first one interviewed, and the threshold rule can take them immediately. In practice this is the difference between judging candidates only against each other and having a solid outside benchmark.

Variant two: changing the goal

Recall

The strict “no callbacks” assumption is the source of most of the difficulty. If any rejected applicant could be recalled at the end, the manager would simply interview everyone and hire the best, succeeding every time. Real situations fall between the two: an apartment may be gone tomorrow, a job candidate may still be available for a week.

Good enough instead of best

The classical goal, the best or nothing, is harsh. A manager who would be happy with anyone in the top ten faces a different problem. Even the unmodified 37 percent rule, which isn’t designed for that goal, landed a top-ten hire in about 63 percent of all rounds, counting the empty ones as failures. A second simulation tried other cutoffs with the top-ten goal in mind. Rejecting only the first 14 applicants and then hiring the next one who beats all of them landed a top-ten hire 80.3 percent of the time, against 62.7 percent for the 37 percent cutoff. A looser goal rewards committing much earlier, because a long benchmark phase mainly protects against settling for second-best, and second-best is now a success.

Unknown numbers

The classical problem assumes the total number of applicants is known. In dating, house hunting and many hiring searches, nobody knows how many options are coming. Variants that handle an unknown total exist, and they generally call for a different stopping rule than a fixed 37 percent.

A set of keys

What the numbers say about using it

Where it fits

The rule is the right answer to a precise question: one chance, a known number of options, only relative comparisons, and the best or nothing. When those conditions hold, no strategy does better than about 37 percent.

Where it doesn’t

Real decisions often break at least one assumption. A known scale lifts the best achievable success rate to 58 percent. A goal of “very good” changes the cutoff. The option to go back changes everything. And under any version, a strategy that ends with nobody more than a third of the time is a strategy most people would want to modify before using.

Sources

  • Thomas S. Ferguson, “Optimal Stopping and Applications,” Chapter 2, University of California, Los Angeles: https://www.math.ucla.edu/~tom/Stopping/sr2.pdf

719 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *