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.
| Property | Value |
|---|---|
| Code | G95 |
| Function | Feed per Revolution (Mill) |
| Modal group | 05 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G95 |
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
G95G95 example program
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.
Related codes
- G94 — Feed per Minute (Mill) / Facing Cycle (Lathe)
- G99 — R-Plane Return (Mill) / Feed per Revolution (Lathe)