What this planner estimates

A lunar surface habitat must survive a long, cold night. Near the equator, the Sun can be absent for roughly 14 Earth days (about 336 hours), and external temperatures can drop dramatically. If your habitat needs continuous heat and electrical power, you must either store energy (electrical or chemical) or store heat directly in a thermal battery.

This calculator estimates the thermal storage mass and storage volume required to supply a constant power demand for a chosen night duration. It also generates two quick comparison scenarios: reduced power demand and a higher heat-capacity storage material.

Inputs, units, and assumptions

  • Habitat power demand (kW): average continuous power that must be supplied during the night. If your heaters cycle, use a realistic average.
  • Night duration (days): number of Earth days without solar input. A common planning value is 14 days.
  • Specific heat (kJ/kg·K): effective heat capacity of the storage medium over the operating temperature range.
  • Usable temperature swing ΔT (K): how much the storage medium can cool while still delivering useful heat.
  • Storage efficiency (0–1): a catch-all factor for losses (heat leakage, imperfect heat transfer, conversion losses). For example, 0.8 means 80% of stored heat is usable.
  • Density (kg/m³): used to convert mass to volume for packaging and excavation estimates.

The calculation assumes sensible heat storage (no phase change term). If you use a phase-change material, you can approximate its benefit by increasing the effective specific heat (or by adding margin outside this tool).

Formula used

The required stored energy is computed from constant power over time:

Energy (kWh) = P(kW) × 24 × D(days)

The calculator converts kWh to kJ (1 kWh = 3600 kJ) and then solves for mass using sensible heat:

Mass (kg) = Energy(kJ) ÷ (cp(kJ/kg·K) × ΔT(K) × η)

Finally, volume is computed from density:

Volume (m³) = Mass(kg) ÷ Density(kg/m³)

How to use: Worked example (using the default values)

Suppose a small habitat needs 5 kW continuously for a 14-day night. You plan to store heat in a dense material (e.g., regolith-derived ceramic) with cp = 1.4 kJ/kg·K, a usable temperature swing of ΔT = 200 K, and an overall efficiency of η = 0.8.

  1. Energy required: 5 × 24 × 14 = 1680 kWh
  2. Convert to kJ: 1680 × 3600 = 6,048,000 kJ
  3. Mass: 6,048,000 ÷ (1.4 × 200 × 0.8) ≈ 27,000 kg
  4. Volume at 3000 kg/m³: 27,000 ÷ 3000 = 9.0 m³

Your exact output will match the calculator’s table. Use the scenario rows to see how insulation (lower power) or improved materials (higher effective heat capacity) change the required mass and volume.

Design notes and limitations

This is a first-order sizing tool. Real systems may need additional margin for: variable loads, thermal stratification, temperature-dependent material properties, heat exchanger limits, and standby losses that change with geometry and insulation quality. If you are planning a mission architecture, treat the result as a baseline and add engineering margin.

Also note that this tool sizes a thermal reservoir. If your habitat requires electricity, you may need a conversion stage (e.g., Stirling engine, thermoelectrics), which can be represented by lowering the efficiency input.

Related tools

Designers evaluating regolith processing can explore the Lunar Regolith Microwave Sintering Energy Calculator to estimate fabrication energy needs. Concepts that use latent heat can reference the Insulin Cooler Ice Pack Rotation Scheduler as a practical example of thermal storage planning. For terrestrial analogs, the Sand Battery Thermal Storage Calculator provides additional context.

Frequently asked questions

Introduction: Why does density change volume but not mass?

Mass is set by energy capacity (cp, ΔT, and efficiency). Density only affects how much space that mass occupies.

What should I use for efficiency?

If you have a well-insulated buried storage block with good heat transfer, values like 0.7–0.9 may be plausible for a conceptual study. If you must convert heat to electricity, overall efficiency can be much lower; represent that by reducing η.

Does this include phase-change latent heat?

No. If you use a phase-change material, you can approximate the benefit by increasing the effective specific heat input, but detailed design requires a separate model.

Why lunar habitats need thermal batteries

The Moon rotates slowly, producing days and nights that each last about two Earth weeks. During the lunar day, a base bathed in sunlight can collect abundant solar energy. When the Sun sets, however, temperatures plunge and remain low for approximately 336 hours. Engineers designing early outposts must store enough heat or electrical energy during the long night to keep instruments and crew alive. Batteries and fuel cells provide one option, but another approach is to store heat directly in a massive thermal reservoir.

A thermal battery is simply a material heated to a high temperature whose stored energy is later released to warm the habitat. Regolith, salt melts, or engineered phase-change materials can all serve as the storage medium. Determining how much mass is required depends on the habitat’s power demand, the duration of the night, the material’s specific heat capacity, the allowed temperature swing, and losses due to inefficiency. This calculator converts those parameters into an estimated mass and volume, guiding architects as they weigh different storage strategies.

Model and formula (reference)

The basic energy balance equates the required thermal energy to the amount that can be stored in the material. If P is the continuous power demand in kilowatts, D the night duration in days, cp the specific heat in kilojoules per kilogram per kelvin, ΔT the useful temperature swing, and η the round-trip efficiency, then the necessary mass m is:

m = P·24D·3600 cp·ΔT·η

Breaking down the variables:

  • P: continuous power demand in kilowatts.
  • D: length of lunar night in days.
  • cp: specific heat of storage material in kilojoules per kilogram per kelvin.
  • ΔT: temperature swing the material experiences between charged and discharged states.
  • η: fraction of stored energy delivered to the habitat after losses.

The term 24D converts days to hours, and multiplying by 3600 transforms kilowatt-hours into kilojoules to match units with cp. Density ρ converts mass to volume via V=mρ.

Practical tips

This planner assumes constant power demand and ignores radiative heat loss to space other than that captured in the efficiency term. Real habitats will experience variable loads: heaters cycle, equipment operates intermittently, and crew activity fluctuates. Adding margin to the calculated mass is prudent to account for unmodeled losses and degradation over repeated thermal cycles.

Material properties at cryogenic temperatures can differ markedly from room-temperature values. Specific heat often decreases as temperature drops, and some materials may undergo structural changes. Experimental data is essential before committing to a design. Furthermore, the thermal mass must be well insulated to prevent excessive heat leakage during the day or night. Advanced vacuum jackets or buried configurations can reduce unwanted losses.

The heat transfer mechanism between the storage block and habitat also matters. Conductive links, heat pipes, or circulating fluids each impose their own design constraints. Inefficient transfer can trap heat in the block, reducing usable energy. Safety is another consideration: if the material operates at very high temperatures, shielding or distance may be required to protect equipment and crew.

Despite these challenges, thermal batteries provide a compelling option for early lunar bases, especially when combined with solar concentrators that can heat regolith or salts directly. As launch costs decline and human presence on the Moon grows, such storage systems could complement or even replace electrochemical batteries, offering long-lived, maintenance-free heat reservoirs.

Average continuous power required during the night (heating + essential loads).

Typical lunar night is about 14 days (~336 hours), but varies with latitude and terrain.

Use an effective value over your operating temperature range.

How much the storage medium can cool while still delivering useful heat.

Captures losses from insulation, heat transfer, and any conversion stages.

Used to estimate packaging/excavation volume. Does not change energy required.

Status messages will appear here.

Arcade Mini-Game: Lunar Night Thermal Battery Mass Planner Calibration Run

Use this quick arcade run to practice separating useful scenario inputs from common planning mistakes before you rely on the calculator output.

Score: 0 Timer: 30s Best: 0

Start the game, then use your pointer or arrow keys to catch useful inputs and avoid bad assumptions.