G-code reference

G95: Feed per revolution

G95 is feed per revolution. F is read per spindle revolution. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G95 does

G95 makes F a distance per spindle revolution, so the feed follows the spindle speed. It is used on mills for some drilling and tapping. Switching modes without changing F is a common mistake: F300 per minute becomes 300 mm per revolution.

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

G95 example

G95 G01 Z-10. F0.1

Feed 0.1 mm per revolution.

WordWhat it means here
G95Feed per revolution
G01Linear interpolation (feed move)
Z-10.Z axis target or depth
F0.1feed rate (on threading codes, the lead)

Codes people confuse with G95

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

Other codes in the feed mode group

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

  • G93 Inverse time feed
  • G94 Feed per minute

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

  1. What does G95 do? (Mill)

  2. Which code: F is read per spindle revolution.(Mill)

  3. What does G94 do? (Mill)

Show the answers
  1. F is read per spindle revolution.
  2. G95
  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 G95 mean in CNC programming?
Feed per revolution. F is read per spindle revolution.
Is G95 modal?
Yes. G95 belongs to the feed mode group and stays active until another code from that group is programmed.
What is the difference between G95 and G94?
G95 (feed per revolution): f is read per spindle revolution. G94 (feed per minute): f is read in mm (or inches) per minute.

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