G-code reference

G93: Inverse time feed

G93 is inverse time feed. F is 1 divided by the time the move should take, in minutes. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G93 does

G93 turns F into a time instead of a speed: F2. means finish this move in half a minute. Every feed move in G93 needs its own F. It is used for moves that combine linear and rotary axes, where a feed in mm per minute has no clear meaning, so CAM uses it on 4- and 5-axis work. G94 returns to feed per minute.

TypeG-code
MachineMill
GroupFeed mode
ModalYes: stays active until replaced by another code from the same group

G93 example

G93 G01 X20. A90. F4.

Move X and rotate A so the move takes a quarter of a minute (15 seconds).

WordWhat it means here
G93Inverse time feed
G01Linear interpolation (feed move)
X20.X axis target (on a lathe, the diameter)
A90.an argument passed to a macro, or the A rotary axis
F4.feed rate (on threading codes, the lead)

Codes people confuse with G93

CodeWhat it does instead
G94 Feed per minute. F is read in mm (or inches) per minute.
G95 Feed per revolution. F is read per spindle revolution.

Memory hook: After G93 always look for G94 before the next ordinary feed move; a leftover G93 reads F400. as 0.15 seconds.

Other codes in the feed mode group

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

  • G94 Feed per minute
  • G95 Feed per revolution

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

  1. What does G93 do? (Mill)

  2. Which code: F is 1 divided by the time the move should take, in minutes.(Mill)

  3. What does G94 do? (Mill)

Show the answers
  1. F is 1 divided by the time the move should take, in minutes.
  2. G93
  3. F is read in mm (or inches) per minute.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G93 mean in CNC programming?
Inverse time feed. F is 1 divided by the time the move should take, in minutes.
Is G93 modal?
Yes. G93 belongs to the feed mode group and stays active until another code from that group is programmed.
What is the difference between G93 and G94?
G93 (inverse time feed): f is 1 divided by the time the move should take, in minutes. G94 (feed per minute): f is read in mm (or inches) per minute. A way to remember it: after G93 always look for G94 before the next ordinary feed move; a leftover G93 reads F400. as 0.15 seconds.
What is the difference between G93 and G95?
G93 (inverse time feed): f is 1 divided by the time the move should take, in minutes. G95 (feed per revolution): f is read per spindle revolution. A way to remember it: after G93 always look for G94 before the next ordinary feed move; a leftover G93 reads F400. as 0.15 seconds.

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