Free simulator

Cutter Compensation Simulator — G41, G42, Wear Offsets and Overcut Alarms

Cutter compensation moves the tool away from the contour by the radius in the D offset. Here you see both paths at once, and you can break the rules without breaking a tool.

All contours are programmed so that G41 is the right choice. Try G42 and see why the side matters. A positive wear value leaves material, a negative one removes more.

Radius used by the control–mm (D + wear)
Finished size–mm
Size error–mm
Shortest lead-in–mm
Smallest inside corner–mm radius
Program (Fanuc style, D01 = cutter radius)

How it works

Offset used = radius + wear. Outside size = nominal + 2 × wear. Inside size = nominal − 2 × wear. The control stops with an overcut alarm when an offset block would have to run backwards.

Try these

  1. Set the wear to 0.05. The outside part gets 0.1 mm bigger. Now you know why you enter half the error.
  2. Choose the contour with the 10 mm slot and a 12 mm cutter. The control cannot fit the tool between the walls and gives the alarm.
  3. Switch to G42. The cutter now runs inside the part.
  4. Turn the compensation off with G40: the part becomes one cutter diameter too small.

The rules in detail: G41, G42, G40. The alarm is Fanuc alarm 041.

Embed this calculator on your site

Free for workshops, schools and forums — copy this snippet:

HTML
<iframe src="https://cnccode.com/embed/cutter-compensation-simulator/" width="100%" height="720" style="border:0" loading="lazy" title="G41/G42 Cutter Compensation Simulator"></iframe>

More free CNC tools

Frequently asked questions

Is G41 climb milling?
With a right-hand cutter turning clockwise (M03), yes. G41 puts the tool on the left of the contour in the direction of travel, which gives climb milling outside and inside.
Do I enter the radius or the diameter in D?
It depends on a machine parameter. Many Fanuc machines use the radius, many Haas machines the diameter. Check with a test cut. This simulator uses the radius.
Why does my lead-in move cause an alarm?
The straight lead-in must be longer than the tool radius, must be G00 or G01, and the first contour move should leave at an angle that the tool can follow.
Was this page helpful?