Posts

About CNC Math Lab

CNC Math Lab makes shop-floor calculations easier to understand. Each lesson works through a practical formula for turning, milling or drilling, from spindle speed and chip load to machining time and material removal rate.

Start with the channel’s featured RPM lesson, or explore the DAY series in the video archive.

Browse the video archive

Check X and Z Endpoints for a 45° Lathe Chamfer

Image
CNC Math Lab compares radial travel with the X change in diameter mode. Before running an external chamfer, mark its two endpoints on the part drawing. A 45° chamfer has equal radial and axial legs. In diameter programming, a 2 mm radial leg changes the programmed X value by 4 mm, while the axial leg changes Z by 2 mm. Plot the endpoints on a Ø30 mm part Assume the front face is Z0 and the material extends toward negative Z. For a 2 mm × 45° chamfer at the front outside edge, the face endpoint is X26, Z0 . The endpoint on the full outside diameter is X30, Z−2 . The 4 mm difference between X values represents 2 mm of radial travel. For another diameter-mode example, see how to check radial depth of cut before a turning pass . Compare the drawing with the program preview Confirm the drawing specifies a 2 mm leg and check whether the control is in diameter or radius mode. Verify the work zero and which direction Z travels as the tool moves into the part. Check the endpoints on the pa...

At What Diameter Does G96 Reach the G50 RPM Limit?

Image
CNC Math Lab shows why spindle RPM rises as a facing tool approaches the centre. On a Haas lathe in G96 constant surface speed mode, the calculated spindle speed reaches the G50 limit at D = 1,000 × V c ÷ (π × n max ) . Use cutting speed V c in m/min and the active limit n max in revolutions per minute. The result D is the cutting diameter in millimetres. Below that diameter, the RPM command stays capped and surface speed falls. Worked example at 180 m/min With an illustrative G50 limit of 2,500 RPM, the crossover diameter is 1,000 × 180 ÷ (π × 2,500) ≈ 22.9 mm . At Ø40 mm, the constant-surface-speed calculation calls for about 1,432 RPM, below the limit. At Ø15 mm, it calls for about 3,820 RPM, so the control caps the command at 2,500 RPM. At that capped speed, surface speed is π × 15 × 2,500 ÷ 1,000 ≈ 118 m/min . Check the limit before facing toward the centre Verify that the spindle speed limit is active and appropriate for the machine, chuck, jaws and workholding setup. The...

Check Radial Chip Thinning Before Reusing a Milling Feed

Image
CNC Math Lab explains why radial engagement changes chip thickness. When you copy a feed from a wider cut into a light side-milling pass, check how much of the cutter is actually engaged. Below half the cutter diameter, a straight-sided end mill can produce a maximum chip thickness smaller than the programmed feed per tooth. The CNC Math Lab Short shows why this happens. Check the actual width of cut For a straight side-milling pass, divide the radial width of cut by cutter diameter. For a 10 mm end mill cutting 1 mm of stock radially, the engagement fraction is 1 ÷ 10 = 0.10, or 10% . Use the stock engaged by that move. The stepover setting alone can give an incomplete picture at entries and corners. Compare chip thickness at the same feed For a 90° cutting edge in this simple side-milling example, estimate maximum chip thickness as h max ≈ f z × 2√(r(1 − r)) , where r is radial engagement as a fraction and f z is feed per tooth in mm/tooth. Apply this expression for engagemen...

Estimate CNC Milling Time From a Toolpath With Two Feed Rates

Image
CNC Math Lab demonstrates the calculation for a straight milling move. When you check a milling program in CAM, split the toolpath wherever the programmed feed changes. Dividing the entire distance by the main cutting feed can hide the time spent on a slower lead-in. Estimate each feed move separately and add the results. Read the distance and feed for each move For a programmed move at a constant feed, time in seconds = 60 × path length (mm) ÷ feed rate (mm/min) . Measure along the programmed toolpath. For a diagonal move, use its full length rather than the change along one axis. Work through a pass with a slower lead-in Suppose the cutter feeds through a 12 mm lead-in at 240 mm/min, then cuts along a 120 mm straight pass at 800 mm/min. The lead-in takes 3 seconds (60 × 12 ÷ 240) and the straight pass takes 9 seconds (60 × 120 ÷ 800). The two programmed feed moves total 12 seconds . Using 800 mm/min for the full 132 mm would give 9.9 seconds. Compare the estimate with the mac...

How Do You Calculate Metal Removal Rate in CNC Milling?

Image
Watch CNC Math Lab’s metal removal rate example. To calculate metal removal rate in CNC milling, multiply axial depth of cut by radial width of cut and table feed. With both cut dimensions in millimetres and feed in millimetres per minute, divide by 1,000 to get cubic centimetres per minute. Use the width the tool actually cuts Q = (a p × a e × v f ) ÷ 1,000 , where Q is metal removal rate (cm³/min), a p is axial depth (mm), a e is radial width of cut (mm), and v f is table feed (mm/min). The product before conversion is in mm³/min. A cubic centimetre contains 1,000 cubic millimetres. Worked example: compare two straight passes A side-milling pass cuts 3 mm deep and 2 mm wide at 800 mm/min. Its removal rate is 3 × 2 × 800 ÷ 1,000 = 4.8 cm³/min . If the cut is 4 mm wide at the same depth and feed, the calculated rate rises to 9.6 cm³/min . Use the calculation to compare portions of a toolpath with steady engagement and feed. Entry moves, corners and rapid moves can change the...

Check Effective Cutting Diameter Before Setting Ball Nose RPM

Image
The cutting diameter changes with the height of contact on the ball. When an upright ball nose end mill takes a shallow cut on a flat surface, the cut engages only the lower portion of the ball. Use its effective cutting diameter to check surface speed at the outside of that engaged portion. Calculate diameter at the depth of cut For a hemispherical tip of nominal diameter D and an axial cut depth a p measured from the tip, the effective diameter is D eff = 2√(Da p − a p ²) . Use millimetres throughout and apply the formula from the tip to the ball’s equator (0 ≤ a p ≤ D/2). At 1 mm of axial depth on a 10 mm tool, the effective diameter is 2√(10 − 1) = 6 mm . Check what the spindle speed delivers At 5,000 RPM, the outer edge of that engaged portion travels at π × 6 × 5,000 ÷ 1,000 ≈ 94 m/min . Using the full 10 mm diameter would give about 157 m/min. Treat these values as a geometry check. For tilted tools or sloped surfaces, use the actual contact geometry and the tool maker’s cut...

Check Six-Hole Bolt Circle Coordinates Before Drilling

Image
Use a 60° step to locate the second hole. Before drilling a six-hole bolt circle, confirm the circle centre, the pitch-circle diameter and the starting angle on the drawing. Each pair of adjacent holes is 360° ÷ 6 = 60° apart. Calculate the second hole Use X = Xc + R cos θ and Y = Yc + R sin θ, with Xc and Yc as centre coordinates in mm, R as the pitch-circle radius in mm, and θ in degrees measured counterclockwise from positive X. For a Ø60 mm circle centred at X10 Y20 with the first hole at 0°, hole two is at 60°. Its X is 10 + 30 × 0.5 = 25.000 mm . Its Y is 20 + 30 × sin 60° ≈ 45.981 mm . Check the pattern in the preview The point at 60° lies above and to the right of the centre. The opposite hole is at 240° and should be the same distance below and to the left. If the pattern looks mirrored, check the angle direction. If every hole is twice as far from the centre, check whether you used the diameter as the radius. Watch the CNC Math Lab six-hole bolt circle example . For a related...