Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

3D Printing Guides Skip This Step: Bed Mesh Calibration

· 7 min read · Home Networking

In this article
  1. What Is Bed Mesh Calibration?
  2. Why Do Most Guides Skip This Step?
  3. How Bed Mesh Calibration Works
  4. How to Do Bed Mesh Calibration (General Steps)
  5. Common Problems and Misconceptions
  6. Comparing Bed Mesh Calibration Methods
  7. Costs, Safety, and Alternatives
  8. Frequently Asked Questions

The step that most 3D printing guides skip is bed mesh calibration—the process of measuring and compensating for the fact that your print bed is not perfectly flat. Without it, even a perfectly leveled bed can produce failed prints, poor first layers, and wasted filament.

What Is Bed Mesh Calibration?

Bed mesh calibration is the process of probing multiple points across your print bed to create a digital map of its surface. This map is then used by the printer's firmware to adjust the nozzle height during the first few layers, so that the nozzle follows the actual contours of the bed rather than assuming it is perfectly flat.

Most 3D printers have a bed that is slightly warped or uneven—this is normal, even on expensive machines. A glass bed may have a slight bow, a magnetic flexible bed may have dips where it sits on the heater, and a machined aluminum bed can still have microscopic variations. Bed mesh calibration compensates for these imperfections.

Why Do Most Guides Skip This Step?

Many beginner guides focus on the basics: leveling the bed with a piece of paper, setting the Z-offset, and printing a test cube. They often assume that once the bed is level, the printer is ready. But leveling only ensures that the nozzle is the same distance from the bed at the corners—it does nothing to address the middle of the bed being higher or lower.

There are a few reasons this step gets skipped:

  • It's seen as advanced: Bed mesh calibration is often grouped with firmware tweaks and considered something for experienced users.
  • It requires firmware support: Not all printers have a bed probe (BLTouch, inductive sensor, etc.) or the firmware option to store a mesh.
  • It's an extra step: Guides want to get you printing quickly, and adding a calibration routine makes the process longer.
  • It's printer-specific: The exact steps vary by firmware (Marlin, Klipper, Prusa) and by printer model, so a generic guide can't easily cover it.

But skipping it is a mistake. Even a bed that looks flat can have a variation of 0.2 mm or more across its surface, which is enough to cause poor adhesion or an uneven first layer.

How Bed Mesh Calibration Works

Bed mesh calibration uses a probe—either a dedicated sensor like a BLTouch or the nozzle itself (with a strain gauge or piezo sensor)—to measure the bed height at multiple points. The printer moves the probe to each point, records the height, and stores the data as a grid.

For example, a 3x3 mesh measures 9 points, a 5x5 mesh measures 25 points, and some printers allow up to 10x10 or more. More points mean a more accurate map, but also longer calibration time. The firmware then interpolates between these points to estimate the bed height at any nozzle position.

When printing, the firmware adjusts the Z-axis motor movements to compensate for the bed's unevenness. This is especially important for the first layer, where the nozzle must be at the correct distance to extrude filament that sticks well without being squished too thin.

How to Do Bed Mesh Calibration (General Steps)

The exact steps depend on your printer and firmware, but the general process is:

  1. Heat the bed to your normal printing temperature (e.g., 60°C for PLA) and allow it to soak for a few minutes. Thermal expansion can change the bed's shape.
  2. Home all axes.
  3. Start the bed mesh calibration routine from the printer's menu (often called "Bed Leveling" or "Mesh Bed Leveling") or via a command like G29 in Marlin.
  4. The printer will probe the bed at multiple points. This takes a minute or two.
  5. Save the mesh to EEPROM (usually with M500 in Marlin, or through the Klipper config).
  6. Add a command to your start G-code to load the mesh (e.g., M420 S1 in Marlin) or to run the calibration each print (e.g., G29).

If your printer does not have a probe, you can still create a manual mesh using the paper method at multiple points, but it's less accurate and more tedious.

Common Problems and Misconceptions

One common misconception is that bed mesh calibration is the same as bed leveling. They are different: leveling sets the nozzle distance at the corners, while mesh calibration compensates for the bed's shape. You still need to level the bed first—mesh calibration cannot fix a bed that is tilted or has the nozzle too far away at all points.

