Important – use at your own risk. Figures, code and guides on this site are guides only, not professional or technical advice. Always check your machine’s manual and the manufacturer’s limits before use. You are responsible for your own safety and for checking every result. See the disclaimer and terms.
Milling a flat on a diameter
How it works, guides and notes
Enter the bar diameter and what you want: for a single flat, the distance from the centre of the workpiece to the flat (h); for two flats, a square or a hex, the across-flats size. It gives the depth of cut, how far to offset the cutter from centre, and the width of the flat.
How it works
Depth is measured radially from the original outside diameter in to the finished flat. For a single flat you enter h, the flat distance from the centre of the workpiece (0 ≤ h < D/2); depth = D/2 − h, and the leftover flat-to-opposite-side size A = D/2 + h is shown for reference. For two parallel flats, a square or a hex, you enter across flats S and depth = (D − S) ÷ 2. The flat width (chord) is 2√(R² − h²), and for side milling the cutter centreline sits at h + cutter/2 from the work centre.
A square needs S ≤ D/√2 for the flats to meet with sharp corners; a hex needs D ≥ 2S/√3. End-milling a flat wider than the cutter needs more than one pass across the width.
Spotted a mistake? Report an error.