Measuring density with (un)certainty