The objective of this study was to devise an interactive tool to assist in cryoablation therapy through computer modeling, simulation, and visualization. CryoSim, a software package, accepts a set of acquired and processed three-dimensional ultrasound images, then models heat diffusion (formation of the iceball) based on numerical approximation of the heat equation and knowledge of the thermal properties of the underlying tissues. Results of cryoexperiments were found to be significantly similar to those generated by CryoSim. Therefore, CryoSim provides a viable technique for predicting the outcome of cryosurgery, and establishes a platform for future automation of cryosurgery.