Free graph maker & data converters

Boyle's Law Graph Maker

Plot pressure against the reciprocal of volume to turn the hyperbola of Boyle’s law into a straight line, and read the constant PV from the slope.

Your data
7 rows × 2 columns · tab-separated
Graph
0.020.040.060.080.101002003004005001/V (mL-1)Pressure (kPa)Pressure (kPa)y = 4990x + 0.3836, R2 = 1.0000
Hover over a point to read its value.
Statistics
SeriesnMeanMedianSDSEMinMax
Pressure (kPa)7239.21200.9138.9452.515100499
SeriesModelEquationParametersR²
Pressure (kPa)lineary = 4990x + 0.3836b = 0.38363, m = 4990.50.99997
Chart options
Y seriesError bars (±)

Units: m^2 → m², H_2O → H₂O, 10^{-3} → 10⁻³, \mu → μ, \deg → °

How to use the Boyle's Law Graph

  1. Record the pressure of a fixed amount of gas at several volumes, at constant temperature.
  2. Calculate 1/V for each volume and paste 1/V in the first column and pressure in the second.
  3. Keep the linear trendline. The slope is the constant PV.
  4. Check that the intercept is close to zero.

Why plot pressure against 1/V

Boyle’s law says that for a fixed amount of gas at constant temperature the product of pressure and volume is constant: PV = k. A graph of P against V is a curve, a hyperbola, and it is hard to judge by eye whether it truly follows PV = constant. Rewriting the law as P = k × (1/V) shows that P plotted against 1/V is a straight line through the origin with gradient k. A straight line is something the eye, and a least-squares fit, can test easily.

Worked example

The sample volumes run from 50 mL down to 10 mL, with pressures rising from 100 kPa to 499 kPa. Plotted against 1/V the points lie on a line with gradient 4,990 kPa·mL and an intercept of 0.38 kPa, essentially zero, with R² = 0.99997. So PV = 4,990 kPa·mL in this experiment, within about 0.2% of the 5,000 used to generate the data. Compressing the gas to a fifth of its volume (50 mL to 10 mL) multiplied the pressure by almost exactly five.

V (mL)50403025201510
P (kPa)100.0124.7166.8200.9248.8334.3499.0
1/V (mL⁻¹)0.0200.0250.0330.0400.0500.0670.100

Common sources of error

Gas pressure gauges often read gauge pressure, not absolute pressure; add atmospheric pressure (about 101 kPa) first or the line will not pass through the origin. Let the gas come to room temperature after each compression, because compressing warms it. Allow for the dead volume in the connecting tube, which makes every V too small by the same amount. These faults show up as a non-zero intercept or a curve, which is a good reason to plot the straight-line form rather than P against V alone. The line of best fit calculator reports the intercept with its uncertainty.

Frequently asked questions

What is the Boyle’s law graph?
A graph of pressure against volume is a hyperbola. Plotting pressure against 1/V gives a straight line through the origin, and the gradient is the constant PV.
Why does my line not pass through zero?
A non-zero intercept usually means gauge pressure was used instead of absolute pressure, or there is dead volume in the apparatus.
Does Boyle’s law work for all gases?
It is accurate for gases at low pressure and well above their condensation temperature. Real gases deviate at high pressure.
Is my data private?
No. Your data never leaves your browser. Plotiq parses and plots files locally with JavaScript, so nothing is uploaded to a server.

Last updated: · by Dev Patel ·Read our guides