Is there any method to find the Hilbert Class field of quadratic fields? Is there any bound for their dimensions? For example, if $4|d-1$ then $Q(\sqrt{d},i)$ is contained in the Hilbert class field of $Q(\sqrt{-d})$, therefore $Q(\sqrt{-d})$ isn't an UFD.