G00 Command (Rapid Positioning)

G00 moves the tool to a position at the machine maximum traverse rate. It is a positioning move, not a cutting move — use it to get from one place to another quickly, never to cut material.

Format

G00 X__ Y__ Z__

How it works

  • Travels at rapid speed, ignoring any F feed rate.
  • On many controllers the path is not a straight diagonal — axes may move independently, so check clearance.
  • Modal: stays active until another motion code (G01, G02, G03) replaces it.

Example

G00 Z0.1 (rapid to clearance)
G00 X1.0 Y2.0 (rapid over the next feature)

FAQ

Is G00 movement always a straight line between points? Not necessarily. Many controls move each axis at its own maximum rate during G00, which can produce a non-linear path rather than a straight line, so always verify clearance along the full rapid path, not just at the start and end points.

Should coolant be on during a G00 rapid move? Not usually needed since no cutting is happening, though some programs leave it on through rapids simply to keep flushing chips from a previous operation before the next cut begins.

Related: G01 and the G-Code Cheat Sheet.

Avoiding Collisions on Rapid Moves

Because G00 moves at maximum rate and the path between points is not guaranteed to be straight, it is the move most likely to cause a crash on a new or edited program. Running the first cycle in single-block mode, with the rapid override turned down, lets you stop before a collision rather than finding out at full speed.

G00 vs. G28. G00 rapids to a coordinate you specify; G28 sends the machine to its fixed reference (home) position, usually passing through an intermediate point you give first. They are easy to confuse in older code — G28 with no intermediate point can rapid straight through a part or fixture, so always check what reference point a G28 line uses before running unfamiliar code.

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.