A searchable reference of common G and M codes grouped by function.
Reference aid — verify before you cut. Thread data per ASME B1.1 (Unified), ASME B1.8 (Stub Acme) and ISO 965 (metric M profile); charts cite their source in each tool. Formulas and data are checked against published standards, but errors and edge cases are possible — always confirm critical dimensions against the controlling standard or a calibrated gage before machining. No warranty; use at your own risk. Tap the star on a tool to favorite it.
Search
Codes
Common milling / turning codes — behaviour varies by control (Haas, Fanuc, Mazak, LinuxCNC…). Always confirm against your machine's manual. Tap a row to copy the code.