Z-Offset First Layer Calibration Calculator
Calculate Z-offset adjustments for 3D printer first layer adhesion.
Convert offset values between steps, mm, and layer height percentages for any printer.
Z-offset is the distance (in millimeters) between the printer’s nozzle tip and the print bed surface when the printer reports it is at “home” (Z = 0). Get this wrong and nothing else you tune matters, because it directly controls how well the first layer sticks.
Too high (offset not negative enough): The nozzle is too far from the bed. Filament drops onto the surface without squishing into it. First layer strings have round cross-sections instead of flat ones. The print either falls off mid-way or has very poor inter-layer adhesion.
Too low (nozzle too close to bed): The nozzle scrapes or drags against the bed. Filament has no room to flow, causing under-extrusion in the first layer or complete blockage. Can scratch glass, PEI, and other surfaces.
The paper test: Slide a standard sheet of paper (about 0.1 mm thick) between the nozzle and the bed while at printing temperature. You want slight resistance: the paper still slides, but it is gripped. This gets you close in thirty seconds, and it is close enough to start a calibration print.
It is not precise, though, and that is worth being honest about. Paper thickness varies from 0.08 to 0.12 mm between reams, and how hard you press changes the reading by more than the difference between a good first layer and a bad one. Use it to get in the ballpark, then measure a printed square with calipers.
First layer target: For good adhesion, the first layer should be squished to roughly 75 to 90% of the nominal layer height. A 0.2 mm layer should measure about 0.15 to 0.18 mm tall, with visible flattening on each extrusion line.
Measure it, do not eyeball it. Print a single-layer square 40 mm on a side, let it cool, and measure the middle with digital calipers. That number, against your nominal layer height, is the only honest reading of whether the offset is right. Enter it below and the calculator will tell you exactly how far to move.
Negative Z-offset values: Most modern printers store a negative Z-offset (e.g., -1.35 mm). This means: when the endstop triggers, the nozzle is still 1.35 mm above the bed. The printer moves 1.35 mm further down to reach the actual bed surface. A larger negative number brings the nozzle closer. A smaller negative number (closer to zero) raises the nozzle.
Adjustment increments: For subtle tuning during printing (babystepping), adjust in 0.01 to 0.025 mm increments. For initial setup, 0.05 to 0.1 mm steps are about right. Anything bigger than 0.1 mm on a 0.2 mm layer is over half the layer, so it will overshoot from “too high” straight past correct to “grinding on the bed”.
Live adjustment (babystepping): Most modern firmware (Marlin, Klipper) allows adjusting Z-offset during printing by small increments. Use this to fine-tune while watching the first layer lay down in real time. The ideal first layer should look like a slightly flattened ribbon, with each line touching its neighbors.
Z-offset vs. bed leveling: Bed leveling (mesh compensation) corrects for a bed that is not perfectly flat across its surface. Z-offset sets the global height of the nozzle above the entire bed. Both are needed for perfect first layers.
Typical Z-offset range: Values between -5 mm and +5 mm cover nearly all printers. Most printers with probe sensors have offsets in the -0.5 mm to -3 mm range.
How we build and check this calculator
This calculator runs entirely in your browser, so the numbers you enter stay on your device. The math behind it is written by hand and tested against worked examples and standard references before the page goes live.
SuperGlobalCalculator is independently built and maintained. See how we build and verify our calculators.
More 3D Printing Calculators
- Bridging Distance Calculator
- Filament Drying Time Calculator
- 3D Print Retraction Settings Calculator
- 3D Print Warping Risk Calculator
- 3D Printing Material Cost Calculator
- Infill Calculator
- Resin 3D Print Volume Calculator
- Support Material Calculator
- Filament Cost Calculator
- Nozzle Flow Rate Calculator