It is fundamental to determine the machine geometry accurately for dimensional X-ray computed tomography (XCT) measurements. When performing high-accuracy scans, compensation of a non-static geometry, e.g. due to rotary axis errors or drift, might become necessary. Here we provide an overview of methods to determine and account for such deviations on a per projection basis. They include characterisation of stage error motions, in situ geometry measurements, numerical simulations, and reconstruction-based optimization relying on image quality metrics and will be discussed in terms of their metrological performance. Since a radiographic calibration is always required to provide an initial absolute geometry, this method will be presented as well. The improvements of the XCT geometry correction methods are presented by means of case studies. The methods can be applied individually or in combination and are intended to provide a toolbox for XCT geometry compensation.