G-code reference

G95 G-Code: Feed per Revolution (Mill)

Feed per Revolution (Mill) — F is in mm per spindle revolution. It is useful for drilling and tapping because the feed scales with RPM.

By cnccode · Updated
PropertyValue
CodeG95
FunctionFeed per Revolution (Mill)
Modal group05
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG95

What does G95 do?

F is in mm per spindle revolution. It is useful for drilling and tapping because the feed scales with RPM.

G95 is modal: once programmed it remains in effect for the following blocks until another code from modal group 05 replaces it or the control is reset.

Syntax and parameters

Format
G95

G95 example program

Example
G95 G01 Z-10.0 F0.15 (0.15 mm/rev)
G94

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Forgetting to switch back to G94 makes the next F value enormous or tiny.

Controller compatibility

G95 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G95 modal?
Yes. G95 belongs to modal group 05 and stays active until another code of that group is programmed.
What does G95 mean in CNC?
G95 means Feed per Revolution (Mill). F is in mm per spindle revolution. It is useful for drilling and tapping because the feed scales with RPM.
What is the difference between G95 and G94?
G95 is Feed per Revolution (Mill), while G94 is Feed per Minute (Mill) / Facing Cycle (Lathe). See the G94 page for its syntax and examples.
Can I use G95 on a lathe?
Usually not with the same meaning: G95 is documented here for milling machines. Check your control manual for the equivalent.