  In this note, we study the distance from an arbitrary nonzero projection $P$
to the set of nilpotents in a factor $\mathcal{M}$ equipped with a normal
faithful tracial state $\tau$. We prove that the distance equals $(2\cos
\frac{\tau(P)\pi}{1+2\tau(P)})^{-1}$. This is new even in the case where
$\mathcal{M}$ is the matrix algebra. The special case settles a conjecture
posed by Z. Cramer.