Another issue is that people forget to re-calibrate after changing the bed surface or nozzle. A new glass plate or a different type of build surface can change the bed's profile, so you need to re-run the calibration.

Some users also find that their mesh is not being used during prints. This is often because the start G-code does not include M420 S1 (to enable the mesh) or because the printer's firmware resets the mesh after a reboot. Always check that the mesh is loaded and active.

Finally, a mesh calibration is only as good as the probe's accuracy. If the probe is loose, dirty, or malfunctioning, the mesh will be wrong. Regular maintenance of the probe is important.

Comparing Bed Mesh Calibration Methods

There are several ways to calibrate a bed mesh:

  • Automatic with a probe: The most common and most accurate. A BLTouch, inductive sensor, or other probe measures the bed automatically. This is fast and repeatable.
  • Manual mesh: The printer moves the nozzle to each point, and you adjust the Z-offset with a piece of paper or a feeler gauge. This is time-consuming but works on printers without a probe.
  • Software-based (e.g., Klipper's "Bed Mesh"): Klipper can create a mesh using a probe or even using the nozzle as a sensor. It stores the mesh in its config file and applies it automatically.
  • Visual first-layer calibration: Some users skip the mesh and just adjust the Z-offset by looking at the first layer. This is not a mesh and does not compensate for bed shape, but it can be enough for very flat beds.

The best method for you depends on your printer and how much time you want to spend. For most users, an automatic probe is worth the investment.

Costs, Safety, and Alternatives

Adding a bed probe like a BLTouch costs around $40–$60, and many printers now come with one pre-installed. If your printer does not have a probe, you can still do a manual mesh, which costs nothing but time.

Safety is not a major concern with bed mesh calibration, but always ensure the probe is wired correctly and that the firmware is set up properly. A faulty probe could cause the nozzle to crash into the bed, so double-check the wiring and the Z-offset before running a full calibration.

Alternatives to bed mesh calibration include:

  • Using a very flat bed surface: A thick cast aluminum tooling plate or a precision ground glass plate can be flat enough that mesh calibration is unnecessary.
  • Adjusting the bed screws with a dial indicator: You can manually level the bed to within 0.05 mm across the surface, which is good enough for many prints.
  • Using a flexible build plate that conforms to the bed: Some flexible plates can mask small imperfections, but they cannot fix a badly warped bed.

In the end, bed mesh calibration is the most reliable way to get a perfect first layer on a printer with an uneven bed.

Frequently Asked Questions

Do I need bed mesh calibration if my bed is level?

Yes, because leveling only checks the corners. A bed can be level (the nozzle is the same distance at all four corners) but still have a dip or bump in the middle. Mesh calibration catches those variations.

How often should I redo bed mesh calibration?

Re-run it whenever you change the build surface, replace the nozzle, or notice first-layer issues. Also, if your printer is moved or the bed is removed and reinstalled, it's a good idea to re-calibrate. Some users do it before every print, but that's usually unnecessary unless you have a very unstable printer.

What is the difference between G29 and M420 S1?

In Marlin firmware, G29 runs the bed mesh calibration immediately, while M420 S1 loads a previously saved mesh and enables it. You can use G29 in your start G-code to calibrate before every print, or use M420 S1 to use a saved mesh for faster start times.

Can I do bed mesh calibration without a probe?

Yes, many firmwares support a manual mesh. The printer moves to each point, and you adjust the Z-offset using a piece of paper or a feeler gauge. It's slower and less precise, but it works.

My mesh is saved, but the printer doesn't use it. Why?

Make sure your start G-code includes M420 S1 (or the equivalent for your firmware) after the G28 home command. Some firmwares reset the mesh after homing, so you need to re-enable it. Also, check that the mesh was saved to EEPROM with M500.

Does bed mesh calibration fix a tilted bed?

No, mesh calibration only compensates for surface unevenness, not for a bed that is tilted relative to the X/Y plane. You must first level the bed (tram it) so that the plane is perpendicular to the Z-axis. Then mesh calibration handles the fine details.