Inch system. Work out how deep to run a spot drill so the chamfer it leaves matches the drill that follows — from the drill diameter, the chamfer allowance you want per side, and the spot drill's tip angle.
Ø + 2 × allowance. With a 3/16 (.1875) drill and .005 per side, the chamfer diameter is .1875 + .010 = .1975.Ø + 2 × allowance. Its radius — half of that — is what sets the depth.depth = chamfer radius / tan(angle / 2). For a 90° tip that's exactly the radius (because tan 45° = 1); a wider angle needs less depth, a narrower angle more. In a G81 line it's the negative Z: Z = −depth.d opens the cone radius by d × tan 45° = d — depth and radius move one-for-one. So a .1975 chamfer (radius .09875) on a 90° spot needs exactly .09875 of depth. Any other angle scales that by 1 / tan(angle / 2).Z on that line is exactly what this calculator sizes; every X Y after it repeats the spot at a new hole until G80 cancels.
(--- setup ---) G00 G90 G17 G20 G40 G49 G80 M05 T02 M06 (load 90° spot drill) G90 G54 S2400 M03 (spindle on) G00 X0.0 Y0.0 G43 H02 Z1.0 M08 G00 Z.1 (--- G81 spot cycle ---) G81 G99 Z-.0988 R.050 F9.0 (feed to spot depth) X1.0 Y0.0 (spot repeats at hole 2) X2.0 Y0.0 (... hole 3) G80 (cancel canned cycle) (--- clean up ---) G00 Z.1 M09 G28 G91 Z0. M05 G90 M30
Spot depth = (Ø + 2 × allowance) / 2 / tan(angle / 2). Verify against your post-processor and tooling before running.