A perfectly level (trammed) bed is the foundation of a good first layer. This calculator turns four corner probe readings into concrete instructions: exactly how far to raise each corner and how many turns of each leveling knob that takes. It also reports the bed’s tilt angle so you can spot a warped frame.
How it works
The tool reads the Z height at each corner from your bed mesh or paper test. It finds the lowest corner and treats it as the datum, because bed knobs raise the bed toward the nozzle rather than lower it. The adjustment at every other corner is simply how much higher it needs to be:
adjustment = corner height − lowest corner height
That distance is converted to knob rotations using the screw thread pitch:
turns = adjustment ÷ thread pitch
An M3 knob has a 0.5 mm pitch, so a 0.10 mm correction is 0.10 ÷ 0.5 = 0.2
of a turn. The tilt angles use the average corner heights on each edge and the
bed span: angle = atan2(edge difference, span), reported separately for the
left-right and front-back axes.
Worked example
Suppose probing gives front-left 0.00, front-right 0.08, back-left -0.04,
back-right 0.12 mm on a 220 mm bed with M3 knobs. The lowest corner is
back-left at -0.04, so it becomes the datum. Back-right is 0.12 − (−0.04) = 0.16 mm high, needing 0.16 ÷ 0.5 = 0.32 of a turn to raise it level. The
overall deviation is 0.16 mm — above the 0.05 mm target, so one or two
adjust-and-re-probe cycles are needed.
Tips
Always adjust corners in small steps and re-probe — the corners interact because they share the same bed plate. After tramming mechanically, run your printer’s auto bed mesh to compensate for any residual warp. If a single corner is wildly out of range, check for a bent bed, loose Y carriage, or a sagging gantry rather than chasing it with the knob alone.