John Stuart Mill's Utilitarianism
Read this text. Utilitarianism has its roots in 18th- and 19th-century classical philosophy, particularly in the writings of political theorist Jeremy Bentham (and Mill's father, James Mill). This moral theory is also known as the "greatest-happiness principle", which holds that one must always act so as to produce the greatest aggregate happiness among all human beings, within reason.
Click http://web.archive.org/web/20160802122946/http://www.gutenberg.org/files/11224/11224-h/11224-h.htm link to open resource.