kapy academy

Bed probing and Z offset

15 min readUpdated Nov 2026

Your printer has to hold the nozzle tip 0.20 mm above the plate across the whole surface, and keep it there while the bed heats up and warps. It cannot trust its own mechanics, so it measures: a probe touches off the plate before the print and the firmware corrects based on what it finds. It corrects in three different ways, and most bad first-layer advice comes from mixing them up.

Three different corrections

With a 0.4 mm nozzle, the first layer is 0.20 mm tall. An error of 0.05 mm is a quarter of that layer, and it is enough to turn a well-squished bead into a round one that does not stick. A home-printer bed is rarely flat to 0.05 mm over 250 mm, and even one that is flat when cold stops being flat once it heats up.

What the probe measures gets corrected in three ways:

  1. Tilt. The bed plane is not parallel to the XY plane the nozzle travels in. The fix is mechanical: the bed screws, or several Z motors that the firmware drives separately until both ends match.
  2. Mesh. The bed is not a plane: it is bowed, dips in the middle or has one high corner. The fix is in software: the firmware raises and lowers the Z axis during the print.
  3. Z offset. The absolute distance between the nozzle tip and the surface at the reference point: a single number.

"Auto bed leveling" is almost always a misleading name. On most machines the firmware levels nothing: it measures the plate and compensates for its shape with the mesh. Only machines with several independent Z motors truly level themselves, correcting the tilt without your help. In Klipper that is the job of Z_TILT_ADJUST (a bed on two or three lead screws) and QUAD_GANTRY_LEVEL (a gantry on four motors). The Creality K2 Plus, for instance, drives its two Z motors separately to correct the tilt before probing. Bedslingers with two Z motors on the gantry, such as the Prusa MK4S, square it by pushing it against the top stops of the Z axis. On a machine with a single Z motor nothing corrects the tilt as a separate step: the mesh absorbs it as one more slope, which works as long as the tilt stays small. The Z-axis mechanics are covered in Rails, belts and motors.

Nozzle XY planeZ screws or motorsTiltFadeNozzle pathProbed pointsZ scale ×50MeshZ offset0.20 mm first layerZ offset
Three different errors and three different corrections. Tilt is fixed with the Z motors or screws; shape, with the mesh, which fades out over the first few millimeters; and absolute height, with a single number, the Z offset.

Probe types and what each one measures

Every probe answers the same question: at what Z height does something happen? What that "something" is decides what the probe measures and, with it, who owns the Z offset.

ForceNozzle contactFieldEddy currentInductiveX offsetMechanical pinCoatingSteel sheetBedProbe zeroGap to the nozzle
Only the nozzle-contact probe puts its zero on the coating and right under the tip. Eddy-current and inductive probes put it on the metal underneath, and the pin probe, although it touches the coating, sits offset from the nozzle: all three need a stored Z offset.

Nozzle contact. The nozzle itself presses on the plate and a sensor in the toolhead, or under the bed, registers the contact. As of late 2026, it is used by machines such as the Prusa MK4S, CORE One and XL, with a load cell in the hotend heatsink; the Creality K2 Plus, with a strain gauge in the toolhead; the Bambu X1C and P1S, with force sensors under the bed; and the Bambu A1, where the nozzle doubles as the probe. On the P2S and H2D, Bambu detects that touch with an eddy-current sensor mounted in the toolhead: the sensor physics is eddy current, but what it measures is the small displacement of the nozzle as it touches the bed, not the distance to the metal.

Its advantage is that it measures where the nozzle really is: a new nozzle, a different plate or a thicker coating gets measured, not assumed. Because it probes with the nozzle itself, there is no X/Y offset to configure. The price is a clean tip and a nozzle that does not ooze. A blob or a stiff strand of PETG touches the plate before the metal does, and the sensor registers contact too early. That is why Prusa cools the nozzle to about 170 °C before probing the pre-print mesh; that is Prusa's routine, not a general rule.

Eddy current. It is a coil whose resonant frequency rises as it nears conductive metal; the firmware converts that frequency into a distance. Since it never touches the plate, it can sweep it without stopping: meshes of hundreds or thousands of points in seconds, compared with a 5 × 5 to 7 × 7 grid probed point by point. Sensors such as the Beacon or the Cartographer are the benchmark on Klipper machines.

