The joint density of the total winding and the radius of a planar Brownian motion is calculated, by solving the associated backward equation. An explicit expression for the distribution of the hitting time of an angular barrier is shown; in particular, the behavior of the tail of the distribution is determined.