A tri-axial accelerometer and three magnetometers are employed to determine borehole drift and azimuth and correct for velocity fluctuations of the instrument. Accurate borehole geometry and wellbore volumes are determined from the six independent caliper measurements. This instrument can host measuring pads suitable for water-based mud or oil-based mud systems.