G-code reference

G03 G-Code: Circular Interpolation Counter-Clockwise

Circular Interpolation Counter-Clockwise — Cuts a counter-clockwise arc in the active plane. It uses the same I/J/K or R format as G02. With climb milling an inside pocket with a right-hand cutter, the…

By cnccode · Updated
PropertyValue
CodeG03
FunctionCircular Interpolation Counter-Clockwise
Modal group01
TypeModal — stays active until replaced by another code of the same group
Used onMills and lathes
SyntaxG03 X_ Y_ I_ J_ F_ or G03 X_ Y_ R_ F_

What does G03 do?

Cuts a counter-clockwise arc in the active plane. It uses the same I/J/K or R format as G02. With climb milling an inside pocket with a right-hand cutter, the tool normally travels counter-clockwise (G03).

G03 is modal: once programmed it remains in effect for the following blocks until another code from modal group 01 replaces it or the control is reset.

Syntax and parameters

Format
G03 X_ Y_ I_ J_ F_  or  G03 X_ Y_ R_ F_
AddressMeaning
X Y ZArc end point
I J KCentre offset from start point
RRadius
FFeed rate

G03 example program

Example
G01 X20.0 Y0 F500.
G03 X0 Y20.0 R20.0
G03 X-20.0 Y0 I0 J-20.0

▶ Open this example in the G-code viewer

Tips and common mistakes

  • For a helical interpolation add Z: G03 X.. Y.. Z-1.0 I.. J..
  • In G18 (lathe XZ plane) the direction depends on whether the turret is in front of or behind the spindle.
  • Check the I/J sign: it points from the start point toward the centre.

Controller compatibility

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

Frequently asked questions

Is G03 modal?
Yes. G03 belongs to modal group 01 and stays active until another code of that group is programmed.
What does G03 mean in CNC?
G03 means Circular Interpolation Counter-Clockwise. Cuts a counter-clockwise arc in the active plane. It uses the same I/J/K or R format as G02. With climb milling an inside pocket with a right-hand cutter, the tool normally travels counter-clockwise (G03).
What is the difference between G03 and G02?
G03 is Circular Interpolation Counter-Clockwise, while G02 is Circular Interpolation Clockwise. See the G02 page for its syntax and examples.
Can I use G03 on a lathe?
Yes, G03 is used on both mills and lathes, although some parameters differ between them.