Theory and design for mechanical measurements