If you are learning CNC programming, linear moves (G01) are easy to understand. You go from point A to point B in a straight line. Simple.
But as soon as you need to cut a curve, a radius, or a full circle, things get a bit tricky. You are introduced to Circular Interpolation, specifically G02 and G03.
A common question I hear from students at Machining Tutor is: "I always mix them up! How do I remember which one is which?"
In this guide, we’ll break down the difference, give you a fool-proof way to remember them, and show you how to write the code using both the Radius (R) method and the Arc Center (I, J) method.
At the most basic level, the difference comes down to the direction of the cutter path:
| G-Code | Direction | Terminology | Memory Trick |
|---|---|---|---|
| G02 | Clockwise | Circular Interpolation CW | Like a standard clock (12 to 3) |
| G03 | Counter-Clockwise | Circular Interpolation CCW | Reverse clock direction |
(Tip: Imagine placing an analog clock face directly on top of your workpiece to visualize the move.)
Pro Tip: This rule applies when looking at the machining plane from the "positive" direction. On a standard 3-axis mill, you are looking down from the spindle (Z-axis). On a lathe, the perspective changes, but the clock logic remains the same relative to the tool's movement.
Knowing the direction is step one. Step two is telling the machine how to cut the arc. There are two ways to do this in G-code.
This is the modern, beginner-friendly method. You simply tell the machine the endpoint and the radius of the arc.
Format:
G02 X[End X] Y[End Y] R[Radius] F[Feedrate]
This is the classic method. Instead of a radius, you tell the machine where the center of the arc is relative to the start point.
Format:
G03 X[End X] Y[End Y] I[X distance] J[Y distance] F[Feedrate]
Let’s say we are cutting a 90-degree corner with a 10mm Radius.
We want to arc "in" towards the part.
Now let's do the opposite curve using arc centers.
Why I-10.0? Because the center of our imaginary circle is 10mm to the left (negative direction) of our start point.
Circular interpolation is just one module in our complete CNC training system. If you want to master G-code from scratch, check out the full curriculum at Machining Tutor.

Machining Tutor is the premier online training platform for future CNC professionals.
We combine immersive, real-world video lessons with 24/7 AI Mentorship and Live 1-on-1 Classes to take you from 'Zero Knowledge' to 'Job-Ready' in record time.
Stop guessing and start mastering G-Code, CAD/CAM, and Machine Setup today.