Microcontroller Based Oil Vending Machine is operated with pumps or by gravity flow of oil from a storage tank and is designed to vend a maximum of four different types of oil. The Oil Vending Machine is used for dispensing maximum four types of oils from the overhead tank and can be used in edible oil or vegetable oil manufacturing industries and retail outlets. The Oil Vending Machine is fitted with a totalizer for cumulative, batch and price. The Oil Vending Machine automatically shuts off at the preset value. Microcontroller Based Oil Vending Machine allows software calibration and has auto tare facility.