Solve gas moles using flexible units today. Review constants and unit choices before final calculations. View clear results, charts, exports, and reference data instantly.
| Item | Value |
|---|
n = PV / (ZRT)
Here, n is moles, P is absolute pressure, V is volume, T is absolute temperature, R is the gas constant, and Z is the compressibility factor. Set Z = 1 for ideal gas behavior.
n = m / M
Use this when the sample mass and molar mass are known. The calculator converts the entered mass and molar mass to compatible units first.
n = N / NA
Here, N is the particle count and NA is Avogadro’s constant, 6.02214076 × 1023.
n = V / Vm
At STP, each mole occupies a molar volume. This value depends on the convention used, so the calculator lets you choose the STP standard.
| Scenario | Method | Inputs | Result |
|---|---|---|---|
| Classic STP sample | Ideal gas law | 1.000 atm, 22.414 L, 273.15 K, Z = 1.00 | 1.000 mol |
| Compressed gas sample | Ideal gas law | 2.000 atm, 10.000 L, 300.00 K, Z = 1.00 | 0.812 mol |
| Real gas correction sample | Ideal gas law with Z | 1.200 atm, 3.500 L, 310.00 K, Z = 0.98 | 0.169 mol |
| Mass conversion sample | n = m / M | 88.00 g sample, 44.00 g/mol molar mass | 2.000 mol |
| Particle conversion sample | n = N / Nₐ | 3.011 × 10²³ particles | 0.500 mol |
A moles of gas calculator helps convert measurable gas properties into chemical amount. In laboratory work, process calculations, and classroom exercises, chemists often start with pressure, volume, and temperature. That makes the ideal gas law the most common route to finding moles. Still, some tasks begin with a weighed sample, a particle count, or a known volume at standard conditions. This page supports all of those paths in one place.
The calculator accepts multiple unit systems for pressure, volume, temperature, mass, and molar mass. This reduces manual conversion mistakes and makes comparison easier. For gases that behave nearly ideally, keep the compressibility factor at 1. When you want a simple correction for non-ideal behavior, enter a more appropriate Z value. The result section then reports the calculated amount and several related quantities such as molecules, concentration, density, and equivalent STP volume where relevant.
The built-in Plotly graph gives a quick visual check of how the calculated amount changes with pressure, volume, or temperature in the ideal-gas mode. That is useful for teaching, troubleshooting, and report preparation. The export tools also help you move the final table into a spreadsheet or a shareable document. Combined with the example data table, this makes the page useful for both learning and applied chemistry work.
It uses n = PV / (ZRT). Set Z to 1 for ideal gas behavior. Use a different Z value when you want a simple real-gas correction.
Use n = m / M when you know sample mass and molar mass. This method is direct and avoids pressure, volume, and temperature inputs.
Yes. Enter the particle count in scientific notation when needed. The calculator divides by Avogadro’s constant to return moles.
Z adjusts the ideal gas law for non-ideal behavior. Values near 1 behave almost ideally. Larger deviations can noticeably change the computed amount.
Use classic STP for 22.414 L/mol at 1 atm. Use IUPAC STP for 22.711 L/mol at 1 bar. Match the convention used in your source.
Yes. It converts pressure, volume, temperature, mass, and molar mass units before calculation. The result table also shows common converted values.
The result can include molecules, equivalent mass, concentration, density, and STP volume estimates. These outputs depend on the method and optional inputs.
Yes. Use CSV for spreadsheet work and PDF for document sharing. The exported table reflects the latest visible result set.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.