How to use this calculator

Enter Pressure, Volume, Temperature. The calculator applies the stated relationship and keeps full precision until the displayed result is formatted.

The method

n = PV / RT

The calculator evaluates this relationship using standard real-number arithmetic. Intermediate values keep full floating-point precision before the displayed result is formatted.

WORKED EXAMPLE

Pressure: 101325 Pa, Volume: 0.024 m^3, Temperature: 298.15 K

Moles: 0.980977 mol

Change any input to calculate your own result.

Scope and limitations

Uses real-number arithmetic and the units stated beside each input. Results are estimates when the inputs are estimates.

Verify important decisions independently and see our methods and limitations.

Common questions

Can I enter custom values?

Yes. Replace any example value in the input fields and select Calculate to compute your result.

How is the calculation performed?

All calculations run client-side in your browser with real-time numeric evaluation. No values are transmitted or stored.