Free calculator
CNC Lathe Simulator — Run G71, G70, G76 and Drilling Programs in 3D
Paste a turning program and watch the part take shape. The simulator turns, faces, bores, drills, grooves and threads a virtual bar, shows the inside in a cut-away view and warns about rapid moves into material or the chuck. Nothing is uploaded.
Tools: T01 turning, T02 boring, T03 grooving, T04 threading, T05 drill. A comment such as (DRILL 12 MM) or (GROOVE 4 MM) on the T line overrides this.
–
How it works
The bar is stored as an outer and an inner radius for every thin slice along Z. Each tool position removes material from these two profiles. RPM with G96 = 1000 × Vc / (π × D), limited by G50 S. Time with G99 = length / (f × RPM).
How to simulate your own lathe program
- Enter the bar diameter, its length outside and inside the chuck, and the extra material on the face.
- Paste the program. X is a diameter and Z0 is the finished front face.
- Tell the simulator which tool is which. T01 is a turning tool, T02 a boring bar, T03 a grooving tool, T04 a threading tool and T05 a drill. A comment on the T line, for example
T0606 (DRILL 12 MM), overrides this. - Press Run, or Instant result if you only want the finished shape.
What it checks
- G00 moves that pass through material
- Moves into the clamped part of the bar
- G71 cycles whose P and Q blocks are missing
It does not know your turret, tailstock or jaw shape. Always prove a program on the machine with single block and low rapid override. See also the G71, G70 and G76 reference pages.
Embed this calculator on your site
Free for workshops, schools and forums — copy this snippet:
<iframe src="https://cnccode.com/embed/cnc-lathe-simulator/" width="100%" height="720" style="border:0" loading="lazy" title="CNC Lathe Simulator"></iframe>More free CNC tools
- G-Code Viewer & Simulator
- 3D CNC Simulator & Challenges
- 5-Axis Simulator (A/C Trunnion)
- Live Milling Simulation
- STL Viewer & Part Weight
- Feeds & Speeds Calculator
- Drilling Speed & Feed Calculator
- Surface Finish Calculator
- Thread & Tap Drill Calculator
- Bolt Circle Calculator
- Chip Thinning Calculator
- Machining Cost & Cycle Time Calculator
- Inch / mm / Fraction Converter
- Lathe Turning Calculator
- All tools