Number Density Calculator
Find how many particles sit in each unit of volume from a count, from a material's density and molar mass, or from an ideal gas, and see how far apart they are.
🔢 What is Number Density?
Number density is the number of particles in each unit of volume. It is written n and defined by n = N / V, where N counts atoms, molecules, electrons, ions or any other countable objects. Its SI unit is per cubic metre (m-3), though per cubic centimetre (cm-3) is used throughout atomic physics, semiconductor physics and astrophysics. Typical values span an enormous range: a solid has about 1028 to 1029 atoms per m³, air at sea level about 2.5 × 1025 molecules per m³, a laboratory ultra-high vacuum perhaps 1013 per m³, and the interstellar medium only around 106 per m³.
Number density is the starting point for many other quantities. The mean spacing between particles, n-1/3, tells you how crowded a material is and whether a gas can be treated as ideal. The mean free path of a molecule, the collision rate, the plasma frequency, the electrical conductivity of a metal, the absorption of light and the rate of nuclear reactions all depend on how many targets or carriers there are per unit volume. Vacuum engineers quote residual gas in particles per cm³, and semiconductor designers quote doping in atoms per cm³.
Number density should not be confused with mass density. Mass density counts mass per volume, while number density counts particles per volume; they are linked by the mass of one particle, so n = ρ NA / M when M is the molar mass. It also differs from molar concentration, which counts moles per volume (n = c NA), and from the density of an ideal crystal calculated from its lattice parameters, which is the job of the unit cell density calculator. The count of particles in a mole is explained on the Avogadro's number calculator, and the general mass, volume and density relation is on the density calculator.
This calculator has three modes. Count and volume divides a particle count (or moles) by a volume. Mass density converts a density and molar mass into atoms per cm³, with a table that compares common materials. Ideal gas finds n = P / (kB T) from the pressure and temperature, and shows how the result compares with the Loschmidt constant. Every mode also reports the mean spacing and the Wigner-Seitz radius. Material values are typical illustrative figures near room temperature, not specifications.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 — One Mole in 22.414 Litres
1 mol of particles in 22.414 L (the ideal gas molar volume at 0 °C and 1 atm)
Example 2 — A Dilute Plasma Chamber
3 × 1015 particles in 1 cm³
Example 3 — Atoms in Copper
Copper: 8.96 g/cm³ and 63.546 g/mol, one atom per formula unit
Example 4 — Molecules and Atoms in Water
Water: 0.9982 g/cm³, 18.015 g/mol, 3 atoms per molecule
Example 5 — Air at 0 °C and 1 atm
Ideal gas at 101325 Pa and 273.15 K
Example 6 — An Ultra-High Vacuum
Pressure 10-9 Torr at 300 K
❓ Frequently Asked Questions
🔗 Related Calculators
What is number density?
Number density is the number of particles per unit volume, n = N / V. Its SI unit is per cubic metre (m^-3), although cm^-3 is common in physics and chemistry. It is different from mass density, which is mass per volume.
How do I calculate atoms per cm3 from density and molar mass?
Use n = rho N_A / M, with rho in g/cm3, M in g/mol and N_A = 6.02214076e23 per mol. Copper at 8.96 g/cm3 and 63.546 g/mol gives 8.491e22 atoms per cm3.
What is the number density of an ideal gas?
It is n = P / (k_B T), where k_B = 1.380649e-23 J/K. At 0 C and 101.325 kPa the value is 2.687e25 m^-3, called the Loschmidt constant. It is the same for every ideal gas at the same pressure and temperature.
How is number density related to mass density?
Mass density equals number density times the mass of one particle, rho = n m. Equivalently n = rho N_A / M with molar mass M. For molecules with several atoms, multiply by the atoms per molecule to get the atom number density.
What is the mean spacing between particles?
The mean spacing is n^(-1/3), the side of the cube of volume 1/n that each particle occupies on average. For 8.491e28 m^-3 in copper it is about 0.2275 nm, and for a gas at 0 C and 1 atm it is about 3.34 nm.
How is this different from unit cell density?
Unit cell density gives the density of an ideal crystal from the lattice parameters and the atoms in the cell. Number density here is an average over a whole sample from its mass density and molar mass, with no crystal structure needed.
How is number density different from molar concentration?
Molar concentration counts moles per volume, so number density equals molar concentration times Avogadro's number, n = c N_A. A solution of 1 mol/L has 6.022e23 per litre, or 6.022e26 per cubic metre.
How do I convert number density from m^-3 to cm^-3?
Multiply by 1e-6, because a cubic metre holds 1e6 cubic centimetres. So 2.687e25 m^-3 is 2.687e19 cm^-3. The results panel shows both.