Density Calculator Based on Temperature

Analyze temperature effects quickly with precise density models. Compare presets, custom values, and plotted trends. Export clean results for reports, study, and review tasks.

Calculator Inputs

Reset

Thermal mode uses a linear expansion approximation. Gas mode uses the ideal gas equation at fixed pressure.

Formula Used

1) Thermal Expansion Model

ρ(T) = ρref / [1 + β(T - Tref)]

  • ρ(T) = density at target temperature
  • ρref = density at reference temperature
  • β = volumetric expansion coefficient
  • T = target temperature
  • Tref = reference temperature

2) Ideal Gas Model

ρ = PM / RT

  • P = absolute pressure in pascals
  • M = molar mass in kg/mol
  • R = universal gas constant
  • T = absolute temperature in kelvin

The thermal model is practical for many liquids and solids over moderate ranges. The gas model is appropriate when gas behavior is close to ideal and pressure stays constant.

How to Use This Calculator

  1. Select either the thermal model or the ideal gas model.
  2. Choose a preset material or gas, or enter custom values.
  3. Enter the reference temperature and the target temperature.
  4. Set the graph start, end, and step values.
  5. Click Calculate Density to view the result above the form.
  6. Review the graph and detailed table.
  7. Use the CSV or PDF buttons to export the current dataset.

Example Data Table

These examples are generated with the same equations used by the calculator. Water values remain approximations because real water behavior is not perfectly linear.

Material Model Temperature (°C) Density (kg/m³) Density (g/cm³)
Water Thermal 0 1,002.410123 1.002410
Water Thermal 20 998.200000 0.998200
Water Thermal 60 989.884966 0.989885
Ethanol Thermal 20 789.000000 0.789000
Air Gas 0 1.292498 0.001292
Air Gas 50 1.092513 0.001093

FAQs

1) What does this calculator estimate?

It estimates density at a chosen temperature. You can work with liquids or solids using thermal expansion, or gases using the ideal gas relation at fixed pressure.

2) Why does density change with temperature?

Most materials expand when heated. Mass stays the same, but volume increases, so density decreases. Cooling usually does the reverse and raises density.

3) Is the thermal model exact for water?

No. Water behaves nonlinearly, especially near 4°C. This page uses a linear approximation, which is useful for quick estimates over limited temperature ranges.

4) When should I use the gas model?

Use it for gases when pressure is known and ideal behavior is acceptable. It works well for many engineering and classroom problems away from condensation and extreme pressures.

5) What is the β coefficient?

β is the volumetric expansion coefficient. It shows how strongly a material’s volume changes with temperature. Larger β values usually create larger density changes.

6) Why is a reference temperature required?

Density is usually known at a standard temperature, not every temperature. The calculator uses that reference point to estimate density at your target condition.

7) What do the export buttons save?

The CSV and PDF exports save the current calculated dataset shown in the graph table, along with a short summary of the active result.

8) Which units are included?

Density is shown in kg/m³ and g/cm³. Gas inputs also support Pa, kPa, MPa, bar, and atm for convenient pressure entry.

Related Calculators

angle calculator sin cos tanangle calculator sin cos tanhardness test conversion calculatorvickers to rockwell hardness conversion calculatorplastic section modulus calculatordensity to specific gravity calculatoratoms to mass calculatorbolt shear stress calculatorwarping constant calculatorbeam natural frequency calculator

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.