Pick a thread (or type your own major diameter and pitch) and get the tap drill size for your target percent thread, the clearance drill sizes, and the pitch / TPI. Works in metric and inch.
Tap drill = major − (%thread ÷ 100 × 1.0825 × pitch). Round to the nearest real drill you have — a touch larger eases tapping, a touch smaller raises strength and torque. Clearance holes are for the bolt to pass through (close/normal/loose fit classes).