Jeremy Bentham's hedonistic calculus

What is Jeremy Bentham's hedonistic calculus? What characteristics of a pleasure or pain does it take into account?
How do Panza & Potthast understand Mill's distinction between higher pleasures and lower pleasures? .)
What does it mean to say that utilitarianism is an impartial ethical theory?