Home / Ideal Gas Law Calculator

Ideal Gas Law Calculator

The ideal gas law relates absolute pressure, gas volume, amount of substance and absolute temperature.

How to use this calculator

  1. Enter absolute pressure, volume in litres and temperature in Celsius.
  2. Confirm that all inputs use the stated units and the same population, period or scope.
  3. Change one assumption at a time when comparing scenarios.

Formula used by the ideal gas law calculator

n = PV/(RT)

  • n = PV/(RT)
  • Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.
  • Inputs are validated against required ranges and outputs are rounded for readability.

Worked examples

Worked example

101.325 kPa, 24.465 L and 20°C.

The calculation estimates moles under ideal-gas assumptions.

The calculation estimates moles under ideal-gas assumptions.

Understanding the result

The ideal gas law relates absolute pressure, gas volume, amount of substance and absolute temperature.

Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.

Important notes

Use absolute pressure, consistent units and temperature above absolute zero; real-gas effects may matter.

Use the result as a calculation aid for the inputs supplied; confirm critical specifications independently.

Frequently asked questions

Why use Kelvin?

Gas-law relationships require absolute temperature rather than a relative Celsius scale.

Can gauge pressure be entered?

Convert gauge pressure to absolute pressure first.

How do I use this calculator?

Enter absolute pressure, volume in litres and temperature in Celsius.

Affiliate recommendations

Tools related to Ideal Gas Law Calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep Visit partner ↗

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Ideal Gas Pressure Calculator — Estimate ideal-gas pressure from amount of gas, absolute temperature and container volume using SI units.
  • Ohm's Law Calculator — Calculate voltage, current, or resistance from the other two electrical quantities.
  • Coulomb’s Law Calculator — Estimate electrostatic force between two point charges and determine whether their signs imply attraction or repulsion.
  • Conductor Resistance from Resistivity Calculator — Estimate conductor resistance from material resistivity, length and cross-sectional area with unit conversion.
  • Solution Dilution Calculator — Estimate final concentration and solvent volume using solute conservation in a dilution.
  • Spring Force Calculator — Calculate ideal spring force magnitude from a spring constant and displacement using Hooke’s law.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • Simple Interest Formula and Examples — Learn the simple interest formula, how to solve for principal, rate, time, and final amount.
  • Percent Difference — Understand percent difference, when it is appropriate, and how it differs from percentage change and percent error.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Ideal Gas Pressure Calculator — Estimate ideal-gas pressure from amount of gas, absolute temperature and container volume using SI units.
  • Spring Force Calculator — Calculate ideal spring force magnitude from a spring constant and displacement using Hooke’s law.
  • Transformer Turns Ratio Calculator — Estimate ideal transformer secondary voltage from primary and secondary winding turns and primary voltage.
  • Capacitive Reactance Calculator — Calculate ideal capacitive reactance from AC frequency and capacitance.
  • Ohm's Law Calculator — Calculate voltage, current, or resistance from the other two electrical quantities.
  • Conductor Resistance from Resistivity Calculator — Estimate conductor resistance from material resistivity, length and cross-sectional area with unit conversion.
Browse by categoryScience & Electronics CalculatorsHealth & Fitness CalculatorsBusiness CalculatorsEveryday ToolsConstruction CalculatorsDate & Time Calculators

Task collections

  • Science & Electronics Calculators — Free science and electronics calculators for projectile motion, force, buoyancy, fluid pressure, Reynolds number, heat transfer, capacitors, RC time constants, resistance, and electrical relationships.
  • Home Project Calculators — Free home and construction calculators for square footage, roofing, stairs, tile, concrete, framing stud counts, steel plate weight, siding, countertops, insulation, and material estimates.
  • Business & Work Calculators — Free business and work calculators for ROI, markup, break-even, sales commission, DSO/DPO, customer-acquisition payback, weighted sales pipelines, labour cost per unit, FTE staffing, email growth, and creator RPM.
  • Everyday Money Calculators — Free money and operating calculators for salary, overtime, VAT, pricing, budgets, fuel costs, receivables and payables days, acquisition payback, staffing, email-list growth, and creator RPM estimates.

Related guides

  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.
  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.

Related terms

  • Density — Understand density, mass, volume, and the basic density formula used in science and measurement.
  • Discount — Understand discounts, percent-off pricing, and how to calculate the amount saved and the final price.
  • Markup — Learn what markup means, how markup is calculated from cost and selling price, and how it differs from margin.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.