Dot density calculations