Gompertz was born into a large and wealthy family of London diamond merchants, the fifth son of his father Solomon Barent Gompertz's second marriage. Being Jewish, Gompertz and his siblings were not allowed to attend university and instead received an informal education. Gompertz was a vegan and opposed to humans intentionally using animals for human interests in any way. He refused to wear leather or silk and declined to ride in coaches due to the suffering of the horses. He was the inventor of a multitude of inventions—including the expanding chuck—mainly designed to reduce animal suffering. In 1821, Gompertz invented an improved velocipede, an early form of bicycle. His machine was powered by pulling on the steering handles, which drove a rack and pinion mechanism, which in turn rotated the front wheel. He was one of the founding members for the Society for the Prevention of Cruelty to animals, attending its inaugural meeting in 1824. He published his first book: Moral Inquiries on the Situation of Man and of Brutes, in the same year, which covered his ethical views on animals. Gompertz acted as the SPCA's second Honorary Secretary, before resigning in 1833, after the governing committee objected to Gompertz's promotion of "Pythagorean doctrines", which held that the feelings of animals and humans were of equal value. The committee had created a resolution that limited membership in the SPCA to Christians. Since Gompertz was a Jew, he was forced to resign. Gompertz went on to found the Animals' Friend Society for the Prevention of Cruelty to Animals, which he ran until 1846, after which he resigned to care for Ann, his terminally ill wife. The society was welcoming to evangelicals and Quakers. His wife died in 1847 and he spent the remainder of his life writing and speaking about animal rights and welfare and inventing. In 1852, he published his second book on animals Fragments in Defence of Animals. He died from bronchitis at his home in Kennington Oval, on 2 December1861 and was buried in the graveyard of the local church.