Utilitarianism
Analysis
The short book that carried the doctrine
Mill wrote in English, and this is the text in which utilitarianism became readable. Bentham's Introduction to the Principles of Morals and Legislation states the doctrine and is nearly unreadable; this is a hundred pages, written for a magazine, and it is what everyone has in mind when they say "utilitarianism."
Published as three articles in Fraser's Magazine in 1861, and as a book in 1863. Mill was in his mid-fifties and had been raised on the doctrine from infancy by his father and by Bentham himself. He is not introducing it; he is defending it against objections it had accumulated over sixty years, and conceding more than his teachers would have liked.
Chapter 2: what the doctrine is
The greatest happiness principle: actions are right in proportion as they promote happiness, wrong as they produce the reverse, and happiness is pleasure and the absence of pain.
Then the concessions, which are what the chapter is famous for.
Higher and lower pleasures. To the objection that this is a doctrine fit for swine, Mill answers that pleasures differ in quality as well as quantity, and that the pleasures of the intellect, the feelings and the imagination are of a higher kind. His test is not a principle but a referendum: ask those who have experienced both, and go with the verdict of competent judges, who, Mill claims, do not consent to be changed into creatures of a lower grade however much pleasure they were promised.
The sentence that carries it is his: it is better to be a human being dissatisfied than a pig satisfied, better to be Socrates dissatisfied than a fool satisfied.
Whether this is consistent is the standard question. If a pleasure can outrank another by quality regardless of quantity, the currency has two dimensions and no exchange rate, and some critics hold that Mill has abandoned hedonism while keeping the name. His defenders answer that the appeal is to the preferences of experienced people, which is still a fact about preference and not an external standard.
Impartiality. Each person's happiness counts the same, which Mill takes from Bentham and states plainly: the doctrine requires the agent to be as strictly impartial as a disinterested and benevolent spectator.
Motives do not enter. The rightness of an act depends on its consequences and not on the agent's motive, though motive bears on our judgment of the agent. This answer to a common objection is a paragraph and it is still the standard one.
Secondary principles. To the objection that there is no time to calculate, Mill answers that mankind has had the whole past duration of the species to learn the tendencies of actions, and that the ordinary rules of morality are the accumulated result. A utilitarian consults them and goes back to first principles only when they conflict. This is the passage from which later distinctions between act and rule utilitarianism were drawn, and Mill himself drew no such distinction.
Chapter 4: the proof
The chapter that caused the most trouble. Mill argues that the only evidence that something is desirable is that people desire it, as the only evidence that a thing is visible is that people see it; that each person desires their own happiness; and therefore that happiness is desirable, and the general happiness desirable to the aggregate of persons.
G. E. Moore, in Principia Ethica (1903), took this as the model case of what he called the naturalistic fallacy, pointing out that visible means capable of being seen while desirable does not mean capable of being desired but worthy of being desired, so that the argument trades on an equivocation. Moore's objection is the best-known criticism of Mill in English and it is in every textbook.
Mill's defenders argue that he was not offering a deductive proof, says so at the start of the chapter, and was giving the kind of consideration that can be offered for a first principle, which by his own account admits of no proof. The question is live, and this is five pages, so it can be judged first-hand.
Chapter 5: justice
The longest chapter and the best, and the one that gets least attention.
Mill takes the strongest objection to utilitarianism, that it cannot account for justice, since maximizing happiness could in principle license punishing the innocent or breaking a promise. His answer is an analysis of what justice is: a class of moral rules concerning the essentials of human well-being, protecting people from harm and securing what they are entitled to, which are more stringent than other rules because the interests they protect are more vital, and which are bound up with the sentiment of resentment at harm.
Rights, on this account, are valid claims on society, and society has a reason to enforce them that is itself utilitarian: security is the most indispensable of all interests, and nobody can do without it for a moment. Mill is arguing that the stringency of justice is explained rather than contradicted by utility.
Whether this works is argued about still, and Rawls's A Theory of Justice is in large part an answer to it.
Chapter 3 and the problem of sanction
Short, on what makes anyone obey the principle: external sanctions, the hope of favor and the fear of displeasure, and the internal sanction, conscience, which Mill treats as a feeling of pain attendant on violation of duty and as largely acquired. The chapter matters because it shows Mill's commitment to explaining moral motivation naturalistically, and it is where the doctrine looks most like psychology.
Which edition
The scholarly text is in the Collected Works of John Stuart Mill, edited by John M. Robson for the University of Toronto Press and freely available online in the Liberty Fund reprint. Roger Crisp's edition for Oxford Philosophical Texts is the one to study from, and the Hackett and Penguin editions are reliable.
Most editions print it with On Liberty and sometimes with The Subjection of Women and the essay on Bentham, which is a good combination to own.
References are by chapter and paragraph, as 2.4, or by the page of the Toronto edition, cited as CW 10.
Where to start
Chapter 2, which is half the book and contains the doctrine and the concessions. Then chapter 5 on justice, which is better than its reputation. Chapter 4 is five pages and worth reading with Moore's objection in hand.
Then On Liberty, which is the application that made him famous, and Mill's essay on Bentham for his own account of what his teacher got right and wrong.