what is the chemical formula for oil?
There is no general chemical formula for oil whether it is crude oil or vegetable oil or any other type of oil.
The vegetable oil isn’t a pure compound but more than that it isn’t one ingredient.
The crude oil is a complex mixture of hydrocarbons and other chemicals. The composition varies widely depending on where and how the petroleum was formed.