Free · no sign-up · calculators run in your browser
The right number for every CNC job — in seconds.
Feeds & speeds for 42 materials, 165 G- and M-codes explained, 3D mill and lathe simulators, and tools that check and write G-code for you.
- 3,277pages of data
- 165G/M-codes
- 2,016speed & feed charts
- 32free tools
Your toolbox
Simulators and calculators
All tools →Live simulators and 3D
- G-Code Viewer & SimulatorPaste or open a G-code file and see the toolpath instantly: rapids, feeds, arcs (G02/G03 with I/J/R)…
- 3D CNC Simulator & ChallengesFree online 3D CNC milling simulator: paste G-code and watch the tool remove material from a virtual block…
- CNC Lathe SimulatorFree online CNC lathe simulator in 3D. Runs Fanuc-style turning programs with G71, G72, G70, G74, G75, G76…
- 5-Axis Simulator (A/C Trunnion)Interactive 3D model of a 5-axis trunnion table. Tilt A, rotate C, see where a point on the part moves…
- Live Milling SimulationWatch a milling cutter remove chips in real time. See climb and conventional milling, radial chip thinning…
- STL Viewer & Part WeightOpen an STL file in your browser, rotate it in 3D and get the size, volume, surface area, weight in 10…
G-code tools
- Bolt Circle CalculatorCalculate X/Y coordinates for holes on a bolt circle (PCD) with any start angle and centre offset. Copy the…
- Thread Milling CalculatorGenerate thread milling G-code for internal and external, right- and left-hand metric threads: helix radius…
- G-Code CheckerPaste a CNC program and get a list of likely mistakes: missing G43, rapid moves below Z0, arcs that do not…
- G-Code GeneratorGenerate clean G-code for rectangular and circular pockets, facing, outside contours, round bosses, slots…
- DXF to G-Code ConverterConvert a DXF drawing to G-code online. Lines, arcs, circles and polylines are joined to contours, arcs stay…
- Text Engraving G-CodeCreate G-code for engraved text, part numbers and serial numbers. Single-line font, straight or on a circle…
Machining calculators
- Feeds & Speeds CalculatorFree CNC feeds and speeds calculator for 25 materials. Get spindle RPM, feed rate, chip load, chip-thinning…
- Drilling Speed & Feed CalculatorCalculate drilling RPM, feed per revolution, feed rate, peck depth and cycle time for HSS and carbide drills…
- Surface Finish CalculatorCalculate theoretical surface roughness Ra and Rz from feed and tool nose radius, find the feed for a target…
- Thread & Tap Drill CalculatorCalculate tap drill size, thread percentage, pitch diameter, minor diameter and thread depth for metric and…
- Chip Thinning CalculatorFind the adjusted feed per tooth and feed rate for high-efficiency milling with light radial stepover. Shows…
- Lathe Turning CalculatorCNC lathe calculator: spindle RPM from cutting speed, constant surface speed limits, feed rate, metal…
- Chamfer & Countersink CalculatorFind the Z depth to cut a chamfer or countersink of a given diameter with a spot drill, countersink or…
- Tool Deflection CalculatorCalculate how far an end mill bends from diameter, stick-out, tool material and cutting data. With a live…
- Tool Life & Cost CalculatorUse two tool life results from your shop to calculate the Taylor exponent, the tool life at any speed, the…
Engineering and shop tools
- Machining Cost & Cycle Time CalculatorEstimate CNC part cost from machine hourly rate, setup time, cycle time, material, tooling and margin. Shows…
- Inch / mm / Fraction ConverterConvert inches, fractions and millimetres, plus machining units: SFM ↔ m/min, IPM ↔ mm/min, IPT ↔ mm/tooth…
- ISO Fit & Tolerance CalculatorCalculate ISO 286 hole and shaft tolerances and fits for any size up to 500 mm: limit deviations, min/max…
- Right Triangle (Trig) CalculatorSolve any right triangle from two known values: sides, hypotenuse and angles, with a drawing. Ideal for…
- Material Weight CalculatorCalculate the weight of round bar, square and rectangular bar or plate, hex bar and tube in steel…
- Taper CalculatorCalculate taper included angle, half angle (compound setting), taper per inch, taper per foot and ratio from…
- Spur Gear CalculatorCalculate spur gears in module or diametral pitch: pitch, outside, root and base diameter, centre distance…
- Hardness ConverterConvert Rockwell C, Vickers and Brinell hardness for steel and estimate the tensile strength in MPa and ksi…
- Bolt Torque CalculatorCalculate tightening torque and clamp load for M3 to M36 and UNC bolts in class 8.8, 10.9, 12.9, stainless…
- Tolerance Stack-Up CalculatorAdd the dimensions of an assembly and see the worst-case gap, the statistical (RSS) gap, the share outside…
- Keyway CalculatorFind the parallel key for a shaft from 6 to 130 mm: key width and height, depth in shaft and hub, measuring…
Code of the day
G82 Drilling Cycle with Dwell (Counterbore / Spot)
Like G81 but dwells at the bottom for P milliseconds, which cleans up flat-bottom counterbores and spot-faces.
G98 G82 X0 Y0 Z-6.0 R2.0 P300 F120.
G80Daily challenge
How many codes can you name in a row?
Random G- and M-codes, four answers, one streak. Share your score with your shop.
Play the G-code quizReference
- Feeds & speeds chartsAluminum, steel, stainless, titanium, plastics and wood — every end mill and drill size.
- G-code listSyntax, parameters and a working example for every common code.
- M-code listSpindle, coolant, tool change and subprogram codes for Fanuc and Haas.
- Thread chartsMetric, UNC and UNF with tap drills, clearance holes and G76 data.
- Drill size chartNumber, letter, fractional and metric drills with decimal and mm equivalents.
- ISO fits & tolerancesH7, g6, k6, p6 and common fits with limits for every size up to 500 mm.
- CNC Q&AThe most asked machining questions answered — and a community to ask your own.
- TroubleshootingChatter, broken tools, bad finish, alarms: causes ranked and fixes step by step.
- Program examplesReady-to-run, explained G-code for mills and lathes — simulate them in one click.
- Diameter referenceEvery size 1–250 mm with H7/h6 limits, fits and drill sizes.
- CNC glossaryClear definitions of the terms machinists use every day.
Popular right now
Latest guides
All guides →- IMTS 2026: What Is New in CAM, AI and Digital Twins for CNC ShopsWhat machine shops should take away from IMTS 2026 in Chicago: AI suggestions inside CAM, automated quoting and digital twins, what is proven and…
- How to Check a G-Code Program Before You Run It: 15 Common MistakesA practical routine for checking CNC programs: the 15 mistakes that cause most alarms and crashes, how to find them in minutes, and how to prove out…
- Your First CNC Lathe Program: G71, G70, Grooving and G76 Step by StepWrite a complete turning program step by step: facing, G71 roughing, G70 finishing, a thread relief groove and an M20 x 2 thread with G76, ready to…
- From DXF Drawing to G-Code: A Clean 2D WorkflowHow to prepare a DXF drawing for CNC milling, plasma or laser: units, closed contours, duplicates, cutting order, compensation and tabs, with a free…
- End Mill Deflection: Why Stick-Out Matters More Than Anything ElseHow end mills bend, why a tool 20 % shorter bends only half as much, how to recognise deflection on the part, and the order of fixes that actually…
- Tolerance Stack-Up Explained with a Bearing Housing ExampleHow tolerances add up in an assembly, the difference between worst case and statistical (RSS) analysis, and how to decide which dimension to…