Mark,
I shoot a lot of bugs, and frankly, I don't think a more precise understanding of the numbers will help. It is possible to use image stacking in a circumstance such as yours if you are steady and fast enough, and have a flash that will refresh fast enough, but I can't do it. I have never managed to stack bug shots, even though I stack flower shots all the time. My solution is to:
--use a diffused flash. Without that, you don't have much chance of getting a small enough aperture to get a reasonable DOF.
--keep the subject as close to parallel to the sensor as you can.
--start at f/13 (nominal aperture).
Nominal vs. effective aperture is explained in the macro tutorial on this site. Basically, effective aperture is smaller (larger number) at macro distances. Canon cameras (which I shoot) show the nominal aperture. I believe that some Nikons show the effective aperture.
This usually works. E.g., this shot, which is higher magnification (hence narrower DOF) because I shot it with a 36mm extension tube:
If f/13 is not enough, you could go smaller. You will start getting some diffraction (remember that the effective aperture is narrower), but with the increased DOF, the image may appear sharper anyway. I have shot macros with nominal apertures up to f/22 that look fine printed at 8 x 10 inches (roughly A4).
You can see the effect of not being parallel to the sensor in the next shot. Check out the back of the abdomen--clearly out of focus.
One last suggestion: I have been shooting bugs for maybe 6 years, and even after that much time, most of my shots fail, usually because either I or the bug moves enough to ruin focus. A standard solution is to take a bunch, moving the camera very slowly to regain focus. A monopod helps a lot for that. You just have to be patient, and be happy that digital makes all the unsuccessful shots free.
Good luck.
Dan