A method for calibrating a surgical device is provided. The method includes acquiring first data including a position and/or an orientation of a first object disposed on the surgical device at a first location; acquiring second data including a position and/or an orientation of a second object disposed on the surgical device at a second location; determining third data including a position and/or an orientation of the first object relative to the second location; and determining a position and/or an orientation of the second object relative to the second location based at least in part on the first data, the second data, and the third data.