To dump out dimensions in defined units - the layouts package e.g.:
\usepackage{layouts}
\printinunitsof{cm}
\prntlen{\textwidth}
To dump out dimensions in defined units - the layouts package e.g.:
\usepackage{layouts}
\printinunitsof{cm}
\prntlen{\textwidth}