For a first-order all-pass:

The phase is given by:

[ \phi(\omega) = -2\omega - 2 \arctan\left( \fraca_1 \sin \omega + a_2 \sin 2\omega1 + a_1 \cos \omega + a_2 \cos 2\omega \right) ]