The math behind the badness