A surgical hardware and software monitoring system and method allows for surgical planning while the patient is available for surgery, for example while the patient is being prepared for surgery so that the system may model the surgical site. In one embodiment, the model may be used to track contemplated surgical procedures and warn the physician regarding possible boundary violations that would indicate an inappropriate location in a surgical procedure. In another embodiment, the monitoring system may track the movement of instruments during the procedure and in reference to the model to enhance observation of the procedure. In a further embodiment the monitoring system can be used to model and track the changes in the surgical site itself.