Cross measurements of surface relief of nanometer dimensions using atomic-force microscopy and optical interferometry methods are described. The investigations enable the regions where it is best to use these methods for different kinds of objects to be determined.