It is shown the problem of measurement of level in oil tanks. Considered the use of a method of the sway electromagnetic radiation for the control of level of section of environments in tanks, made its mathematical description, resulted the estimation of results of practical application.