G01 Command (Linear Feed)

G01 cuts a straight line to the target point at a programmed feed rate. It is the most-used motion command — nearly every actual cut is a G01 move.

Format

G01 X__ Y__ Z__ F__

How it works

  • F sets the feed rate (IPM or mm/min depending on units).
  • Once F is set it stays in effect until changed.
  • Modal: remains active until replaced by G00, G02, or G03.

Example

G01 Z-0.25 F5.0 (plunge to depth)
G01 X2.0 F12.0 (cut along X)

FAQ

What’s the difference between G00 and G01? G00 moves at maximum rapid traverse speed with no controlled feed rate and is meant for non-cutting moves, while G01 moves in a straight line at a programmed feed rate under full control, making it the command used for actual cutting.

Can G01 be used for arcs? No, G01 only produces straight-line motion. Circular motion requires G02 (clockwise) or G03 (counterclockwise), which use additional parameters to define the arc’s center or radius. This keeps straight-line and circular motion cleanly separated in the command set.

Related: G00, G02, G03.

A modal motion

G01 moves in a straight line to the target at the programmed feed rate, and it stays active until another motion command replaces it. The feed rate F is modal too, so it carries over to later moves until changed. All axes in the move arrive at the same moment, which produces a straight line even when more than one axis moves.

Practical tips

Set the feed rate before the first G01 after a rapid move, since a missing F value can cause an alarm or a very slow move. Use slower plunge feeds when entering the material and watch units, because the same F value means inches per minute or millimeters per minute depending on the active unit mode. Remember that G01 never moves at rapid speed, so use G00 for positioning above the part.

Scroll to Top

The calculators and tools on Formula Factory are provided for general guidance and informational purposes only. Results are estimates based on standard formulas and the values you enter — they do not constitute professional engineering, electrical, or architectural advice. Always verify calculations with a qualified professional before making decisions for any safety-critical, code-compliance, or commercial application. Formula Factory makes no representations or warranties as to the accuracy or completeness of any result, and accepts no liability for errors, omissions, or any outcomes arising from reliance on this information.