VECTOR LAB
Your first experiment

Choose a formula. Change a value. Inspect what moves.

The result, worked steps, and live model stay connected. Start with any subject—the calculations stay on this device.

Ideal Gas Law Calculator

The ideal gas law connects absolute pressure, volume, amount, and absolute temperature. This tool solves P = nRT/V using R = 0.0821 L·atm/(mol·K).

Worked example: For 1 mol at 298 K in 24.5 L, P = 1 × 0.0821 × 298/24.5 ≈ 0.999 atm. Halving volume at fixed temperature doubles pressure.

Assumptions and units: Temperature must be in kelvin and volume in liters. Pressure is absolute, not gauge pressure. Real gases deviate most strongly at high pressures and low temperatures.

Read the full lesson and self-check

calculated in real time

Select a formula, tune the variables, and see the model respond. No black box — just a clearer way to think.

active module
Chemistry / Ideal gas
Chemistry / instrument

Ideal gas law

Relate pressure, volume, amount, and temperature.

P = nRT ÷ V
Live 3D graph
Ideal gas law live 3D graphA two-input result surface, not a physical object. Each axis has its own scale. Held fixed: Volume = 24.5 L. Gaps indicate undefined samples or magnitudes ≥ 10¹². Integer-step inputs are sampled at whole values. Axes: Amount (mol), Temperature (K), Result (atm). Ideal gas law: 0.9986 atm0.511.52Amount (mol)200400Temperature (K)02Result (atm)Current result: 0.9986 atm
Live inputs
24° tilt / -35° orbit / 1.00x
  • Amount (mol): 0.01 to 2
  • Temperature (K): 74.5 to 521.5
  • Result (atm): -0.3498 to 3.848
  • Live value marker
  • Result graph (independent scales)

A two-input result surface, not a physical object. Each axis has its own scale. Held fixed: Volume = 24.5 L. Gaps indicate undefined samples or magnitudes ≥ 10¹². Integer-step inputs are sampled at whole values.

Drag to orbit. Focus the graph and use arrow keys to rotate, +/− to zoom, or 0 to reset. Axis ranges adjust to keep the data in view.

Ideal gas law: 0.9986 atm

model notes

Each point uses the same formula as the calculator. Choose the input axes to explore a result curve or surface; the other inputs stay fixed. The amber marker shows your current calculation.

Graph updates
Live with every input
Object type
Ideal gas law
Press and drag anywhere on the model to inspect it from a new angle.

P = nRT / V

Enter the known quantities. The selected unknown is calculated, not entered.

Live result
0.999atm
step by step
  1. 01n = 1 mol, T = 298 K, V = 24.5 L
  2. 02P = (1 × 0.0821 × 298) ÷ 24.5
  3. 03P = 0.999 atm
unit converter
Converted result
100 cm
Learn from the result

A calculator that explains the numbers

Use Vector Lab as a visual study companion: change one variable, inspect the model, and connect the substitution steps to the result. The best way to learn a formula is to see which inputs actually control it.

Study the formulas: lessons and worked examples

Start with units

Check that quantities belong together before calculating. Use the converter when a problem gives measurements in different units.

Change one input

Vary one number while holding the others steady. This makes proportional, squared, and inverse relationships easier to recognize.

Read the steps

The worked substitution shows how the formula becomes a result. Compare it with your own setup before moving to the next problem.

Are the results saved?

Recent runs and practice progress are saved locally in this browser. No account is required, and the current calculator does not send those values to a server.

Can I use it for homework?

Yes, as a study companion. Use the steps and model to understand the setup, then verify the answer with your class materials or instructor.