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, a virtual CNC machine, 3D simulators, and an arena where machinists compete for the top of the leaderboard.
- 3,740pages of data
- 165G/M-codes
- 2,016speed & feed charts
- 50free tools
Your toolbox
CNC Arena · free competition
Are you the best CNC programmer?
Endless shop-floor jobs against the clock, duels with a rating, one drawing a day and a weekly cup with the same 25 jobs for everybody. Points, levels, leagues and trophies, every month a new season.
This month’s leaders
Leaderboard →The live ranking loads here. Every finished shift moves it.
Simulators and calculators
All tools →Live simulators and 3D
- Virtual CNC MachineFree virtual CNC milling machine with a working control panel: reference return, jog, MDI, edge finder, G54…
- 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…
- Canned Cycle SimulatorWatch every move of the drilling cycles G73, G81, G82, G83, G84, G85, G86 and G89. Compare G98 with G99…
- G41/G42 Cutter Compensation SimulatorSee the programmed contour and the real tool path side by side. Change the cutter, the wear offset and G41…
- Chatter & Stability Lobe SimulatorInteractive stability lobe diagram for milling. Enter natural frequency, stiffness, damping and cutter…
- Fanuc Macro B SimulatorRun Fanuc Custom Macro B programs in the browser: local, common and permanent variables, G65 arguments…
- Trochoidal Milling SimulatorSimulate a trochoidal slot: the cutter engagement along the loop, the chip-thinning feed, the cutting power…
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…
- Helical Bore & Ramp CalculatorMill a bore with a smaller end mill: ramp angle, depth per turn, corrected centre feed, cutting time and a…
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…
- Countersink Depth CalculatorZ depth for a countersink diameter with a sharp or flat tool tip. Includes the correction after the first…
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…
- True Position Calculator (GD&T)Calculate GD&T true position from measured X and Y, add the MMC or LMC bonus tolerance, see pass or fail in…
- Three-Wire Thread MeasurementBest wire size, measurement over wires and pitch diameter for metric and unified 60° threads. Enter your…
- Sine Bar & Gauge Block CalculatorEnter an angle in degrees, minutes and seconds and get the gauge block height for 100, 200, 300 mm, 5 and 10…
- Thermal Expansion & Shrink FitHow much does a warm part measure wrong? Real size at 20 °C for eight materials, gauge error, and heating…
3D printing tools
- 3D Printer G-code SimulatorFree 3D printer G-code simulator: layer-by-layer 3D preview, print time with acceleration and junction…
- 3D Print Cost CalculatorCalculate the real cost and selling price of a 3D print: filament, electricity, printer depreciation, wear…
- E-steps and Flow CalibrationCalibrate the extruder: new E-steps for Marlin with M92 and M500, new rotation_distance for Klipper, and the…
- Volumetric Flow CalculatorFind the volumetric flow at your print speed and the fastest speed your hotend can melt for any layer…
- Calibration Tower GeneratorGenerate a ready-to-print calibration tower: temperature, retraction or pressure advance / linear advance…
- Bed Mesh VisualizerPaste the bed mesh from Marlin (G29 T, M420 V) or Klipper (BED_MESH_OUTPUT, printer.cfg) and see it in 3D…
3D printing for machinists and makers
All 3D printing →- 3D printer simulatorPaste Marlin or Klipper G-code: layers in 3D, real print time with acceleration, filament, cost and warnings.
- Volumetric flowThe real speed limit of your hotend for every layer height and material.
- Bed mesh visualizerPaste the mesh from Marlin or Klipper and see the plate in 3D, with screw turns to level it.
- Printer G-codesMarlin and Klipper commands with syntax, examples and a Marlin → Klipper table.
- Macro B simulatorRun Fanuc macro programs line by line: variables, loops, IF and WHILE, and the motion they make.
- Pro codesThe less known functions: system variables, high-speed modes, 5-axis and probing on Fanuc, Haas, Siemens and Heidenhain.
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.
- Alarm codesFanuc alarms, Grbl errors, Marlin and Klipper errors with causes, steps and corrected blocks.
- 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 →- Klipper vs Marlin: How They Really Differ and Which One to ChooseMarlin plans every move on the printer board, Klipper moves the planning to a small computer. What that changes for speed, calibration, macros and…
- Input Shaping and Pressure Advance Explained: The Physics Behind Fast, Clean PrintsWhy fast prints ring and why corners bulge, and how input shaping and pressure advance solve two different problems. With the order to calibrate them.
- The Complete 3D Printer Calibration Guide: Every Step in the Right OrderCalibrating in the wrong order wastes days: a flow value is wrong if the E-steps are wrong, and pressure advance is wrong if the flow is wrong. The…
- 3D Printer Start G-code Explained Line by Line (Marlin and Klipper)What every line of a good start code does, the four mistakes that ruin first layers, and how to move the start sequence into a Klipper PRINT_START…
- How Fast Can a 3D Printer Really Print? The Four Real LimitsAdvertised speeds of 500 mm/s or more are rarely reached in a real part. The four limits that decide the real print time: melt, acceleration…
- Engineering Filaments: PETG, ABS, ASA, Nylon, PC and Carbon Fibre ComparedWhen PLA is not enough: what each engineering filament can do, what it needs from the printer and the mistakes that make it fail.