Let the total capacity be x litres.
Then according to the question,
x4=30 litres
x=30×4=120litres
Therefore capacity of the tank is 120litres.