Boneyard Tools

Avogadro's Law Calculator

This solver works with Avogadro's Law, V1 / n1 = V2 / n2, which says a gas's volume is proportional to its amount in moles when temperature and pressure hold steady. Enter any three of the four quantities, choose which one is unknown, and the tool returns the fourth. Because only the ratio matters, volumes can be in any unit you like, and every step runs locally in your browser.

How to use the Avogadro's Law calculator

  1. Choose the unknown from the Solve for dropdown (V1, n1, V2, or n2).
  2. The row you selected greys out and is marked (unknown); leave it blank.
  3. Type the other three values, using moles for n1 and n2 and any consistent unit for the volumes.
  4. Read the four-cell result grid, where the solved quantity is highlighted.
  5. Use Copy to save V1, n1, V2, and n2 as labeled text.

Examples

Solve for the final volume

Solve for V2, V1 = 10, n1 = 2, n2 = 4
V2 = 20

Solve for the final moles

Solve for n2, V1 = 8, n1 = 2, V2 = 20
n2 = 5

Solve for the initial volume

Solve for V1, n1 = 2, V2 = 20, n2 = 4
V1 = 10

Frequently asked questions

What is Avogadro's Law?

At fixed temperature and pressure, the volume of a gas is directly proportional to the number of moles present, written V1 / n1 = V2 / n2. Doubling the moles doubles the volume, which is why inflating a balloon adds both gas and size together.

Which units should I enter?

Amounts n1 and n2 are in moles. Volumes can be in litres, millilitres, cubic metres, or anything else, as long as V1 and V2 use the same unit, because the law depends only on the ratio.

Do temperature and pressure have to stay the same?

Yes. Avogadro's Law is valid only when temperature and pressure are held constant. If either changes between the two states, switch to the combined gas law or the ideal gas law, which include those variables.

How many values do I need?

Exactly three of V1, n1, V2, and n2. The Solve for dropdown blanks the fourth; if you also clear one of the others, the calculator reports that it needs exactly three inputs.

Why does it reject zero or negative numbers?

A real gas sample has a positive volume and a positive number of moles, so every entered value must be greater than zero. Zero or negative entries trigger an error instead of an unphysical answer.

Does it tell me the actual molecule count?

No. It compares two states as a ratio and returns the missing volume or mole figure, not an absolute particle count. To turn moles into molecules, multiply by Avogadro's number, about 6.022 x 10^23.

How is this different from the ideal gas law?

The ideal gas law PV = nRT ties pressure, volume, moles, and temperature together at once. Avogadro's Law is the special slice of it where pressure and temperature are frozen, leaving just volume and moles in proportion.

Can I use it for a reaction's gas volumes?

Yes. For gases at the same temperature and pressure the mole ratio equals the volume ratio, so reacting-gas volumes follow the same proportion. This is the basis of the law of combining volumes.

Is my input sent to a server?

No. The solver runs entirely in your browser with JavaScript, so the numbers you enter are never transmitted or stored elsewhere.

Learn more

Related tools