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.
| Property | Value |
|---|---|
| Code | G44 |
| Function | Tool Length Compensation (−) |
| Modal group | 08 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G44 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
G44 H_ Z_| Address | Meaning |
|---|---|
H | Offset register |
G44 example program
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.