Boyle's Air Pump Experiments and Boyle's Law Explained
In the late 1650s, Robert Boyle, an Anglo-Irish natural philosopher working in Oxford, and Robert Hooke, his inventive assistant, built a mechanical air pump: a machine that could draw most of the air out of a sealed glass vessel. With it they ran a long series of experiments on what happens to flames, sound, animals and mercury columns when the air around them is removed. Then, using a long J-shaped glass tube and a supply of mercury, Boyle measured how trapped air responds when it is squeezed. The answer was strikingly simple. Squeeze the air into half the space and it pushes back twice as hard; squeeze it into a quarter of the space and it pushes back four times as hard. Boyle published the measurements in 1662. The rule they express, that pressure times volume stays constant for a fixed amount of gas at fixed temperature, is now called Boyle's law and was the first quantitative law of gas behaviour.
The problem Boyle inherited
In 1644 Evangelista Torricelli filled a glass tube with mercury, inverted it in a dish and watched the column fall to about 76 centimetres, leaving an apparently empty space above it. His interpretation, that the weight of the surrounding air pushes on the mercury in the dish and holds the column up, is explained in our article on Torricelli's barometer. Blaise Pascal reinforced it in 1648, when his brother-in-law carried a barometer up the Puy de Dôme and found the column shorter at the summit.
These results raised hard questions. Was the space at the top of the tube truly empty, a vacuum, which many philosophers following Aristotle held to be impossible? And what exactly was the air doing? Weight alone could explain the barometer, but Boyle suspected air had a second property: elasticity, which he called the "spring of the air" — the tendency of air to resist being compressed and to expand when the pressure on it is reduced.
Nobody had measured that spring. To study it, Boyle needed a way to change the pressure on a sample of air at will.
From Magdeburg to Oxford: building the pump
The first air pump was built in Germany by Otto von Guericke, the mayor of Magdeburg, in the 1650s. Boyle learned of it through the Jesuit Gaspar Schott, whose 1657 book Mechanica hydraulico-pneumatica contained the first printed description of Guericke's experiments, including the famous Magdeburg hemispheres.
Guericke's machine was clumsy for experimental work: it relied on water to keep it airtight, and nothing could easily be placed inside it and watched. Boyle wanted something better. Robert Hooke, then in his early twenties and working for Boyle in Oxford, designed and built an improved pump in 1658–1659. Its main features were:
- A large glass globe, the receiver, with a wide opening at the top that could be closed with a brass cover and stopper. Objects could be placed inside and observed through the glass.
- A brass cylinder below the receiver, with a piston worked by a rack and pinion turned by a handle.
- A stopcock between receiver and cylinder, and a valve that let air from the cylinder escape to the outside.
Each stroke drew a portion of air out of the receiver into the cylinder, after which it was expelled. Repeated strokes lowered the pressure inside further and further, although leaks around the joints meant the pump never produced a perfect vacuum, and keeping it sealed required constant attention, cement and oiled leather.
The pump was expensive, temperamental and rare. For years only a handful existed in Europe. That scarcity would become part of the controversy surrounding it.
The 1660 experiments: what happens without air
In 1660 Boyle published New Experiments Physico-Mechanicall, Touching the Spring of the Air, and its Effects, describing 43 experiments made with the pump. Among the best known:
Torricelli's experiment inside the receiver. Boyle placed a mercury barometer inside the receiver and pumped. As air was removed, the mercury column fell. When air was let back in, it rose again. This was strong evidence that the column in an ordinary barometer was held up by the pressure of the surrounding air, not by some internal property of the tube or a "horror" of the vacuum.
Sound. A ticking watch or a bell inside the receiver became fainter as the air was pumped out, and louder again when the air returned. Sound needed air (or some medium) to travel.
Flame and life. Candles and burning coals went out quickly in the evacuated receiver. Small animals placed inside collapsed and, if the air was not readmitted in time, died. These experiments, which modern readers find disturbing, suggested that something in air was required both for combustion and for breathing, a line of inquiry later taken up by Hooke, Richard Lower, John Mayow and eventually by the chemists who identified oxygen.
Expansion. A partly inflated, tied-off bladder swelled dramatically when the air around it was removed, showing that the air inside it had a spring that pushed outward whenever the outside pressure fell.
These were qualitative findings, but they established the air pump as an instrument and air as something whose properties could be investigated by experiment.
Two critics: Linus and Hobbes
The book drew immediate fire. Franciscus Linus, a Jesuit scholar, rejected the idea that the spring of air could hold up a column of mercury. He proposed instead that an invisible membrane, a funiculus, formed at the top of the Torricelli tube and pulled the mercury up from above.
Thomas Hobbes, the political philosopher, attacked from a different direction in 1661. He denied that Boyle's pump produced a vacuum at all, argued that it leaked, and challenged the whole idea that experiments witnessed by a small group could produce reliable knowledge about nature. The dispute is the subject of Steven Shapin and Simon Schaffer's influential 1985 book Leviathan and the Air-Pump, which uses it to examine how experimental science established its authority.
Boyle replied to both. His reply to Linus, A Defence of the Doctrine Touching the Spring and Weight of the Air, was published in 1662 with the second edition of New Experiments. In it he did something new. Instead of arguing in words that air was springy enough to hold up mercury, he measured how springy it was.
The J-tube experiment
The apparatus was a long glass tube bent into a J. The short leg was sealed at the top; the long leg was open. Boyle poured in a little mercury so that it just filled the bend and trapped a column of air in the short leg, with the mercury at the same level in both legs. At that point the trapped air was at ordinary atmospheric pressure.
He then poured more mercury into the long leg. The extra mercury pressed on the trapped air and squeezed it into a shorter length. Two quantities were recorded at each step:
- The length of the trapped air in the short leg, marked on a paper scale in quarter-inch divisions. Because the tube had a uniform bore, this length was proportional to the volume.
- The difference in mercury height between the long and short legs, in inches. To get the total pressure on the trapped air, Boyle added the height of a barometer at the time, which he recorded as 29 2/16 inches of mercury.
The tube had to be long. To reach four times atmospheric pressure, the open leg needed nearly 90 inches of mercury above the level in the short leg, so the long leg was several feet tall. According to Boyle's account, the tube was used on a staircase and suspended by strings to protect it.
Boyle's data: a worked check
Here are three rows from Boyle's 1662 table (as reproduced by ChemTeam), with the trapped air's length in quarter-inch divisions and pressures in inches of mercury:
| Air length (divisions) | Mercury difference added | Total pressure measured | Pressure predicted by reciprocal rule |
|---|---|---|---|
| 48 | 0 | 29 2/16 | 29 2/16 |
| 24 | 29 11/16 | 58 13/16 | 58 2/8 |
| 12 | 88 7/16 | 117 9/16 | 116 4/8 |
The last column was Boyle's own: the pressure "according to the hypothesis, that supposes the pressures and expansions to be in reciprocal proportions." Note that the "total pressure" column is the mercury difference plus the barometer reading. For the second row, 29 11/16 + 29 2/16 = 58 13/16 inches.
Now multiply length by pressure for each row:
- 48 × 29.125 = 1,398
- 24 × 58.8125 = 1,411.5
- 12 × 117.5625 = 1,410.75
The products agree to within about 1 percent across a fourfold change in volume. Halving the volume roughly doubled the pressure, and quartering it roughly quadrupled it. For hand measurements made with a paper scale on a staircase, that is excellent agreement, and the small drift is consistent with reading errors of a sixteenth of an inch and slight changes in temperature during the work.
Boyle also ran the experiment in the opposite direction, allowing trapped air to expand under reduced pressure, and found the same reciprocal behaviour.
Who had the idea first?
Boyle did not claim to have invented the rule. He credited the hypothesis to Richard Towneley, a Lancashire gentleman who, with the physician Henry Power, had experimented with trapped air and suggested that pressure and volume were reciprocally related. Boyle's contribution was to test the hypothesis carefully, publish the numbers and show that the rule held over a wide range.
Across the Channel, Edme Mariotte arrived at the same relationship independently and published it in 1679, adding observations on how temperature affects air. For that reason the rule is often called the Boyle–Mariotte law in France and much of continental Europe.
Hooke's role was substantial. He designed and built the pump and is generally credited with helping carry out the experimental work. He later became Curator of Experiments at the Royal Society and is known for his law of springs, described in our article on Hooke's spring constant.
From observation to law
Boyle wrote in words and tables, not equations. The modern statement is:
P₁V₁ = P₂V₂ (for a fixed amount of gas at constant temperature)
or equivalently PV = k, where k is constant for a given sample at a given temperature.
Worked example: a sealed syringe. A syringe holds 50 mL of air at 1 atmosphere. You block the nozzle and push the plunger until the volume is 20 mL, slowly enough that the air stays at room temperature. The new pressure is:
P₂ = P₁V₁ / V₂ = (1 atm × 50 mL) / 20 mL = 2.5 atm
Worked example: a diver's lungs. Water pressure increases by about 1 atmosphere for every 10 metres of seawater. At 10 m depth, the total pressure is about 2 atm; at 30 m, about 4 atm. A free diver who fills their lungs at the surface will find the air in them compressed to roughly half its volume at 10 m and a quarter at 30 m. The reverse is the danger for scuba divers, who breathe air at the surrounding pressure: a diver who fills their lungs at 10 m and ascends to the surface while holding their breath would have that air try to double in volume. That is why the first rule of scuba training is never to hold your breath while ascending.
Worked example: a rising balloon. Atmospheric pressure falls with height, to roughly half its sea-level value at about 5.5 kilometres. A flexible, sealed balloon released at sea level with 1 cubic metre of gas would, if its temperature stayed the same, swell to about 2 cubic metres by that altitude:
V₂ = P₁V₁ / P₂ = (1 atm × 1 m³) / 0.5 atm = 2 m³
In reality the air also gets colder with height, which shrinks the gas somewhat, so meteorologists use the full ideal gas law rather than Boyle's law alone. The principle is still the reason weather balloons are launched only partly inflated: they expand many times over as they climb, until the envelope finally bursts high in the stratosphere.
The same reasoning explains why a sealed bag of crisps puffs up on a plane and why your ears pop on descent. In each case a fixed quantity of trapped air is responding to a change in the pressure around it, exactly as the air in Boyle's J-tube did.
Why this mattered
Boyle's law was not the first quantitative rule in physics, but it was the first for gases, and it established that air, invisible and seemingly formless, obeyed a precise numerical relationship. Boyle drew a philosophical conclusion from it. He was a leading advocate of the "mechanical philosophy," which explained natural phenomena by the size, shape and motion of tiny particles. He compared air particles to tiny springs or fleeces of wool that resisted compression. The image was wrong in detail, but it pushed toward a particle picture of gases.
That picture arrived in mature form with the kinetic theory of gases in the 19th century. In kinetic theory, pressure comes from molecules striking the container walls. Halve the volume and each molecule hits the walls twice as often, so the pressure doubles, provided their average speed, which is set by temperature, stays the same. Boyle's law falls out directly.
The experiments also mattered for how science was done. Boyle wrote detailed descriptions of his apparatus and procedures so that readers could judge them and, if they had a pump, repeat them. He named witnesses. He reported failures and leaks. These habits became part of the culture of the Royal Society, founded in 1660, of which Boyle was a founding fellow.
Limits of the law
Boyle's law describes an ideal gas. Real gases follow it closely at ordinary pressures and temperatures, but deviate when molecules are crowded together. At high pressure, the molecules' own volume becomes a noticeable fraction of the container, so the gas is harder to compress than the law predicts. At low temperature and moderate pressure, attractive forces between molecules make the gas slightly easier to compress. Johannes van der Waals's 1873 equation of state was the first widely used correction for both effects.
The law also requires constant temperature. When a bicycle pump is pushed quickly, the air heats up and its pressure rises faster than Boyle's law alone predicts. Fast compressions like that are better described as adiabatic, with no time for heat to escape, and follow a different relationship.
From Boyle to the ideal gas law
Boyle's law was later joined by others:
- Charles's law: at constant pressure, volume is proportional to absolute temperature. Jacques Charles worked on it in the 1780s, and Joseph Louis Gay-Lussac published it in 1802.
- Gay-Lussac's law: at constant volume, pressure is proportional to absolute temperature.
- Avogadro's law (1811): equal volumes of gases at the same temperature and pressure contain equal numbers of particles.
Combined, they give the ideal gas law, PV = nRT, of which Boyle's law is the special case with n and T held fixed.
Common misconceptions
Boyle wrote PV = constant. He did not. He presented a table and a verbal statement of reciprocal proportion. The algebraic form is a later convenience.
Boyle's law applies only to air. Boyle studied air, but the relationship applies to any gas that behaves approximately ideally.
The air pump made a perfect vacuum. It did not. Seventeenth-century pumps leaked, and Boyle was careful to speak of air being greatly reduced rather than wholly removed. Hobbes made the leaks a central part of his attack.
Boyle discovered the law alone. Towneley and Power proposed the hypothesis, Hooke built the apparatus and did much of the work, and Mariotte found the same rule independently.
The law explains engines and pumps on its own. It holds only at constant temperature. Real compressions and expansions in engines, compressors and pumps involve temperature changes and need thermodynamics, developed in the 19th century.
The takeaway
Boyle and Hooke turned the air pump into the first great instrument of experimental physics and then used a simple bent tube of mercury to put a number on the spring of the air. Boyle's 1662 table shows the product of pressure and volume holding steady to about 1 percent as the volume fell from 48 divisions to 12. That result answered critics who believed air could not hold up a mercury column, launched the study of gas laws and supplied a template for publishing experiments in enough detail that others could check them. Every scuba-training rule about breathing on ascent, every syringe and every weather balloon expanding as it rises is a modern reminder of what Boyle measured on a staircase in the 1660s.
Sources
- Boyle's law — Wikipedia — Towneley and Power, Hooke's role, Mariotte
- Robert Boyle and His Data — ChemTeam — Boyle's 1662 table and staircase account
- Robert Boyle — Purdue University — The J-tube experiment
- Leviathan and the Air-Pump — Wikipedia — The Boyle–Hobbes dispute
- Gaspar Schott — Museo Galileo — Schott's 1657 publication of Guericke's pump
FAQ
Q: Is Boyle's law exactly what Boyle published in 1662? A: Boyle published a table of measurements and stated that pressures and volumes were in reciprocal proportion. The algebraic form PV = constant is a later notation for the same relationship. His data agreed with it to about 1 percent.
Q: Why did Boyle use a J-shaped tube instead of a straight one? A: The bend let him trap air in the sealed short leg while adding mercury to the open long leg. The difference in mercury levels between the two legs gave the extra pressure on the trapped air directly, and the length of the air column in the short leg gave its volume.
Q: How did Boyle know the total pressure on the trapped air? A: He added the mercury height difference in the J-tube to the reading of a barometer, which on the day he recorded as 29 2/16 inches of mercury. The trapped air felt both the atmosphere pressing on the open end and the weight of the extra mercury.
Q: Did Boyle's pump create a true vacuum? A: No. It removed most of the air, enough to extinguish flames, silence a bell and make a barometer column fall, but leaks always let some air back in. Thomas Hobbes used this fact to attack Boyle's conclusions.
Q: Does Boyle's law apply to all gases? A: It applies well to most gases at ordinary temperatures and pressures. At high pressures or low temperatures, molecular size and intermolecular attraction cause real gases to deviate, which is described by corrections such as the van der Waals equation.
Q: Did Robert Hooke get credit for Boyle's law? A: Hooke designed and built the air pump and did much of the experimental work, but Boyle published the results under his own name, as was customary. Boyle himself attributed the original hypothesis to Richard Towneley. In much of Europe the rule is called the Boyle–Mariotte law, after Edme Mariotte's independent 1679 work.
Q: Why is Boyle's law important for scuba divers? A: Pressure under water rises by about one atmosphere per 10 metres. Air breathed at depth expands as a diver ascends; air from a full breath taken at 10 metres would try to double in volume by the surface. Divers are taught never to hold their breath during ascent for exactly this reason.
Read next:
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles
Complete Science Experiments Guide 2026 — Every Landmark Experiment by Field
Every landmark science experiment in one hub: Pasteur's swan-neck flask, Galvani's frog legs, Eratosthenes, Michelson–Morley, Hafele–Keating and more than 140 others, grouped by field and era.
Hess's Balloon Flights: How Cosmic Rays Were Found (1912)
In 1912 Victor Hess carried electroscopes to 5,350 m in a balloon and found radiation rising with height. Here is how the flights worked and what they proved.