A system for performing surgery on a joint. The system includes a robotic subsystem and a navigation subsystem. The navigation subsystem provides the robotic subsystem, during the surgery, with information relating to positions of the bones associated with the joint thereby enabling separate tracking of the bones when the bones move during the surgery. The robotic subsystem includes a base, a plurality of arms, and a cutting tool. The navigation subsystem may include a plurality of locating devices.