This project models the pressure inside the vapor space of a UST. The model takes into account dispensing activities, vapor recovery, evaporation and leaks in the system. Using mass balance, a system of ordinary differential equations is obtained. The equations are solved numerically and two of the variables in the equations are optimized to find the leak rate. Results are tested against data from Veeder-Root Company.