Boneyard Tools

Charles's Law Calculator

This calculator solves Charles's Law, V1/T1 = V2/T2, the relationship that at constant pressure a fixed amount of gas expands in direct proportion to its absolute temperature. Choose which of the four quantities is unknown, enter the other three, and read the result. Temperatures can be given in Kelvin or Celsius, and Celsius values are converted to Kelvin by adding 273.15 before the ratio is worked out.

How to use the Charles's Law calculator

  1. Use the 'Solve for' dropdown to pick the unknown: Initial volume (V1), Initial temperature (T1), Final volume (V2), or Final temperature (T2).
  2. Set 'Temperature unit' to Kelvin (K) or Celsius (C).
  3. Type the three known values into their rows; the unknown row is greyed out and labelled (unknown).
  4. Read the four result tiles below, with the solved quantity highlighted.
  5. Click Copy to save all four values, with the temperature unit noted next to T1 and T2.

Examples

Solve for final volume in Kelvin

Solve V2, unit K: V1 = 2, T1 = 300, T2 = 600
V2 = 4

Solve for final volume from Celsius inputs

Solve V2, unit C: V1 = 2, T1 = 27, T2 = 327
V2 = 3.999

Solve for final temperature in Kelvin

Solve T2, unit K: V1 = 2, V2 = 3, T1 = 300
T2 = 450 K

Frequently asked questions

What is Charles's Law?

Charles's Law states that at constant pressure the volume of a fixed amount of gas is directly proportional to its absolute temperature. Written as a proportion between two states it becomes V1/T1 = V2/T2, so if you double the absolute temperature you double the volume.

Why must temperature be in Kelvin?

The proportion only holds on an absolute scale where zero means no thermal energy. This tool converts Celsius entries to Kelvin by adding 273.15, does the math, and converts the answer back to the unit you selected, so you never have to convert by hand.

What volume units can I use?

Any unit you like, such as litres, millilitres, or cubic metres, because only the ratio V2/V1 enters the equation. The one rule is that V1 and V2 must share the same unit, and the result comes back in that same unit.

How many values do I need to enter?

Exactly three of the four. The 'Solve for' dropdown marks the fourth as unknown and disables its input, and from any three known values the missing one is fully determined.

What happens with a Celsius temperature like 27 degrees?

It is treated as 300.15 K internally, not 300 K. That 0.15 offset is why solving V2 from V1 = 2, T1 = 27 C, T2 = 327 C returns 3.999 rather than an exact 4; the ratio 600.15 over 300.15 is fractionally below 2.

How is the answer rounded?

Results are rounded to six decimal places to avoid long floating-point tails. Values that land on a whole number, such as V2 = 4 or T2 = 450, display without decimals.

What if a temperature comes out at or below absolute zero?

That is physically impossible, so the calculator rejects any temperature that is zero Kelvin or below, whether you typed it directly or it was produced by the solve. In Celsius that means anything at or below -273.15 degrees is refused.

Can a volume be zero or negative?

No. Both V1 and V2 must be greater than zero, since a real gas sample occupies some space. Entering a non-positive volume produces an error instead of a result.

Is my data sent to a server?

No. The whole calculation runs locally in your browser using a pure function, so nothing you type is uploaded. If you need it in code, the same engine is available through the tool's JSON API.

Learn more

Related tools