{"id":55790,"date":"2015-10-08T15:46:28","date_gmt":"2015-10-08T13:46:28","guid":{"rendered":"http:\/\/wpcalc.com\/?p=55790"},"modified":"2026-09-29T14:57:47","modified_gmt":"2026-09-29T11:57:47","slug":"boyles-law","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/chemistry\/boyles-law\/","title":{"rendered":"Boyle\u2019s Law Calculator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Solve Boyle&#039;s Law Problems<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"55790\" data-favorite-title=\"Boyle\u2019s Law \" data-favorite-url=\"https:\/\/wpcalc.com\/en\/chemistry\/boyles-law\/\" data-favorite-excerpt=\"Use Boyle\u2019s law to find a gas\u2019s initial or final pressure or volume. Choose the unknown and enter the other three values, assuming constant temperature.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-wind-2\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/chemistry\/boyles-law\/\" method=\"POST\" class=\"calculator\" id=\"calculator-55790\" data-post=\"55790\"><fieldset class=\"fieldset-input is-1\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">I want to calculate<\/label><div class=\"grid grid-cols-1\"><select id=\"field-1\" name=\"i_want_to_calculate\"><option value=\"v2\">Final Volume (V\u2082)<\/option><option value=\"v1\">Initial Volume (V\u2081)<\/option><option value=\"p1\">Initial Pressure (P\u2081)<\/option><option value=\"p2\">Final Pressure (P\u2082)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-2\"><label for=\"field-2\">Initial Pressure (P\u2081)<\/label><div class=\"field-group\"><input type=\"number\" name=\"initial_pressure_p\" id=\"field-2\" step=\"any\" value=\"1\"\/><div class=\"grid grid-cols-1\"><select id=\"field-3\" name=\"units\" aria-label=\"Units\"><option value=\"atm\">atm<\/option><option value=\"pa\">Pa<\/option><option value=\"kpa\">kPa<\/option><option value=\"mmhg\">mmHg<\/option><option value=\"bar\">bar<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><\/div><div class=\"field\" id=\"input-3\"><label for=\"field-4\">Initial Volume (V\u2081)<\/label><div class=\"field-group\"><input type=\"number\" name=\"initial_volume_v\" id=\"field-4\" step=\"any\" value=\"1\"\/><div class=\"grid grid-cols-1\"><select id=\"field-5\" name=\"units\" aria-label=\"Units\"><option value=\"l\">L<\/option><option value=\"ml\">mL<\/option><option value=\"cm3\">cm\u00b3<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><\/div><div class=\"field\" id=\"input-4\"><label for=\"field-6\">Final Pressure (P\u2082)<\/label><div class=\"field-group\"><input type=\"number\" name=\"final_pressure_p\" id=\"field-6\" step=\"any\" value=\"2\"\/><div class=\"grid grid-cols-1\"><select id=\"field-7\" name=\"units\" aria-label=\"Units\"><option value=\"atm\">atm<\/option><option value=\"pa\">Pa<\/option><option value=\"kpa\">kPa<\/option><option value=\"mmhg\">mmHg<\/option><option value=\"bar\">bar<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><\/div><div class=\"field\" id=\"input-5\" hidden><label for=\"field-8\">Final Volume (V\u2082)<\/label><div class=\"field-group\"><input type=\"number\" name=\"final_volume_v\" id=\"field-8\" step=\"any\" value=\"0.5\"\/><div class=\"grid grid-cols-1\"><select id=\"field-9\" name=\"units\" aria-label=\"Units\"><option value=\"l\">L<\/option><option value=\"ml\">mL<\/option><option value=\"cm3\">cm\u00b3<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"55790\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Results<\/h3><div class=\"result-box\"><div class=\"field-result is-column is-grid\" id=\"output-1\"><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"55790\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">1<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Boyle\u2019s Law Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ P_1V_1=P_2V_2 \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(P_1\\) \u2014 initial pressure<\/li>\n<li>\\(V_1\\) \u2014 initial volume<\/li>\n<li>\\(P_2\\) \u2014 final pressure<\/li>\n<li>\\(V_2\\) \u2014 final volume<\/li>\n<\/ul>\n<p>For a fixed amount of gas at constant temperature, pressure multiplied by volume remains constant. Rearrange the equation to find any one of the four values when the other three are known.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Boyle\u2019s Law \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> A gas occupies 1 L at an initial pressure of 1 atm. What is its final volume if its pressure increases to 2 atm while its temperature stays constant?<\/p>\n<p>\\[ V_2=\\frac{P_1V_1}{P_2}=\\frac{(1\\,\\mathrm{atm})(1\\,\\mathrm{L})}{2\\,\\mathrm{atm}}=0.5\\,\\mathrm{L} \\]<\/p>\n<p><strong>Result:<\/strong> The final volume is 0.5 L.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>In <strong>I want to calculate<\/strong>, choose <strong>Final Volume (V\u2082)<\/strong>, <strong>Initial Volume (V\u2081)<\/strong>, <strong>Initial Pressure (P\u2081)<\/strong>, or <strong>Final Pressure (P\u2082)<\/strong>. The calculator hides the field for the value you selected.<\/li>\n<li>Enter the other three values in the visible <strong>Initial Pressure (P\u2081)<\/strong>, <strong>Initial Volume (V\u2081)<\/strong>, <strong>Final Pressure (P\u2082)<\/strong>, and <strong>Final Volume (V\u2082)<\/strong> fields as applicable.<\/li>\n<li>Choose the <strong>Units<\/strong> beside each entered value. Pressure inputs can use atm, Pa, kPa, mmHg, or bar. Volume inputs can use L, mL, or cm\u00b3.<\/li>\n<li>Read the calculated value below the fields. A calculated volume uses the unit selected for the volume you entered; a calculated pressure is shown in Pa.<\/li>\n<\/ol>\n<h2>What Boyle\u2019s law tells you<\/h2>\n<p>Boyle\u2019s law describes how the pressure and volume of a fixed amount of gas change when its temperature remains constant. Pressure and volume have an inverse relationship: if the pressure doubles, the volume halves. If the volume doubles, the pressure halves. The equation compares two states of the same gas, labeled \u201cinitial\u201d and \u201cfinal\u201d; it does not require you to know how long the change takes.<\/p>\n<p>The result is a prediction for the missing pressure or volume under those conditions. For example, a result of 0.5 L means the gas would occupy half a liter at the specified final pressure, not that 0.5 L of gas has been removed. A smaller volume corresponds to a higher pressure because the same gas particles have less space in which to move.<\/p>\n<p>This relationship is useful for checking pressure\u2013volume measurements and estimating the effect of compression or expansion. If temperature also changes, Boyle\u2019s law alone is not enough; use the <a href=\"https:\/\/wpcalc.com\/en\/chemistry\/combined-gas-law\/\">Combined Gas Law calculator<\/a>. If you need to relate pressure and volume to an amount of gas and temperature, see the <a href=\"https:\/\/wpcalc.com\/en\/chemistry\/ideal-gas-law\/\">Ideal Gas Law calculator<\/a>.<\/p>\n<h2>Assumptions and practical tips<\/h2>\n<ul>\n<li><strong>Keep the temperature and amount of gas constant.<\/strong> Heat gained or lost during compression, or gas entering or leaving the system, can change the actual result. A rapid compression may briefly heat the gas, so measurements taken immediately afterward may not match a constant-temperature prediction.<\/li>\n<li><strong>Use absolute pressure.<\/strong> Enter pressure measured relative to a vacuum, not gauge pressure measured relative to the surrounding air. For example, a gauge reading of 1 atm in an atmosphere at 1 atm corresponds to about 2 atm absolute.<\/li>\n<li><strong>Use positive, nonzero values.<\/strong> A zero pressure or volume can make a calculation undefined or physically meaningless. Check that the values describe two possible states of the same gas.<\/li>\n<li><strong>Match volume units when calculating pressure.<\/strong> Enter <strong>Initial Volume (V\u2081)<\/strong> and <strong>Final Volume (V\u2082)<\/strong> in the same unit. The calculator converts pressure inputs to Pa but does not convert between the two volume inputs when solving for pressure. Remember that 1 L = 1,000 mL = 1,000 cm\u00b3.<\/li>\n<li><strong>Allow for real-gas behavior.<\/strong> Boyle\u2019s law is a useful approximation, but real gases can deviate from it, particularly at high pressures or near condensation. An experimental result may also differ because of leaks or measurement uncertainty.<\/li>\n<\/ul>\n<p>For pressure conversion, 1 atm = 101,325 Pa, 1 kPa = 1,000 Pa, and 1 bar = 100,000 Pa. The calculator uses approximately 133.322 Pa per mmHg. If a gas mixture\u2019s total pressure is made up of several gases\u2019 partial pressures, the <a href=\"https:\/\/wpcalc.com\/en\/chemistry\/daltons-law\/\">Dalton\u2019s Law calculator<\/a> addresses that separate relationship.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Boyle\u2019s law to find a gas\u2019s initial or final pressure or volume. Choose the unknown and enter the other three values, assuming constant temperature.<\/p>\n","protected":false},"author":70,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[54],"tags":[55],"class_list":["post-55790","post","type-post","status-publish","format-standard","hentry","category-chemistry","tag-gases"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/55790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=55790"}],"version-history":[{"count":5,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/55790\/revisions"}],"predecessor-version":[{"id":65560,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/55790\/revisions\/65560"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=55790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=55790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=55790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}