Gas Laws Calculator
Calculate pressure, volume, temperature, and moles using the Ideal Gas Law, Boyle's Law, Charles's Law, and Gay-Lussac's Law.
Gas Laws Calculator
Solve for any one variable given the other three
At constant temperature and moles, pressure and volume are inversely proportional
At constant pressure and moles, volume and temperature are directly proportional
At constant volume and moles, pressure and temperature are directly proportional
Results
How It Works
Ideal Gas Law
The Ideal Gas Law relates the pressure, volume, temperature, and amount of an ideal gas:
PV = nRT
- P = Pressure
- V = Volume
- n = Number of moles
- R = Gas constant (0.08206 L·atm/mol·K)
- T = Temperature (in Kelvin)
Boyle's Law (Constant T, n)
At constant temperature and amount of gas, pressure and volume are inversely proportional:
P₁V₁ = P₂V₂
When volume decreases, pressure increases, and vice versa. This is why a sealed syringe resists being compressed.
Charles's Law (Constant P, n)
At constant pressure and amount of gas, volume and temperature are directly proportional:
V₁/T₁ = V₂/T₂
When temperature increases, volume increases. This is why a balloon expands when heated.
Gay-Lussac's Law (Constant V, n)
At constant volume and amount of gas, pressure and temperature are directly proportional:
P₁/T₁ = P₂/T₂
When temperature increases, pressure increases. This is why an aerosol can becomes dangerous when heated.
Gas Constant (R) Values
- 0.08206 L·atm / (mol·K)
- 8.314 J / (mol·K) or Pa·m³ / (mol·K)
- 8.314 kPa·L / (mol·K)
- 62.364 L·mmHg / (mol·K)
Standard Conditions
- STP: 0 °C (273.15 K) and 1 atm — 1 mol of gas occupies 22.414 L
- NTP: 20 °C (293.15 K) and 1 atm
- SATP: 25 °C (298.15 K) and 1 bar
Related Utils
Feedback
Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.
Sending...
Feedback sent. Thank you!
Error occurred!
-
-
-
-
-
-
-
- ABI Encoder / Decoder
- Block Estimator
- Calldata Cost
- CREATE2 Address
- ENS Availability
- ENS Cost Estimator
- ENS Lookup
- ENS Namehash
- ENS Record Viewer
- ENS Subname Explorer
- ERC-20 Unit Converter
- Gas Estimator
- HD Wallet Derivation
- Merkle Tree Visualizer
- 4-Byte Selector Lookup
- Solidity Storage Layout
- Transaction Decoder
- Vanity Address Estimator
- Wallet Address Validator
- Wei/Gwei/Ether Converter
-
-
-
-
-
- API Response
- ASCII Table
- Code Bug Detector
- Code Explanation
- CSS Beautifier
- Env Parser
- GraphQL Query
- Syntax Highlight
- HTML Beautifier
- JS Beautifier
- JSON Formatter
- JSONPath
- JWT Decoder
- JS keyCodes
- API Lorem Ipsum
- RegExp
- Regex Library
- Semver Compare
- SQL Beautifier
- TOML Formatter
- Code Unminifier
- XML Beautifier
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Amortization
- Break-Even
- Compound Interest
- Crypto Profit/Loss
- Debt Payoff
- Discount
- Effective Interest
- Emergency Fund
- Inflation Calculator
- Simple Interest
- Invoice Calculator
- IRR Calculator
- Mortgage
- NPV Calculator
- Portfolio
- Profit Margin
- Rent vs Buy
- Retirement Calc
- ROI Calculator
- Salary vs Hourly
- Savings Goal
- Tax Calculator
- VAT
-
-
-
-
-
-
-
-
-
-
-
-
- Equation Solver
- Exponent Calculator
- Factorial Calculator
- Fibonacci Sequence
- Fraction Calculator
- Fraction Simplifier
- GCD Calculator
- GCD/LCM
- Least Common Multiple (LCM) Calculator
- Logarithm Calculator
- Magic Square
- Matrix Calculator
- Number Base Converter
- Pascal's Triangle
- PDE Solver
- Prime Checker
- Prime Factorization
- Roman Numbers
- Scientific Notation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Broken Link Checker
- Canonical URL Checker
- Core Web Vitals Checker
- Favicon
- Heading Structure
- Keyword Density
- Meta Tags
- Mobile-Friendly Test
- Open Graph Tags
- Page Load Time Analyzer
- Redirect Checker
- robots.txt
- Schema Markup
- SEO Optimized Checklist
- XML Sitemap
- Time on Page Tracker
- Page Title & Desc.
- Twitter Card Generator
-
-
-
-
-
-
- Acceleration
- Substance Amount
- Angle
- Area
- Astronomical
- Base Converter
- Capacitance
- Electric Charge
- Data Transfer
- Data Storage
- Density
- Energy Converter
- Force Converter
- Frequency Converter
- Fuel Economy
- Illuminance
- Inductance
- Length / Distance
- Power
- Pressure
- Electrical Resistance
- Time
- Speed
- Temperature
- Viscosity
- Volume
- Weight
-
-
-
-
-