Second post nailed it.
Any calculation would require a precise measurement of this distance. Probably less work to stick to manual alignment.
MAutoAlign is a plug-in which supposedly handles alignment for you, though. (never tried)
However, here’s my Cubase “tip” for refining alignment:
I select the second track and then hover my mouse over that track’s “start” value in the info bar. I use the mouse trackball/scrollwheel to nudge the track sample-by-sample while it’s playing. Using my ears, I find that one sample forward or back can make a pronounced difference in the sound of a doubled (or DI-ed) mic track. Will sometimes spice up an otherwise boring tone!
UA also have a plug-in which does this for you, BTW, called IPB Phase Alignment plug-in for this type of thing, but requires a UAD card, of course. I do have this one, but often just use the mouse wheel method previously described.
I’d check out the MautoAlign plug listed above…