Quantifying the contact area and force applied by an atomic force microscope (AFM) probe tip to a sample surface enables nanoscale mechanical property determination. Best practices to implement AFM cantilever-based nanoindentation in air or fluid on soft and hard samples to measure elastic modulus or other nanomechanical properties are discussed.