First Passage Times
How long a random process takes to first reach a target level — the theory behind stop-losses, barrier options, and default triggers, built from a simple gambler's-ruin picture.
Prerequisites: Brownian Motion, Stopping Times
A trader sets a stop-loss ten ticks below entry. A bond defaults the instant a firm's asset value first drops below its debt. A barrier option knocks out the moment the underlying first touches a strike. All three questions have the same shape: given a random path, when does it first reach a specific level, and how likely is that to happen at all? First passage time theory answers exactly this.
An analogy: the drunk near the cliff edge
Picture someone stumbling randomly left and right, starting ten steps from a cliff edge. You don't care about their whole wandering path — you care about one number: how many steps until they first reach the edge, if they ever do. Some wanderers reach it fast, some wander for ages first, some (if there's a gentle breeze pushing them away from the edge) might never reach it at all. First passage time is the random variable "steps until first arrival," and its distribution captures all of this variability in one object.
The mathematics, one symbol at a time
Let be a Brownian motion (see Brownian Motion) starting at , and fix a level . The first passage time is
read as: the smallest time at which the path first equals . For a driftless Brownian motion, is finite with probability 1 — the path is guaranteed to eventually touch any level — but its expected value is infinite, because occasionally the wait is astronomically long. Its density is the inverse Gaussian:
in words: the chance of first hitting right around time is largest for moderate and tapers off (slowly) for very large — that heavy tail is exactly why the average wait is infinite even though hitting is certain. Add a drift (the path trends toward or away from ) and, if , the expected hitting time becomes finite: — distance divided by speed, just like everyday travel time.
Worked example 1: gambler's ruin with a stop-loss
A trader's P&L moves +$1 or −$1 each tick with equal probability, starting at $0, with a stop-loss at −$5 and a take-profit at +$10. Using the classical gambler's-ruin formula, the probability of hitting the upper barrier before the lower barrier (symmetric random walk) is . So there's roughly a 33% chance the trade hits the profit target before the stop, and 67% it stops out first — despite the two outcomes looking "50/50" on the surface, the asymmetric barrier distances drive the real odds.
Worked example 2: expected time to hit a barrier with drift
A strategy's cumulative P&L behaves like a Brownian motion with drift \mu = \2 per day and needs to first reach \20 to trigger a scale-up rule. Using : days. If the drift were flat (), the same $20 target would still be hit eventually with certainty, but the expected wait would be infinite — a useful reminder that "will happen" and "happens soon" are very different claims.
Drag the drift and volatility above and watch how often, and how quickly, a sample path first crosses a horizontal barrier — zero drift still crosses eventually, but the wait stretches out unpredictably.
What this means in practice
First passage times underpin stop-loss and take-profit sizing, barrier and knock-out option pricing, and structural credit models where default is defined as assets first falling below liabilities. The gambler's-ruin ratio in example 1 is the same logic desks use to size stop distances relative to targets, and the formula in example 2 is why adding drift (an edge) to a strategy shrinks expected time-to-target, not just improves the odds of getting there.
The first passage time is the random moment a process first reaches a level; for driftless Brownian motion it is finite with probability 1 but has infinite expected value, while adding drift makes the expected hitting time finite and equal to distance over drift, .
Don't confuse "hits the level eventually with probability 1" with "hits it soon." A driftless random walk or Brownian motion is certain to eventually cross any barrier, yet the expected time to do so is infinite — there is no meaningful "typical wait" to quote. Only once there's a drift pulling the process toward the barrier does an expected hitting time become a finite, useful number.
Related concepts
Practice in interviews
Further reading
- Karlin & Taylor, A First Course in Stochastic Processes, ch. 7
- Shreve, Stochastic Calculus for Finance II, ch. 3