A utilitarian defines ‘good’ as ‘whatever brings about the greatest total happiness’. This is sometimes known as the Greatest Happiness Principle or the Principle of Utility. For a utilitarian the right action in any circumstances can be calculated by examining the probable consequences of the various possible courses of action. Whichever is most likely to bring about the most happiness (or at least the greatest balance of happiness over unhappiness) is the right action in those circumstances
Philosophy: The basics. Nigel Warburton
What does "the greatest balance of happiness over unhappiness" mean? And I don't understand the use of "over" there. Could your explain it to me?