Driveshaft: how much clearance?

how did you measure for it? and where did you get it?