G-code reference

G44 G-Code: Tool Length Compensation (−)

Tool Length Compensation (−) — Subtracts the H value from Z. It is rarely used today; nearly all shops measure positive tool lengths with G43.

By cnccode · Updated
PropertyValue
CodeG44
FunctionTool Length Compensation (−)
Modal group08
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG44 H_ Z_

What does G44 do?

Subtracts the H value from Z. It is rarely used today; nearly all shops measure positive tool lengths with G43.

G44 is modal: once programmed it remains in effect for the following blocks until another code from modal group 08 replaces it or the control is reset.

Syntax and parameters

Format
G44 H_ Z_
AddressMeaning
HOffset register

G44 example program

Example
G44 H01 Z50.0

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Using G44 by mistake with positive offsets drives the tool down by twice its length.

Controller compatibility

G44 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G44 modal?
Yes. G44 belongs to modal group 08 and stays active until another code of that group is programmed.
What does G44 mean in CNC?
G44 means Tool Length Compensation (−). Subtracts the H value from Z. It is rarely used today; nearly all shops measure positive tool lengths with G43.
What is the difference between G44 and G43?
G44 is Tool Length Compensation (−), while G43 is Tool Length Compensation (+). See the G43 page for its syntax and examples.
Can I use G44 on a lathe?
Usually not with the same meaning: G44 is documented here for milling machines. Check your control manual for the equivalent.