  We find a self-linking number formula for a given null-homologous transverse
link in a contact manifold that is compatible with either an annulus or a pair
of pants open book decomposition. It extends Bennequin's self-linking formula
for a braid in the standard contact $3$-sphere.
