G90 vs G91 (Absolute vs Incremental)

G90 and G91 set how coordinates are read. In absolute mode every position is measured from part zero; in incremental mode every position is measured from where the tool is right now. Mixing them up is a common cause of crashes.

Mode Coordinates measured from G01 X1.0 means
G90 Part zero (work offset) Go to X = 1.0
G91 Current tool position Move +1.0 in X from here

When to use each

  • G90 absolute is the default for most programs and the safest for general positioning.
  • G91 incremental shines for repeated patterns and subprograms, where the same relative move repeats.
  • Set the mode explicitly at the top of the program and reset it after any incremental block.
G90 G01 X1.0 Y1.0 (absolute target)
G91 X0.5 (step 0.5 further)

Related: work offsets and the G-Code Cheat Sheet.

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.