Cavendishs electrical and chemical experiments, like those on heat, had begun while he lived with his father in a laboratory in their London house. Lord Charles Cavendish died in 1783, leaving almost all of his very substantial estate to Henry. Like his theory of heat, Cavendishs comprehensive theory of electricity was mathematical in form and was based on precise quantitative experiments. Working with his colleague, Timothy Lane, he created an artificial torpedo fish that could dispense electric shocks to show that the source of shock from these fish was electricity. He published an early version of his theory of electricity in 1771, based on an expansive electrical fluid that exerted pressure. He demonstrated that if the intensity of electric force were inversely proportional to distance, then the electric fluid more than that needed for electrical neutrality would lie on the outer surface of an electrified sphere; then he confirmed this experimentally. Cavendish continued to work on electricity after this initial paper, but he published no more on the subject.
Cavendish wrote papers on electrical topics for the Royal Society but the bulk of his electrical experiments did not become known until they were collected and published by James Clerk Maxwell a century later, in 1879, long after other scientists had been credited with the same results. Cavendishs electrical papers from the Philosophical Transactions of the Royal Society of London have been reprinted, together with most of his electrical manuscripts, in The Scientific Papers of the Honourable Henry Cavendish, F.R.S. (1921). According to the 1911 edition of Encyclopædia Britannica, among Cavendishs discoveries were the concept of electric potential (which he called the "degree of electrification"), an early unit of capacitance (that of a sphere one inch in diameter), the formula for the capacitance of a plate capacitor, the concept of the dielectric constant of a material, the relationship between electric potential and current (now called Ohms law) (1781), laws for the division of current in parallel circuits (now attributed to Charles Wheatstone), and the inverse square law of variation of electric force with distance, now called Coulombs law.