Level measurement for any setting