A method for performing a surgical procedure includes planning a resection of a bone of a patient. A volume of the bone is removed according to the planned resection using a surgical tool. As the bone is removed, data corresponding to a shape and volume of the removed bone is tracked with a computer system operatively coupled to the surgical tool. A prosthesis is implanted onto the bone of the patient based on the tracked data corresponding to the shape of the removed bone.