G-code reference

G03: Circular interpolation, counterclockwise

G03 is circular interpolation, counterclockwise. Cuts an arc counterclockwise. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G03 does

G03 is the counterclockwise twin of G02. It takes the same R or I, J, K words. Swapping G02 and G03 cuts the arc the wrong way round, which on a profile usually means gouging the part.

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

G03 example

G03 X20. Y40. I-10. J0. F200.

Counterclockwise arc, centre 10 mm in -X from the start.

WordWhat it means here
G03Circular interpolation, counterclockwise
X20.X axis target (on a lathe, the diameter)
Y40.Y axis target
I-10.arc centre distance from the start point in X
J0.arc centre distance from the start point in Y
F200.feed rate (on threading codes, the lead)

Codes people confuse with G03

CodeWhat it does instead
G02 Circular interpolation, clockwise. Cuts an arc clockwise, seen from the positive end of the axis normal to the plane.

Memory hook: Three is counter: G03 goes against the clock.

Other codes in the motion group

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

  • G00 Rapid positioning
  • G01 Linear interpolation (feed move)
  • G02 Circular interpolation, clockwise
  • G32 Thread cutting (single pass)

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: G03

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

  2. Which code: Cuts an arc counterclockwise.(Mill and lathe)

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

Show the answers
  1. Cuts an arc counterclockwise.
  2. G03
  3. Cuts an arc clockwise, seen from the positive end of the axis normal to the plane.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G03 mean in CNC programming?
Circular interpolation, counterclockwise. Cuts an arc counterclockwise.
Is G03 modal?
Yes. G03 belongs to the motion group and stays active until another code from that group is programmed.
What is the difference between G03 and G02?
G03 (circular interpolation, counterclockwise): cuts an arc counterclockwise. G02 (circular interpolation, clockwise): cuts an arc clockwise, seen from the positive end of the axis normal to the plane. A way to remember it: three is counter: G03 goes against the clock.

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