It has two weaknesses. It sees the metal, the steel sheet or aluminum bed underneath, not the coating: it does not notice a plate of a different thickness. And its reading drifts with the temperature of the coil, the bed and nearby metal, so it needs thermal compensation or a contact reference. Current sensors solve both at once: as well as sweeping, they detect the nozzle touching the plate (Klipper's tap method, Beacon Contact, Cartographer with its touch mode) and measure the Z offset by contact.

Inductive. The predecessor of the eddy-current probe: a switch that triggers at a fixed distance from the metal, like the SuperPINDA on the Prusa MK3S+ or the one on many modded Ender 3s. It has the same blind spot for the coating, and its trigger height moves with temperature. That is why Prusa's PINDA v2 carried a thermistor and a thermal calibration, and the SuperPINDA was designed to drift less. That blind spot is why older Prusas store a Z offset in each sheet profile. Over aluminum, its trigger distance is shorter than over steel.

Mechanical pin (BLTouch, CR Touch). A retractable pin touches the plate. It works on any surface, glass and garolite included. The trade-off: it is slower and sits a fixed distance from the nozzle in X/Y and in Z. It is the usual upgrade on legacy bedslingers.

Lidar or optical. On Bambu's X1 line, the micro lidar is not the bed probe: it reads the printed first layer and the flow calibration lines, and the leveling is done by the force sensors. The lidar is there to inspect, not as a Z reference. That inspection role is covered in Sensors, cameras and failure detection.

Probe types
Probe What it touches or sees Sees the coating? Thermal drift Who sets the Z offset Typical machines
Nozzle contact (load cell, strain gauge, eddy-current sensor in the toolhead) The surface, with the tip Yes Little; needs a clean tip and no oozing The machine, every print Prusa MK4S, CORE One, XL; Creality K2 Plus; Bambu A1, P1S, X1C, P2S, H2D
Proximity eddy current The metal underneath, without touching No Yes; needs compensation You, once (the machine, if it has a touch mode) Klipper with Beacon or Cartographer
Inductive The metal, at a trigger distance No Yes You, once per plate Prusa MK3S+, modded Ender 3s
Mechanical pin The surface, with the pin Yes, from a point offset from the nozzle Little You, once Legacy bedslingers with a BLTouch or CR Touch
Lidar The printed first layer Yes — Not the reference Bambu X1 line, for inspection

The mesh: what it corrects and what it does not

The probe measures a grid of points, the firmware interpolates between them and adds the local height to Z during the print. A probe that works point by point usually measures 5 × 5 to 7 × 7 points on a desktop bed; an eddy-current probe, with its sweep, hundreds or more. Between points the mesh only interpolates: a bump smaller than the grid spacing goes unnoticed.

Adaptive mesh. It probes only the area the part will cover, more densely and in less time. Klipper has it built in (BED_MESH_CALIBRATE ADAPTIVE=1, which needs the slicer to label objects for exclude_object), and OrcaSlicer and Bambu Studio have equivalent options on supported machines. It cuts a routine of several minutes to half a minute, so there is no longer a reason to skip it.

Fade. The firmware tapers the correction to zero over the first few millimeters of height, so the top face comes out flat and square to the Z axis instead of copying the bow of the bed. In Klipper it is fade_end; in Marlin, "Z fade height". You see it on large parts: the base copies the bed and the top face does not.

Measure hot. The bed and the gantry expand, and a mesh taken cold stops being valid with the bed at 60–110 °C. That is why current routines probe at printing temperature, and before a large ABS or PC part it pays to give the machine a few minutes of heat soak so it settles thermally. Eddy-current probes add their own drift on top.

What the mesh does not fix:

  • Dirt or grease: that is an adhesion problem, not a height problem.
  • A crumb or blob under the plate: a sharp bump, narrower than the grid spacing.
  • A plate that is not seated properly on its locating pins.
  • A gantry that twists along X, if the probe is offset from the nozzle: it measures the height at a different point from the one being printed. Klipper corrects it with axis_twist_compensation; a nozzle-contact probe does not suffer from this error.
  • A bed with play: loose wheels or eccentric nuts on a bedslinger.

All of that is fixed in the mechanics, not in the firmware: see Bed and motion upkeep and Rails, belts and motors.

When to probe again. On a current machine, every print: it is part of the start routine and switching it off to save a minute is not worth it. And always after moving the printer, changing the plate or touching the bed mechanics. A stored mesh describes a machine that has already changed.

The Z offset: yours or the machine's?

The Z offset is the difference between the zero the probe reports and the real height of the nozzle tip above the surface. With a contact probe the two coincide: the Z offset is measured every print and only a small trim per material or plate is left. Prusa states as much for its load-cell machines: there is no need to calibrate the first layer by hand, use sheet profiles or recalibrate after changing the nozzle or plate. With proximity eddy-current, inductive and pin probes there is a fixed physical gap between the probe's trigger point and the tip. There the Z offset is a stored number that you set by hand, and redo after changing the nozzle, rebuilding the hotend, removing the probe or switching to a plate of a different thickness.

diagram
The question that decides who sets the Z offset is whether the nozzle itself touches the plate. If it does, the machine measures it every print; if not, it is a stored number you redo with every change of nozzle, probe or plate.

Even with an automatic Z offset, a fine trim remains. The ideal squish varies with the material: PETG is usually printed slightly higher so it does not bond too hard or get dragged by the nozzle. It also changes between smooth and textured plates, and with a worn coating. You trim it in steps of 0.01–0.02 mm, and in Marlin, Klipper and Prusa firmware a more negative value brings the nozzle closer to the plate. Where that trim lives: "Live Adjust Z" on Prusa, baby-stepping or SET_GCODE_OFFSET in Klipper and Marlin, and a "Z offset" field in OrcaSlicer's printer profile. Bambu does not expose a classic Z offset in its slicer; if you need one, the usual route is to edit the printer's start G-code or use the OrcaSlicer field. Check on your model and firmware whether the screen offers any live adjustment. How to judge the squish during the print is covered in The first layer and bed adhesion.

The paper test. A sheet of 80 g/m² paper is about 0.1 mm thick. Sliding it under the nozzle until you feel a slight drag puts the Z offset within a few hundredths of the right value on a legacy bedslinger or a self-built Klipper machine, and Klipper's eddy-current probe calibration starts with this same move. It is a starting point: the printed pattern has the final say. On a current machine it is no longer the usual method.

Dual-nozzle machines and toolchangers add a Z offset per tool, on top of the X/Y offset. The H2D measures it on its own with its eddy-current sensor in about 70 s; on Prusa's INDX the load cell sits in the toolhead, so every tool is probed with the same sensor. The details are in Toolchangers, IDEX and dual nozzles.

When it fails

Before blaming the probe, measure its repeatability: PROBE_ACCURACY in Klipper or M48 in Marlin probe the same point about ten times and give you the spread. If the readings wander, the problem is in the probe or its mount; if they are steady, look in the table.

Symptom, cause and fix
Symptom Cause Fix
First layer too high or not sticking, sometimes only in one area (contact probe) Plastic or PETG on the tip touching the plate before the metal does Clean the tip, check the machine's wiper and let the nozzle drop to its probing temperature
The nozzle plows the plate Fine trim too negative or, on a non-contact probe, a plate thicker than the one chosen in the slicer Raise the trim in steps of 0.01–0.02 mm; choose the right plate
The first layer changes from one print to the next or drifts during the print (proximity eddy current, inductive) Thermal drift of the probe Probe at printing temperature after a few minutes of heat soak; enable thermal compensation if the firmware has it
A new plate prints too high or too low (inductive, proximity eddy current) The probe does not see the coating thickness Store a Z offset per plate
One corner always comes out wrong even with a fresh mesh A bump smaller than the grid spacing, a crumb under the plate or mechanical play Clean under the plate, use a denser or adaptive mesh, check wheels and rails
On glass, garolite or a thick non-metallic plate the nozzle crashes or prints high (inductive, proximity eddy current) The probe reads the metal underneath and does not see the plate thickness; an inductive probe may be out of range and never trigger Set the Z offset for that plate, use a contact probe or the manufacturer's plate
After a nozzle change the first layer goes wrong (non-contact probe) The Z offset has not been redone Recalibrate the Z offset

See also

Design it in KapyCAD

Design parts sized for your printer and your nozzle.

Free plan, no card. Runs in your browser, nothing to install.

Open the editor

Still have a question?