A novel LED modeling algorithm for precise three-dimensional light pattern simulation is proposed and demonstrated. We propose to use normalized cross correlation to verify the validity of the simulation in one-dimensional intensity patterns as well as two-dimensional irradiance patterns in various midfield distances and to provide feedback to achieve a successful model. The model is demonstrated to obtain an average of 99% in normalized cross correlation between the simulation light pattern and experimental measurement for a truncated inverse pyramid LED.