The PVTi program is an Equation of State based package for generating PVT data from the laboratory analysis of oil and gas samples. The program may be used through an interactive menu system or run in a batch mode. An interactive session can be saved as a batch input file, which contains commands to reproduce the interactive operations. Alternatively, a batch input file can be run from an interactive session.