Abstract: Apparatuses and methods for calibrating a 3D printer are disclosed. A 3D printer toolhead may include mechanisms for detecting when a portion of the toolhead comes into contact with a build surface. A process for detecting the distance from the toolhead to the build surface is disclosed using these mechanisms. A further method of calibrating a 3D printer by measuring a plurality of points on a build surface is also disclosed.