G-code reference

G41: Cutter compensation left

G41 is cutter compensation left. Offsets the tool to the left of the path, looking in the direction of travel. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G41 does

G41 shifts the tool path to the left by the tool radius stored in the D offset (tool nose radius on a lathe). With a right-hand cutter on a mill, G41 gives climb milling on an outside profile. It needs a lead-in move to turn on before the tool touches the part.

TypeG-code
MachineMill and lathe
GroupCutter compensation
ModalYes: stays active until replaced by another code from the same group

G41 example

G41 D1 G01 X0. Y5. F300.

Turn on left compensation with offset D1 on the lead-in.

WordWhat it means here
G41Cutter compensation left
D1tool radius offset number
G01Linear interpolation (feed move)
X0.X axis target (on a lathe, the diameter)
Y5.Y axis target
F300.feed rate (on threading codes, the lead)

Codes people confuse with G41

CodeWhat it does instead
G42 Cutter compensation right. Offsets the tool to the right of the path.
G43 Tool length compensation +. Applies the tool length offset H so Z positions are measured from the tool tip.

Memory hook: Stand behind the tool facing the way it travels: G41 is on your left.

Other codes in the cutter compensation group

Only one code from a modal group is active at a time. Programming any of these replaces G41.

  • G40 Cutter compensation cancel
  • G42 Cutter compensation right

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G41

  1. What does G41 do? (Mill and lathe)

  2. Which code: Offsets the tool to the left of the path, looking in the direction of travel.(Mill and lathe)

  3. What does G42 do? (Mill and lathe)

Show the answers
  1. Offsets the tool to the left of the path, looking in the direction of travel.
  2. G41
  3. Offsets the tool to the right of the path.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G41 mean in CNC programming?
Cutter compensation left. Offsets the tool to the left of the path, looking in the direction of travel.
Is G41 modal?
Yes. G41 belongs to the cutter compensation group and stays active until another code from that group is programmed.
What is the difference between G41 and G42?
G41 (cutter compensation left): offsets the tool to the left of the path, looking in the direction of travel. G42 (cutter compensation right): offsets the tool to the right of the path. A way to remember it: stand behind the tool facing the way it travels: G41 is on your left.
What is the difference between G41 and G43?
G41 (cutter compensation left): offsets the tool to the left of the path, looking in the direction of travel. G43 (tool length compensation +): applies the tool length offset H so Z positions are measured from the tool tip. A way to remember it: stand behind the tool facing the way it travels: G41 is on your left.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint