{"id":451,"date":"2026-07-09T12:00:37","date_gmt":"2026-07-09T12:00:37","guid":{"rendered":"https:\/\/physicsfundamentalsinfo.com\/blog\/?p=451"},"modified":"2026-07-09T12:00:38","modified_gmt":"2026-07-09T12:00:38","slug":"ideal-gas-law","status":"publish","type":"post","link":"https:\/\/physicsfundamentalsinfo.com\/blog\/thermodynamics\/ideal-gas-law\/","title":{"rendered":"What Is the Ideal Gas Law (PV = nRT)?"},"content":{"rendered":"\n<div class=\"pf-citation\"><div class=\"eyebrow\">Definition<\/div><p>\nThe ideal gas law states that the pressure of a gas multiplied by its volume equals the number of moles times the universal gas constant times the absolute temperature: PV = nRT. It ties four state variables together, so fixing any three fixes the fourth. Temperature must always be in kelvin, and pressure must be absolute.\n<\/p><\/div>\n<p>Leave a bag of crisps in a car on a hot afternoon and it comes back looking ready to burst. Nothing was added. No one pumped it up. The sealed air inside simply got hotter, and hotter air pushes harder.<\/p>\n<p>That puffed-up bag is the ideal gas law doing its work in a car park. The same equation sizes the airbag in your steering column, lifts a weather balloon fifteen times its ground volume, and tells a diver why holding your breath on the way up is the one thing you must never do.<\/p>\n<h2>What Is the Ideal Gas Law?<\/h2>\n<p>Picture a gas as a swarm of molecules rattling around inside a container. You cannot track any single one of them. But you can measure four things about the swarm as a whole: how hard it pushes (pressure), how much room it has (volume), how many molecules there are (moles), and how fast they are moving on average (temperature).<\/p>\n<p>The ideal gas law is the statement that these four numbers are not independent. Lock three of them down and the fourth has no choice.<\/p>\n<p>That is a remarkable claim. It means you do not need to know what the gas <em>is<\/em> \u2014 helium, nitrogen, carbon dioxide, the air in your lungs. At everyday pressures and temperatures they all obey the same equation, to within a percent or two.<\/p>\n<p>An <strong>ideal gas<\/strong> is the idealisation that makes this work: molecules with no volume of their own, which do not attract one another, and which bounce off the walls and each other without losing energy. Real gases are not quite that. They are close enough that the law runs almost every calculation in engineering thermodynamics.<\/p>\n<h2>The Ideal Gas Law Formula: What Every Symbol Means<\/h2>\n<div class=\"pf-formula\">PV = nRT<\/div>\n<p>Each symbol carries a unit, and the units are where marks are lost. Here is the SI set:<\/p>\n<ul>\n<li><strong>P<\/strong> \u2014 absolute pressure, in pascals (Pa). Not gauge pressure.<\/li>\n<li><strong>V<\/strong> \u2014 volume of the container, in cubic metres (m\u00b3).<\/li>\n<li><strong>n<\/strong> \u2014 amount of substance, in moles (mol). Not mass.<\/li>\n<li><strong>R<\/strong> \u2014 the universal (molar) gas constant, 8.314 J\/(mol\u00b7K).<\/li>\n<li><strong>T<\/strong> \u2014 absolute temperature, in kelvin (K). Never Celsius.<\/li>\n<\/ul>\n<svg viewBox=\"0 0 700 340\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"Diagram of the ideal gas law formula PV = nRT with each symbol labelled with its meaning and SI unit\" style=\"width:100%;height:auto;max-width:700px;display:block;margin:24px auto;\">\n  <rect x=\"0\" y=\"0\" width=\"700\" height=\"340\" fill=\"#F5F2EA\" stroke=\"#D9CFB8\" stroke-width=\"1\"><\/rect>\n  <text y=\"82\" font-family=\"Georgia, serif\" font-size=\"50\" font-weight=\"700\" fill=\"#0A1628\">\n    <tspan x=\"238\">P<\/tspan><tspan x=\"282\">V<\/tspan><tspan x=\"336\">=<\/tspan><tspan x=\"396\">n<\/tspan><tspan x=\"438\">R<\/tspan><tspan x=\"480\">T<\/tspan>\n  <\/text>\n  <polyline points=\"255,98 255,128 86,128 86,160\" fill=\"none\" stroke=\"#C8932A\" stroke-width=\"1.6\"><\/polyline>\n  <polyline points=\"299,98 299,140 218,140 218,160\" fill=\"none\" stroke=\"#C8932A\" stroke-width=\"1.6\"><\/polyline>\n  <polyline points=\"411,98 411,128 350,128 350,160\" fill=\"none\" stroke=\"#C8932A\" stroke-width=\"1.6\"><\/polyline>\n  <polyline points=\"456,98 456,140 482,140 482,160\" fill=\"none\" stroke=\"#C8932A\" stroke-width=\"1.6\"><\/polyline>\n  <polyline points=\"496,98 496,128 614,128 614,160\" fill=\"none\" stroke=\"#C8932A\" stroke-width=\"1.6\"><\/polyline>\n  <g>\n    <rect x=\"30\" y=\"160\" width=\"112\" height=\"110\" rx=\"4\" fill=\"#0A1628\"><\/rect>\n    <text x=\"86\" y=\"192\" text-anchor=\"middle\" font-family=\"Georgia, serif\" font-size=\"26\" font-weight=\"700\" fill=\"#C8932A\">P<\/text>\n    <text x=\"86\" y=\"218\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#FAF6EE\">Pressure<\/text>\n    <text x=\"86\" y=\"240\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#C5D0DC\">absolute<\/text>\n    <text x=\"86\" y=\"258\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#C5D0DC\">pascals (Pa)<\/text>\n  <\/g>\n  <g>\n    <rect x=\"162\" y=\"160\" width=\"112\" height=\"110\" rx=\"4\" fill=\"#0A1628\"><\/rect>\n    <text x=\"218\" y=\"192\" text-anchor=\"middle\" font-family=\"Georgia, serif\" font-size=\"26\" font-weight=\"700\" fill=\"#C8932A\">V<\/text>\n    <text x=\"218\" y=\"218\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#FAF6EE\">Volume<\/text>\n    <text x=\"218\" y=\"240\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#C5D0DC\">of container<\/text>\n    <text x=\"218\" y=\"258\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#C5D0DC\">m\u00b3<\/text>\n  <\/g>\n  <g>\n    <rect x=\"294\" y=\"160\" width=\"112\" height=\"110\" rx=\"4\" fill=\"#0A1628\"><\/rect>\n    <text x=\"350\" y=\"192\" text-anchor=\"middle\" font-family=\"Georgia, serif\" font-size=\"26\" font-weight=\"700\" fill=\"#C8932A\">n<\/text>\n    <text x=\"350\" y=\"218\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#FAF6EE\">Amount<\/text>\n    <text x=\"350\" y=\"240\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#C5D0DC\">not mass<\/text>\n    <text x=\"350\" y=\"258\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#C5D0DC\">moles (mol)<\/text>\n  <\/g>\n  <g>\n    <rect x=\"426\" y=\"160\" width=\"112\" height=\"110\" rx=\"4\" fill=\"#7A1F2B\"><\/rect>\n    <text x=\"482\" y=\"192\" text-anchor=\"middle\" font-family=\"Georgia, serif\" font-size=\"26\" font-weight=\"700\" fill=\"#FAF6EE\">R<\/text>\n    <text x=\"482\" y=\"218\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#FAF6EE\">Gas constant<\/text>\n    <text x=\"482\" y=\"240\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#FAF6EE\">same for all gases<\/text>\n    <text x=\"482\" y=\"258\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#FAF6EE\">8.314 J\/(mol\u00b7K)<\/text>\n  <\/g>\n  <g>\n    <rect x=\"558\" y=\"160\" width=\"112\" height=\"110\" rx=\"4\" fill=\"#0A1628\"><\/rect>\n    <text x=\"614\" y=\"192\" text-anchor=\"middle\" font-family=\"Georgia, serif\" font-size=\"26\" font-weight=\"700\" fill=\"#C8932A\">T<\/text>\n    <text x=\"614\" y=\"218\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#FAF6EE\">Temperature<\/text>\n    <text x=\"614\" y=\"240\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#C5D0DC\">absolute<\/text>\n    <text x=\"614\" y=\"258\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#C5D0DC\">kelvin (K)<\/text>\n  <\/g>\n  <text x=\"350\" y=\"302\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"14\" font-style=\"italic\" fill=\"#7A1F2B\">Fix any three \u2014 the fourth is forced.<\/text>\n  <text x=\"350\" y=\"324\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" fill=\"#1F2E47\">The four boxed in navy you measure. R you look up. T you must convert.<\/text>\n<\/svg>\n<p style=\"text-align:center;font-size:13px;font-style:italic;color:#1F2E47;\">The anatomy of the ideal gas law: four state variables and one universal constant.<\/p>\n<h3>Rearranging the ideal gas law<\/h3>\n<p>You will almost never be asked for the equation in the form it is written. Divide through for whichever variable the question wants:<\/p>\n<div class=\"pf-formula\">P = nRT \/ V   \u00b7   V = nRT \/ P   \u00b7   n = PV \/ RT   \u00b7   T = PV \/ nR<\/div>\n<p>If you have a mass rather than a mole count, convert first using the molar mass <em>M<\/em> in kg\/mol:<\/p>\n<div class=\"pf-formula\">n = m \/ M<\/div>\n<p>You can also skip moles entirely and count molecules. Swap <em>n<\/em> and <em>R<\/em> for the molecule number <em>N<\/em> and the Boltzmann constant <em>k<\/em><sub>B<\/sub> = 1.380649 \u00d7 10\u207b\u00b2\u00b3 J\/K:<\/p>\n<div class=\"pf-formula\">PV = N k_B T<\/div>\n<p>The two forms are the same statement. The link is Avogadro&#8217;s number: R = N<sub>A<\/sub> \u00b7 k<sub>B<\/sub>. One counts in moles, the other counts one molecule at a time.<\/p>\n<p>If you would rather not push the algebra by hand, our <a href=\"https:\/\/physicsfundamentalsinfo.com\/calculators\/ideal-gas-law\">Ideal Gas Law Calculator<\/a> solves for any of the four variables and shows the working line by line.<\/p>\n<h3>The value of R depends on your units<\/h3>\n<p>R is universal in the sense that it is the same for every gas. Its <em>number<\/em> still changes with the units you feed it.<\/p>\n<p>Since the 2019 revision of the SI, R has an exact value: it is defined as Avogadro&#8217;s number multiplied by the Boltzmann constant, and both of those are now exact by definition. You can look the figure up in <a href=\"https:\/\/physics.nist.gov\/cuu\/Constants\/index.html\" target=\"_blank\" rel=\"noopener\">NIST&#8217;s CODATA constants database<\/a>.<\/p>\n<p>Pick the row that matches your pressure and volume, and the conversion takes care of itself.<\/p>\n<div class=\"pf-table-scroll\" style=\"display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.5em 0;\">\n<table style=\"width:100%;border-collapse:collapse;word-break:break-word;\">\n<thead>\n<tr style=\"background:#0A1628;color:#FAF6EE;\">\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Value of R<\/th>\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Units<\/th>\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Use it when<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>8.314<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">J\/(mol\u00b7K)<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P in pascals, V in m\u00b3. The always-safe SI choice.<\/td>\n<\/tr>\n<tr style=\"background:#F5F2EA;\">\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>8.314<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">kPa\u00b7L\/(mol\u00b7K)<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P in kilopascals, V in litres. Same number, because 1 J = 1 kPa\u00b7L.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>0.08206<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">L\u00b7atm\/(mol\u00b7K)<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P in atmospheres, V in litres. Common in chemistry.<\/td>\n<\/tr>\n<tr style=\"background:#F5F2EA;\">\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>0.08314<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">L\u00b7bar\/(mol\u00b7K)<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P in bar, V in litres.<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>62.36<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">L\u00b7Torr\/(mol\u00b7K)<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P in Torr or mmHg, V in litres. Vacuum work.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><strong>In practice:<\/strong> memorise only 8.314 J\/(mol\u00b7K), then convert your pressure to pascals and your volume to cubic metres. One number, one habit, no lookup table.<\/p>\n<p>Engineers often use a different constant again. Divide R by the molar mass of a specific gas and you get a <em>specific<\/em> gas constant \u2014 about 287 J\/(kg\u00b7K) for dry air \u2014 which lets you work in kilograms instead of moles.<\/p>\n<p>That version is not universal; it changes from gas to gas. <a href=\"https:\/\/www1.grc.nasa.gov\/beginners-guide-to-aeronautics\/equation-of-state-ideal-gas-2\/\" target=\"_blank\" rel=\"noopener\">NASA&#8217;s Glenn Research Center<\/a> sets out both forms side by side.<\/p>\n<h2>How the Ideal Gas Law Works: Pressure Is a Storm of Collisions<\/h2>\n<p>Where does pressure actually come from? Not from the gas &#8220;pressing&#8221; in any deliberate way. It comes from molecules hitting the wall and bouncing off.<\/p>\n<p>Each impact reverses a molecule&#8217;s momentum, and by <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/mechanics\/newtons-second-law\/\">Newton&#8217;s second law<\/a> a change in momentum over a time interval <em>is<\/em> a force. One molecule delivers a force far too small to notice. A cubic centimetre of air contains around 2.4 \u00d7 10\u00b9\u2079 of them, each striking billions of times a second.<\/p>\n<p>Average that hail of impacts over the wall area and you get something perfectly steady: pressure.<\/p>\n<p>Now the three levers become obvious.<\/p>\n<ul>\n<li><strong>Squeeze the volume.<\/strong> The same molecules have less distance to cover between walls, so they arrive more often. Collision rate doubles, pressure doubles.<\/li>\n<li><strong>Raise the temperature.<\/strong> Temperature <em>is<\/em> the average <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/mechanics\/kinetic-energy-formula\/\">kinetic energy<\/a> of the molecules. Hotter means faster, so they hit more often <em>and<\/em> hit harder.<\/li>\n<li><strong>Add more gas.<\/strong> More molecules, more impacts per second, more pressure. Linearly.<\/li>\n<\/ul>\n<svg viewBox=\"0 0 700 300\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"Kinetic theory diagram showing how ideal gas law pressure arises from molecular collisions when volume is halved or temperature is doubled\" style=\"width:100%;height:auto;max-width:700px;display:block;margin:24px auto;\">\n  <defs>\n    <marker id=\"pfArrowCompress\" markerWidth=\"9\" markerHeight=\"9\" refX=\"8\" refY=\"4.5\" orient=\"auto\">\n      <path d=\"M0,0 L9,4.5 L0,9 z\" fill=\"#1F2E47\"><\/path>\n    <\/marker>\n  <\/defs>\n  <rect x=\"0\" y=\"0\" width=\"700\" height=\"300\" fill=\"#F5F2EA\" stroke=\"#D9CFB8\" stroke-width=\"1\"><\/rect>\n  <text x=\"350\" y=\"28\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"14\" font-weight=\"700\" fill=\"#0A1628\">Pressure is the time-average of molecular impacts on the wall<\/text>\n  <g>\n    <rect x=\"30\" y=\"60\" width=\"170\" height=\"150\" fill=\"#0A1628\" stroke=\"#C8932A\" stroke-width=\"1.5\"><\/rect>\n    <line x1=\"200\" y1=\"60\" x2=\"200\" y2=\"210\" stroke=\"#C8932A\" stroke-width=\"5\"><\/line>\n    <circle cx=\"55\" cy=\"95\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"55\" y1=\"95\" x2=\"68\" y2=\"88\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"95\" cy=\"80\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"95\" y1=\"80\" x2=\"105\" y2=\"92\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"140\" cy=\"105\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"140\" y1=\"105\" x2=\"152\" y2=\"99\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"175\" cy=\"90\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"175\" y1=\"90\" x2=\"186\" y2=\"96\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"60\" cy=\"150\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"60\" y1=\"150\" x2=\"71\" y2=\"158\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"105\" cy=\"140\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"105\" y1=\"140\" x2=\"94\" y2=\"132\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"150\" cy=\"165\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"150\" y1=\"165\" x2=\"162\" y2=\"160\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"80\" cy=\"190\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"80\" y1=\"190\" x2=\"90\" y2=\"181\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"160\" cy=\"195\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"160\" y1=\"195\" x2=\"171\" y2=\"190\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <text x=\"115\" y=\"238\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#0A1628\">Baseline<\/text>\n    <text x=\"115\" y=\"257\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">n, V, T as given<\/text>\n    <text x=\"115\" y=\"277\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#7A1F2B\">P<\/text>\n  <\/g>\n  <g>\n    <rect x=\"265\" y=\"60\" width=\"170\" height=\"150\" fill=\"none\" stroke=\"#C5D0DC\" stroke-width=\"1.4\" stroke-dasharray=\"5,4\"><\/rect>\n    <rect x=\"265\" y=\"60\" width=\"85\" height=\"150\" fill=\"#0A1628\" stroke=\"#C8932A\" stroke-width=\"1.5\"><\/rect>\n    <rect x=\"350\" y=\"60\" width=\"12\" height=\"150\" fill=\"#7A1F2B\"><\/rect>\n    <line x1=\"425\" y1=\"135\" x2=\"372\" y2=\"135\" stroke=\"#1F2E47\" stroke-width=\"2\" marker-end=\"url(#pfArrowCompress)\"><\/line>\n    <text x=\"399\" y=\"105\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"10\" font-style=\"italic\" fill=\"#1F2E47\">original V<\/text>\n    <circle cx=\"285\" cy=\"90\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"285\" y1=\"90\" x2=\"296\" y2=\"84\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"320\" cy=\"80\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"320\" y1=\"80\" x2=\"330\" y2=\"90\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"300\" cy=\"120\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"300\" y1=\"120\" x2=\"311\" y2=\"114\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"335\" cy=\"115\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"335\" y1=\"115\" x2=\"325\" y2=\"124\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"280\" cy=\"155\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"280\" y1=\"155\" x2=\"291\" y2=\"162\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"315\" cy=\"150\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"315\" y1=\"150\" x2=\"304\" y2=\"143\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"295\" cy=\"190\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"295\" y1=\"190\" x2=\"306\" y2=\"184\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"330\" cy=\"185\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"330\" y1=\"185\" x2=\"340\" y2=\"192\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <circle cx=\"340\" cy=\"140\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"340\" y1=\"140\" x2=\"348\" y2=\"134\" stroke=\"#7A1F2B\" stroke-width=\"2\"><\/line>\n    <text x=\"350\" y=\"238\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#0A1628\">Halve the volume<\/text>\n    <text x=\"350\" y=\"257\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">shorter trips, twice the hits<\/text>\n    <text x=\"350\" y=\"277\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#7A1F2B\">2P<\/text>\n  <\/g>\n  <g>\n    <rect x=\"490\" y=\"60\" width=\"170\" height=\"150\" fill=\"#0A1628\" stroke=\"#C8932A\" stroke-width=\"1.5\"><\/rect>\n    <line x1=\"660\" y1=\"60\" x2=\"660\" y2=\"210\" stroke=\"#C8932A\" stroke-width=\"5\"><\/line>\n    <circle cx=\"515\" cy=\"95\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"515\" y1=\"95\" x2=\"538\" y2=\"83\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"555\" cy=\"80\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"555\" y1=\"80\" x2=\"573\" y2=\"100\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"600\" cy=\"105\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"600\" y1=\"105\" x2=\"623\" y2=\"95\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"635\" cy=\"90\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"635\" y1=\"90\" x2=\"655\" y2=\"102\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"520\" cy=\"150\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"520\" y1=\"150\" x2=\"540\" y2=\"167\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"565\" cy=\"140\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"565\" y1=\"140\" x2=\"544\" y2=\"126\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"610\" cy=\"165\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"610\" y1=\"165\" x2=\"633\" y2=\"155\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"540\" cy=\"190\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"540\" y1=\"190\" x2=\"561\" y2=\"176\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <circle cx=\"620\" cy=\"195\" r=\"5\" fill=\"#C8932A\"><\/circle><line x1=\"620\" y1=\"195\" x2=\"643\" y2=\"186\" stroke=\"#7A1F2B\" stroke-width=\"2.4\"><\/line>\n    <text x=\"575\" y=\"238\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#0A1628\">Double the temperature (K)<\/text>\n    <text x=\"575\" y=\"257\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">faster molecules, harder hits<\/text>\n    <text x=\"575\" y=\"277\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#7A1F2B\">2P<\/text>\n  <\/g>\n<\/svg>\n<p style=\"text-align:center;font-size:13px;font-style:italic;color:#1F2E47;\">Why PV = nRT looks the way it does: pressure rises when molecules hit the wall more often, or harder.<\/p>\n<p>Notice that the equation contains no property of the gas itself \u2014 no molecular mass, no size, no chemistry. Heavier molecules move more slowly at a given temperature, so they hit less often but each hit carries more punch.<\/p>\n<p>The two effects cancel exactly. That cancellation is the whole reason a single R works for every gas.<\/p>\n<p>Play with the three sliders below. Watch what happens to the pressure readout when you halve the volume, and then when you double the kelvin temperature.<\/p>\n<div class=\"pf-sim-slot\"><div class=\"pf-sim-slot-header\"><span class=\"icon-dot\"><\/span><span class=\"label\">Ideal Gas Law Lab<\/span><\/div><div class=\"pf-sim-slot-body\">\n<style>\n.pf-sim-frame{\nwidth:100%;\nborder:none;\nheight:600px\n}\n@media(max-width:760px){\n.pf-sim-frame{\nheight:1000px\n}\n}\n<\/style>\n<iframe src=\"\/labs\/ideal-gas-law.html?embed=1\" class=\"pf-sim-frame\" loading=\"lazy\">\n<\/iframe>\n<\/div><\/div>\n<h2>The Four Gas Laws Hiding Inside PV = nRT<\/h2>\n<p>Long before anyone wrote PV = nRT, experimenters were pinning down one relationship at a time. Robert Boyle got there first, in 1660, by squeezing air in a J-shaped tube.<\/p>\n<p>Every one of those historical laws is just PV = nRT with two variables held still. You do not need to memorise four equations. You need to memorise one, and know what is being held constant.<\/p>\n<div class=\"pf-table-scroll\" style=\"display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin:1.5em 0;\">\n<table style=\"width:100%;border-collapse:collapse;word-break:break-word;\">\n<thead>\n<tr style=\"background:#0A1628;color:#FAF6EE;\">\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Law<\/th>\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Held constant<\/th>\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Relationship<\/th>\n<th style=\"padding:10px;text-align:left;border:1px solid #D9CFB8;\">Everyday example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>Boyle&#8217;s law<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">n, T<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P \u221d 1\/V<br><em>P\u2081V\u2081 = P\u2082V\u2082<\/em><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">A diver&#8217;s bubble swelling as it rises<\/td>\n<\/tr>\n<tr style=\"background:#F5F2EA;\">\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>Charles&#8217;s law<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">n, P<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">V \u221d T<br><em>V\u2081\/T\u2081 = V\u2082\/T\u2082<\/em><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">A balloon shrinking in the freezer<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>Gay-Lussac&#8217;s law<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">n, V<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P \u221d T<br><em>P\u2081\/T\u2081 = P\u2082\/T\u2082<\/em><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">Tyre pressure climbing on the motorway<\/td>\n<\/tr>\n<tr style=\"background:#F5F2EA;\">\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>Avogadro&#8217;s law<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">P, T<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">V \u221d n<br><em>V\u2081\/n\u2081 = V\u2082\/n\u2082<\/em><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">Blowing up a party balloon<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><strong>Combined gas law<\/strong><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">n only<\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\"><em>P\u2081V\u2081\/T\u2081 = P\u2082V\u2082\/T\u2082<\/em><\/td>\n<td style=\"padding:10px;border:1px solid #D9CFB8;\">A weather balloon climbing through the atmosphere<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>The combined gas law in that last row is the workhorse. Whenever a fixed amount of gas moves from one state to another, R and n cancel, and you never need to look up a constant at all.<\/p>\n<p>Plot pressure against volume at three fixed temperatures and Boyle&#8217;s law draws itself: each curve is a hyperbola, PV = constant. Heat the gas and the whole curve is pushed outward.<\/p>\n<svg viewBox=\"0 0 700 400\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"Pressure volume isotherm graph for the ideal gas law showing three hyperbolic curves at increasing temperature\" style=\"width:100%;height:auto;max-width:700px;display:block;margin:24px auto;\">\n  <rect x=\"0\" y=\"0\" width=\"700\" height=\"400\" fill=\"#F5F2EA\" stroke=\"#D9CFB8\" stroke-width=\"1\"><\/rect>\n  <text x=\"350\" y=\"26\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"14\" font-weight=\"700\" fill=\"#0A1628\">Isotherms: P = nRT \/ V at three temperatures<\/text>\n  <line x1=\"70\" y1=\"345\" x2=\"650\" y2=\"345\" stroke=\"#0A1628\" stroke-width=\"1.6\"><\/line>\n  <line x1=\"70\" y1=\"345\" x2=\"70\" y2=\"45\" stroke=\"#0A1628\" stroke-width=\"1.6\"><\/line>\n  <line x1=\"179\" y1=\"345\" x2=\"179\" y2=\"341\" stroke=\"#0A1628\" stroke-width=\"1.4\"><\/line>\n  <line x1=\"341\" y1=\"345\" x2=\"341\" y2=\"341\" stroke=\"#0A1628\" stroke-width=\"1.4\"><\/line>\n  <line x1=\"613\" y1=\"345\" x2=\"613\" y2=\"341\" stroke=\"#0A1628\" stroke-width=\"1.4\"><\/line>\n  <line x1=\"70\" y1=\"215\" x2=\"74\" y2=\"215\" stroke=\"#0A1628\" stroke-width=\"1.4\"><\/line>\n  <line x1=\"70\" y1=\"84\" x2=\"74\" y2=\"84\" stroke=\"#0A1628\" stroke-width=\"1.4\"><\/line>\n  <line x1=\"70\" y1=\"215\" x2=\"650\" y2=\"215\" stroke=\"#D9CFB8\" stroke-width=\"1\" stroke-dasharray=\"3,4\"><\/line>\n  <line x1=\"70\" y1=\"84\" x2=\"650\" y2=\"84\" stroke=\"#D9CFB8\" stroke-width=\"1\" stroke-dasharray=\"3,4\"><\/line>\n  <text x=\"179\" y=\"362\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">2<\/text>\n  <text x=\"341\" y=\"362\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">5<\/text>\n  <text x=\"613\" y=\"362\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">10<\/text>\n  <text x=\"60\" y=\"219\" text-anchor=\"end\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">1<\/text>\n  <text x=\"60\" y=\"88\" text-anchor=\"end\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"11\" fill=\"#1F2E47\">2<\/text>\n  <text x=\"360\" y=\"384\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#0A1628\">Volume V (arbitrary units)<\/text>\n  <text x=\"26\" y=\"195\" text-anchor=\"middle\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"13\" font-weight=\"700\" fill=\"#0A1628\" transform=\"rotate(-90 26 195)\">Pressure P<\/text>\n  <polyline fill=\"none\" stroke=\"#142139\" stroke-width=\"2.6\" points=\"119,200 132,232 146,252 160,266 173,276 187,284 200,291 214,296 227,300 241,304 255,307 268,309 282,312 295,314 309,315 322,317 336,318 350,320 363,321 377,322 390,323 404,324 417,325 431,325 445,326 458,327 472,327 485,328 499,328 512,329 526,329 540,330 553,330 567,331 580,331 594,331 607,332\"><\/polyline>\n  <polyline fill=\"none\" stroke=\"#C8932A\" stroke-width=\"2.6\" points=\"119,128 132,175 146,205 160,226 173,242 187,254 200,263 214,271 227,278 241,283 255,287 268,291 282,295 295,298 309,301 322,303 336,305 350,307 363,309 377,310 390,312 404,313 417,314 431,316 445,317 458,318 472,319 485,319 499,320 512,321 526,322 540,322 553,323 567,324 580,324 594,325 607,325\"><\/polyline>\n  <polyline fill=\"none\" stroke=\"#7A1F2B\" stroke-width=\"2.6\" points=\"119,55 132,118 146,159 160,187 173,208 187,224 200,236 214,247 227,255 241,262 255,268 268,274 282,278 295,282 309,286 322,289 336,292 350,294 363,297 377,299 390,301 404,303 417,304 431,306 445,307 458,309 472,310 485,311 499,312 512,313 526,314 540,315 553,316 567,316 580,317 594,318 607,319\"><\/polyline>\n<text x=\"132\" y=\"46\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" font-weight=\"700\" fill=\"#7A1F2B\">T\u2083 (hottest)<\/text>\n<text x=\"132\" y=\"119\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" font-weight=\"700\" fill=\"#C8932A\">T\u2082<\/text>\n<text x=\"132\" y=\"191\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" font-weight=\"700\" fill=\"#142139\">T\u2081 (coldest)<\/text>\n<text x=\"430\" y=\"205\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" font-style=\"italic\" fill=\"#1F2E47\">Along each curve, PV stays constant<\/text>\n<text x=\"430\" y=\"224\" font-family=\"Manrope, Arial, sans-serif\" font-size=\"12\" font-style=\"italic\" fill=\"#1F2E47\">\u2014 that is Boyle&#8217;s law.<\/text>\n<\/svg>\n<p style=\"text-align:center;font-size:13px;font-style:italic;color:#1F2E47;\">Ideal gas law isotherms. Curves never cross, and none of them ever touches an axis.<\/p>\n<h2>Real-World Examples of the Ideal Gas Law<\/h2>\n<h3>1. Tyre pressure on a long drive<\/h3>\n<p>Your tyres hold a fixed volume of a fixed amount of air. Drive for an hour and friction with the road heats that air by 30 \u00b0C or more.<\/p>\n<p>Volume and moles are pinned, so pressure has nowhere to go but up \u2014 by roughly 5 to 6 psi. This is exactly why manufacturers tell you to check pressures <em>cold<\/em>. Problem 3 below runs the numbers.<\/p>\n<h3>2. Hot-air balloons<\/h3>\n<p>Rearrange the ideal gas law in terms of density, using molar mass M:<\/p>\n<div class=\"pf-formula\">\u03c1 = PM \/ (RT)<\/div>\n<p>At constant pressure, density falls as temperature rises. Fire the burner, the air inside the envelope thins out, and the balloon floats on the denser cold air around it. No gas is added \u2014 the same air is simply spread thinner.<\/p>\n<figure style=\"margin:32px auto;max-width:640px;text-align:center;\">\n  <img decoding=\"async\" src=\"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-content\/uploads\/2026\/07\/2006_Ojiya_balloon_festival_011.jpg\"\n       alt=\"Hot-air balloon envelope heated by a burner, an everyday example of the ideal gas law lowering air density\"\n       loading=\"lazy\"\n       style=\"width:100%;height:auto;border-radius:4px;\" \/>\n  <figcaption style=\"font-size:13px;color:#1F2E47;font-style:italic;margin-top:8px;\">Heating the air lowers its density at constant pressure \u2014 the ideal gas law made visible.<\/figcaption>\n<\/figure>\n<h3>3. Weather balloons that swell as they climb<\/h3>\n<p>A radiosonde balloon leaves the ground perhaps only partly filled, looking limp. By 30 km up, the outside pressure has fallen to little more than 1% of its sea-level value.<\/p>\n<p>The gas inside expands to match. Fifteen-fold growth is routine, and the balloon eventually bursts \u2014 which is the plan. Problem 5 works a case through.<\/p>\n<h3>4. Airbags<\/h3>\n<p>An airbag inflates in about 30 milliseconds. A chemical reaction dumps a known number of moles of nitrogen into a known volume, and PV = nRT is what tells the designer how much propellant produces the right pressure. Too little and the bag is slack; too much and the bag itself does the injuring.<\/p>\n<h3>5. Breathing<\/h3>\n<p>Your diaphragm pulls down and your chest cavity expands. Volume goes up, so at constant temperature the pressure inside your lungs drops below atmospheric \u2014 and air flows in.<\/p>\n<p>Boyle&#8217;s law, roughly twenty thousand times a day, for free.<\/p>\n<h2>When the Ideal Gas Law Breaks Down<\/h2>\n<p>The ideal gas law is an approximation, and it is an unusually good one. Under ordinary conditions \u2014 room temperature, around one atmosphere \u2014 most gases obey it to better than 1%.<\/p>\n<p>It fails in two situations, and both trace back to assumptions the model made.<\/p>\n<ul>\n<li><strong>High pressure.<\/strong> We assumed molecules have no volume of their own. Squeeze a gas hard enough and the molecules themselves take up a real fraction of the container, so the free volume is smaller than V. Real pressure comes out higher than predicted.<\/li>\n<li><strong>Low temperature.<\/strong> We assumed molecules ignore each other. Slow them down and weak intermolecular attractions start to matter, pulling molecules away from the walls. Real pressure comes out lower than predicted.<\/li>\n<\/ul>\n<p>Near the point where a gas is about to condense, both effects bite at once and the law can be badly wrong. That is why steam tables exist, and why refrigerant engineers do not use PV = nRT.<\/p>\n<p>The usual first repair is the van der Waals equation, which adds one term for molecular volume and one for attraction:<\/p>\n<div class=\"pf-formula\">(P + a n\u00b2 \/ V\u00b2)(V \u2212 nb) = nRT<\/div>\n<p>Here <em>a<\/em> and <em>b<\/em> are constants measured for each specific gas. Notice what that means: the universality is gone. You have traded the elegance of one equation for every gas in exchange for accuracy in one gas.<\/p>\n<h2>Common Misconceptions About the Ideal Gas Law<\/h2>\n<h3>Misconception 1: &#8220;You can use Celsius if you&#8217;re consistent&#8221;<\/h3>\n<p>No. This is the single most common error, and it is not a rounding issue \u2014 it produces nonsense.<\/p>\n<p>The law says pressure is proportional to temperature. At 0 \u00b0C a gas plainly has pressure, but plugging in T = 0 predicts zero pressure. Worse, a gas at \u221210 \u00b0C would have <em>negative<\/em> pressure.<\/p>\n<p>Only an absolute scale, starting at absolute zero, makes the proportionality true. Always convert: <strong>T(K) = T(\u00b0C) + 273.15<\/strong>. The <a href=\"https:\/\/www.nist.gov\/si-redefinition\/kelvin-introduction\" target=\"_blank\" rel=\"noopener\">kelvin is defined<\/a> for exactly this reason, and the distinction between what a thermometer reads and what the molecules are doing is worth keeping straight \u2014 see our guide to <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/thermodynamics\/heat-vs-temperature\/\">heat versus temperature<\/a>.<\/p>\n<h3>Misconception 2: &#8220;P is whatever the gauge says&#8221;<\/h3>\n<p>A tyre gauge reading 220 kPa does not mean the air inside is at 220 kPa. Gauges read the <em>difference<\/em> from atmospheric pressure.<\/p>\n<p>The true absolute pressure is about 220 + 101 = 321 kPa. Feed 220 into PV = nRT and every answer after that is wrong.<\/p>\n<p><strong>The rule:<\/strong> P<sub>absolute<\/sub> = P<sub>gauge<\/sub> + P<sub>atmospheric<\/sub>.<\/p>\n<h3>Misconception 3: &#8220;n is the mass of the gas&#8221;<\/h3>\n<p>n counts particles, not kilograms. Two grams of hydrogen and two grams of oxygen contain wildly different numbers of molecules, and the gas law cares only about the count.<\/p>\n<p>Convert with n = m \/ M. A student slip worth watching for: molar mass in the SI form of the equation must be in kg\/mol, not g\/mol. Nitrogen gas is 0.02802 kg\/mol, not 28.02.<\/p>\n<h3>Misconception 4: &#8220;R is different for every gas&#8221;<\/h3>\n<p>R is the same for helium, argon, methane and air: 8.314 J\/(mol\u00b7K). That is the whole point of the word &#8220;universal&#8221;.<\/p>\n<p>What confuses people is the <em>specific<\/em> gas constant, R<sub>specific<\/sub> = R \/ M, which engineers use to work in kilograms. That one genuinely does change from gas to gas.<\/p>\n<p>If a textbook writes &#8220;R = 287 J\/(kg\u00b7K)&#8221;, look at the units \u2014 per kilogram, not per mole. It is a different constant wearing the same letter.<\/p>\n<h2>How the Ideal Gas Law Relates to Heat, Energy and Thermodynamics<\/h2>\n<p>PV = nRT is an <em>equation of state<\/em>. It describes where a gas is, not how it got there \u2014 a snapshot, not a film.<\/p>\n<p>The film is supplied by the <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/thermodynamics\/laws-of-thermodynamics\/\">laws of thermodynamics<\/a>. The first law tracks the energy bookkeeping as a gas is compressed or heated; the ideal gas law tells you what P, V and T are at each moment along the way. Together they let you compute the work done by an expanding gas, which is how every engine is analysed.<\/p>\n<p>Kinetic theory supplies the bridge downward, to molecules. Combining it with the gas law gives one of the most quietly profound results in physics:<\/p>\n<div class=\"pf-formula\">Average kinetic energy per molecule = (3\/2) k_B T<\/div>\n<p>Temperature is not a substance and not a fluid. It is, up to a constant, the average <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/mechanics\/kinetic-energy-formula\/\">kinetic energy<\/a> of a molecule. A nitrogen molecule at 300 K is travelling at about 517 m\/s \u2014 faster than a rifle bullet.<\/p>\n<p>One thing PV = nRT cannot tell you is how much heat it takes to warm the gas. That depends on how the molecules store energy internally, which is the domain of <a href=\"https:\/\/physicsfundamentalsinfo.com\/blog\/thermodynamics\/specific-heat-capacity\/\">specific heat capacity<\/a>. The gas law fixes the state; the heat capacity fixes the price of changing it.<\/p>\n<h2>Worked Problems<\/h2>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 1<\/div><div class=\"pf-problem-question\">How much volume does 2.00 mol of an ideal gas occupy at 300 K and a pressure of 150 kPa?<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: Use the ideal gas law, rearranged for volume: V = nRT \/ P\nStep 2: Convert pressure to SI. P = 150 kPa = 1.50 \u00d7 10\u2075 Pa. Temperature is already in kelvin.\nStep 3: Substitute with units.\nV = (2.00 mol \u00d7 8.314 J\/(mol\u00b7K) \u00d7 300 K) \/ (1.50 \u00d7 10\u2075 Pa)\nV = 4988 J \/ 1.50 \u00d7 10\u2075 Pa = 0.03326 m\u00b3\nStep 4: Convert to litres. 1 m\u00b3 = 1000 L, so V = 33.3 L.\n<strong>Answer: V = 0.0333 m\u00b3 = 33.3 L<\/strong>\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 2<\/div><div class=\"pf-problem-question\">A diver at 20.0 m depth releases a bubble of volume 1.00 cm\u00b3. What is its volume at the surface? Take seawater density 1025 kg\/m\u00b3, g = 9.81 m\/s\u00b2, atmospheric pressure 101325 Pa, and assume the temperature is unchanged.<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: Temperature and amount are constant, so this is Boyle&#8217;s law: P\u2081V\u2081 = P\u2082V\u2082\nStep 2: Find the absolute pressure at depth. Gauge pressure from the water must be added to atmospheric.\nP\u2081 = P_atm + \u03c1gh = 101325 + (1025 \u00d7 9.81 \u00d7 20.0)\nP\u2081 = 101325 + 201105 = 302430 Pa\nStep 3: Solve for V\u2082 at the surface, where P\u2082 = 101325 Pa.\nV\u2082 = P\u2081V\u2081 \/ P\u2082 = (302430 Pa \u00d7 1.00 cm\u00b3) \/ 101325 Pa\nV\u2082 = 2.985 cm\u00b3\n<strong>Answer: V\u2082 = 2.98 cm\u00b3 \u2014 the bubble triples in size<\/strong>\nThis is why a diver must never hold their breath while ascending. Trapped lung air expands the same way.\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 3<\/div><div class=\"pf-problem-question\">A car tyre is inflated to a gauge pressure of 220 kPa at 20.0 \u00b0C. After a motorway drive the air inside reaches 55.0 \u00b0C. What is the new gauge pressure? Take atmospheric pressure as 101 kPa.<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: Volume and moles are fixed, so P \u221d T (Gay-Lussac&#8217;s law): P\u2081 \/ T\u2081 = P\u2082 \/ T\u2082\nStep 2: Convert to absolute pressure and absolute temperature.\nP\u2081 = 220 + 101 = 321 kPa (absolute)\nT\u2081 = 20.0 + 273.15 = 293.15 K\nT\u2082 = 55.0 + 273.15 = 328.15 K\nStep 3: Solve for P\u2082.\nP\u2082 = P\u2081 \u00d7 T\u2082 \/ T\u2081 = 321 kPa \u00d7 (328.15 \/ 293.15)\nP\u2082 = 321 \u00d7 1.1194 = 359.3 kPa (absolute)\nStep 4: Convert back to gauge pressure.\nP\u2082(gauge) = 359.3 \u2212 101 = 258 kPa\n<strong>Answer: 258 kPa gauge, a rise of about 38 kPa (\u2248 5.6 psi)<\/strong>\nSkip the two conversions in Step 2 and you would get 220 \u00d7 (55\/20) = 605 kPa \u2014 nearly triple the true rise.\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 4<\/div><div class=\"pf-problem-question\">What volume does 1.00 kg of nitrogen gas (N\u2082, molar mass 28.02 g\/mol) occupy at 25.0 \u00b0C and 101.325 kPa?<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: The gas law needs moles, not mass. Convert first: n = m \/ M\nStep 2: Substitute.\nn = 1000 g \/ 28.02 g\/mol = 35.69 mol\nStep 3: Convert temperature. T = 25.0 + 273.15 = 298.15 K\nStep 4: Apply V = nRT \/ P.\nV = (35.69 mol \u00d7 8.314 J\/(mol\u00b7K) \u00d7 298.15 K) \/ (101325 Pa)\nV = 88470 J \/ 101325 Pa = 0.8731 m\u00b3\n<strong>Answer: V = 0.873 m\u00b3 = 873 L<\/strong>\nSanity check: one mole of any gas occupies about 24.5 L under these conditions, and 35.69 \u00d7 24.5 \u2248 874 L. The answer holds.\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 5<\/div><div class=\"pf-problem-question\">A weather balloon holds 5.00 m\u00b3 of helium at ground level, where P = 101 kPa and T = 288 K. It rises to an altitude where P = 5.0 kPa and T = 220 K. What is its new volume?<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: The amount of gas is fixed, so n and R cancel. Use the combined gas law:\nP\u2081V\u2081 \/ T\u2081 = P\u2082V\u2082 \/ T\u2082\nStep 2: Rearrange for V\u2082.\nV\u2082 = V\u2081 \u00d7 (P\u2081 \/ P\u2082) \u00d7 (T\u2082 \/ T\u2081)\nStep 3: Substitute. Pressure units cancel, so kPa is fine here; temperature must still be kelvin.\nV\u2082 = 5.00 m\u00b3 \u00d7 (101 \/ 5.0) \u00d7 (220 \/ 288)\nV\u2082 = 5.00 \u00d7 20.2 \u00d7 0.7639\nStep 4: Evaluate.\nV\u2082 = 77.15 m\u00b3\n<strong>Answer: V\u2082 = 77.2 m\u00b3 \u2014 over 15 times its ground volume<\/strong>\nThe pressure drop expands the balloon 20-fold; the temperature drop claws back about a quarter of that.\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 6<\/div><div class=\"pf-problem-question\">Calculate the density of air at 300 K and 100 kPa. Take the mean molar mass of air as 0.02896 kg\/mol.<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: Start from PV = nRT and substitute n = m \/ M.\nPV = (m \/ M) RT\nStep 2: Rearrange to isolate density \u03c1 = m \/ V.\n\u03c1 = PM \/ (RT)\nStep 3: Substitute in SI units.\n\u03c1 = (1.00 \u00d7 10\u2075 Pa \u00d7 0.02896 kg\/mol) \/ (8.314 J\/(mol\u00b7K) \u00d7 300 K)\n\u03c1 = 2896 \/ 2494 = 1.161 kg\/m\u00b3\n<strong>Answer: \u03c1 = 1.16 kg\/m\u00b3<\/strong>\nSanity check: the standard sea-level value (288.15 K, 101.325 kPa) is 1.225 kg\/m\u00b3. Our air is warmer and at slightly lower pressure, so a smaller density is exactly what we should expect.\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 7<\/div><div class=\"pf-problem-question\">A rigid 10.0 L cylinder at 300 K contains 0.50 mol of oxygen and 1.50 mol of nitrogen. Find the total pressure and the partial pressure of the oxygen.<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: An ideal gas does not care what its molecules are. Only the total mole count matters.\nn_total = 0.50 + 1.50 = 2.00 mol\nStep 2: Convert volume to SI. V = 10.0 L = 0.0100 m\u00b3\nStep 3: Apply P = nRT \/ V.\nP = (2.00 mol \u00d7 8.314 J\/(mol\u00b7K) \u00d7 300 K) \/ 0.0100 m\u00b3\nP = 4988 J \/ 0.0100 m\u00b3 = 4.988 \u00d7 10\u2075 Pa = 499 kPa\nStep 4: Each gas contributes in proportion to its mole fraction (Dalton&#8217;s law).\nx(O\u2082) = 0.50 \/ 2.00 = 0.250\np(O\u2082) = 0.250 \u00d7 499 kPa = 125 kPa\n<strong>Answer: Total P = 499 kPa; partial pressure of O\u2082 = 125 kPa<\/strong>\n<\/div><\/details><\/div>\n<div class=\"pf-problem\"><div class=\"pf-problem-num\">Problem 8<\/div><div class=\"pf-problem-question\">How many molecules are in 1.00 cm\u00b3 of air at 300 K and 100 kPa? Use k_B = 1.380649 \u00d7 10\u207b\u00b2\u00b3 J\/K.<\/div><details><summary>Show Solution<\/summary><div class=\"pf-problem-solution\">\n<strong>Solution:<\/strong>\nStep 1: Use the molecule-counting form of the ideal gas law: PV = N k_B T\nStep 2: Rearrange for N.\nN = PV \/ (k_B T)\nStep 3: Convert volume to SI. V = 1.00 cm\u00b3 = 1.00 \u00d7 10\u207b\u2076 m\u00b3\nStep 4: Substitute.\nN = (1.00 \u00d7 10\u2075 Pa \u00d7 1.00 \u00d7 10\u207b\u2076 m\u00b3) \/ (1.380649 \u00d7 10\u207b\u00b2\u00b3 J\/K \u00d7 300 K)\nN = 0.100 J \/ (4.142 \u00d7 10\u207b\u00b2\u00b9 J)\nN = 2.414 \u00d7 10\u00b9\u2079\n<strong>Answer: N \u2248 2.41 \u00d7 10\u00b9\u2079 molecules<\/strong>\nCross-check with moles: n = PV\/RT = 4.01 \u00d7 10\u207b\u2075 mol, and multiplying by Avogadro&#8217;s number 6.022 \u00d7 10\u00b2\u00b3 gives 2.41 \u00d7 10\u00b9\u2079. The two routes agree, as they must, since R = N_A \u00b7 k_B.\n<\/div><\/details><\/div>\n<h2>Frequently Asked Questions<\/h2>\n<details class=\"pf-faq-item\"><summary>Can I use Celsius in the ideal gas law?<\/summary><div class=\"pf-faq-item-answer\">\nNo \u2014 temperature in PV = nRT must always be in kelvin. The law states that pressure is directly proportional to temperature, which is only true on an absolute scale starting at absolute zero. Using Celsius predicts zero pressure at 0 \u00b0C and negative pressure below it, which is meaningless. Convert with T(K) = T(\u00b0C) + 273.15.\n<\/div><\/details>\n<details class=\"pf-faq-item\"><summary>What is R in the ideal gas law?<\/summary><div class=\"pf-faq-item-answer\">\nR is the universal gas constant, equal to 8.314 J\/(mol\u00b7K). It is the same value for every gas, which is what makes the ideal gas law so powerful. Its numerical value changes with your choice of units \u2014 0.08206 L\u00b7atm\/(mol\u00b7K) is common in chemistry \u2014 but the physical constant is unchanged. R equals Avogadro&#8217;s number multiplied by the Boltzmann constant.\n<\/div><\/details>\n<details class=\"pf-faq-item\"><summary>Is the molar volume of a gas always 22.4 litres?<\/summary><div class=\"pf-faq-item-answer\">\nNo, and this trips up a lot of students. 22.4 L\/mol applies only at 0 \u00b0C and 1 atm, an older definition of standard temperature and pressure. Using the modern IUPAC standard of 0 \u00b0C and 100 kPa, molar volume is 22.7 L\/mol. At 25 \u00b0C and 1 atm it is about 24.5 L\/mol. Always check which standard is meant.\n<\/div><\/details>\n<details class=\"pf-faq-item\"><summary>What is the difference between PV = nRT and PV = NkT?<\/summary><div class=\"pf-faq-item-answer\">\nThey are the same law counted two different ways. PV = nRT counts the gas in moles, n, using the molar gas constant R. PV = Nk_BT counts individual molecules, N, using the Boltzmann constant k_B. The two connect through Avogadro&#8217;s number: N = n \u00d7 N_A, and R = N_A \u00d7 k_B. Use moles for chemistry, molecules for statistical physics.\n<\/div><\/details>\n<details class=\"pf-faq-item\"><summary>When does the ideal gas law fail?<\/summary><div class=\"pf-faq-item-answer\">\nThe ideal gas law fails at high pressure and at low temperature, especially near the point where a gas condenses. At high pressure the molecules&#8217; own volume is no longer negligible; at low temperature, intermolecular attractions become significant. Under ordinary conditions the error is under 1%. When accuracy matters, the van der Waals equation corrects for both effects.\n<\/div><\/details>\n<details class=\"pf-faq-item\"><summary>Do I use gauge pressure or absolute pressure in PV = nRT?<\/summary><div class=\"pf-faq-item-answer\">\nAlways absolute pressure. A pressure gauge reads the difference between the gas and the surrounding atmosphere, so a tyre showing 220 kPa actually holds air at roughly 321 kPa absolute. Convert first: P_absolute = P_gauge + P_atmospheric, taking atmospheric pressure as about 101 kPa at sea level. Forgetting this is one of the most common sources of wrong answers.\n<\/div><\/details>\n","protected":false},"excerpt":{"rendered":"<p>The ideal gas law, PV = nRT, links a gas&#8217;s pressure, volume, amount and absolute temperature in a single equation that works for every gas. This guide covers the formula, the molecular reason behind it, eight worked problems, and the four errors that cost the most marks.<\/p>\n","protected":false},"author":1,"featured_media":452,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[283,282,281,280,28],"class_list":["post-451","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thermodynamics","tag-gas-laws","tag-ideal-gas-law","tag-kinetic-theory","tag-pvnrt","tag-thermodynamics"],"_links":{"self":[{"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=451"}],"version-history":[{"count":3,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":456,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/posts\/451\/revisions\/456"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/media\/452"}],"wp:attachment":[{"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/physicsfundamentalsinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}