Property libraries and simulation inputs

Thermodynamic property libraries, computational fluid dynamics packages and many Python or MATLAB scripts expect specific heat in J/(kg·K), the SI base form with no prefix. Steam tables, refrigeration charts and engineering textbooks often print the same data in kJ/(kg·K). Anyone who copies a table value into a solver and forgets the factor of 1,000 gets a model that heats a thousand times too fast, or too slowly. This page makes the step explicit. Enter the table value in kJ/(kg·K) and read the J/(kg·K) value to paste into the input file. It converts the unit of specific heat only and does not look up properties. The same copy-and-paste slip happens in spreadsheets that combine a vendor data sheet in kJ with an in-house model in J, so many teams add a unit column next to every property and convert on import instead of by eye.

A pure factor of 1,000

The kilo prefix means 1,000, and the kilogram and the kelvin are untouched, so J/(kg·K) = kJ/(kg·K) × 1,000. The kilogram contains its own prefix, which can confuse people, but it is the base SI unit of mass, so the denominator needs no change. The BIPM SI Brochure explains that prefixes are never applied to the kilogram in a compound unit; the gram carries the prefix. The default 10 kJ/(kg·K) becomes 10,000 J/(kg·K), and the decimal point of any input moves three places to the right.

Air and water as sanity checks

Dry air at room temperature has a specific heat at constant pressure of about 1.005 kJ/(kg·K), which converts to 1,005 J/(kg·K) on this page. Liquid water is near 4.18 kJ/(kg·K), or 4,180 J/(kg·K). These two figures are worth remembering, since a value in a simulation input that is off by a factor of 1,000 from them is probably in the wrong unit. A solver that runs but produces temperatures that rise a thousand times too fast or too slowly has usually received kJ values where joules were expected, and a quick look at the input file settles it. For example, a 1 kW heater warming 10 kg of air should raise the temperature by roughly 0.1 K per second at constant pressure, since 1,000 W divided by 10 kg times 1,005 J/(kg·K) is 0.0995 K/s. A model that shows 100 K per second has read the property in the wrong unit.

Gas constant and the two heat capacities of air

For an ideal gas, the specific heats at constant pressure and constant volume differ by the specific gas constant, cp − cv = R. For dry air R is about 0.287 kJ/(kg·K), or 287 J/(kg·K). With cp near 1.005 kJ/(kg·K), the constant-volume value is about 0.718 kJ/(kg·K), which this page converts to 718 J/(kg·K). Engineers often keep R in joules because its familiar value is 287, and cp in kilojoules because tables print it that way. Putting both in J/(kg·K) before subtracting avoids a slip, and the ratio 1,005 / 718 gives the ratio of specific heats, about 1.4 for air.

Warming a tank of water: a worked case

Take 2.5 kg of water, a specific heat of 4,180 J/(kg·K) and a temperature rise of 15 K. The heat needed is 2.5 × 4,180 × 15 = 156,750 J, or 156.75 kJ. Done with the table value of 4.18 kJ/(kg·K) the answer is the same 156.75 kJ. The two routes agree, and the difference lies only in where the prefix sits. Spreadsheet models that mix inputs from different sources benefit from converting every specific heat to J/(kg·K) in a single column, so the energy column that follows has one consistent unit and the result in joules can be divided by 1,000 once at the end.

J/(g·K) and kJ/(kg·K) are the same number

Some tables list specific heat in J/(g·K). That value equals the kJ/(kg·K) value, so water is 4.18 in both, and the page that converts to J/(kg·K) multiplies either by 1,000. If you start from a J/(g·K) figure, skip any conversion to kJ/(kg·K) and use the same number on this page by selecting kJ/(kg·K) as the source. The reverse also works: a J/(kg·K) value divided by 1,000 gives the J/(g·K) value, which is a handy way to move between a solver input and a chemistry text.

Temperature dependence and which value to use

Specific heat changes with temperature, and a single number in a table belongs to a stated temperature or range. Air varies only a little between 250 K and 400 K, while the specific heat of water rises slightly with temperature and has a shallow minimum near 35 °C. Property libraries evaluate the function at each state, so a constant entered by hand is a simplification. Convert the value at the temperature you care about, and note it. The page changes the unit and not the temperature at which the number applies. When a library asks for a constant specific heat over a run, pick the value near the middle of the temperature range the run will cover, convert it once here, and write the J/(kg·K) figure and its source in the model notes.

Reverse direction and consistency checks

To convert a solver output back to table form, set From to J/(kg·K) and To to kJ/(kg·K). A value of 1,005 returns 1.005, and 718 returns 0.718. A good practice is to put a unit check in the first row of any workbook, stating cp for water as 4,180 J/(kg·K) and 4.18 kJ/(kg·K) side by side. A reviewer then sees the factor of 1,000 at a glance, and a copied number in the wrong unit stands out because it is far from the check value.

Heat capacity uses a different denominator

The page changes a unit and nothing else. It does not return the specific heat of any material, handle temperature dependence, or convert from specific heat to heat capacity, volumetric heat capacity or molar heat capacity. Those quantities use different denominators and different converters. Keep the property source and the temperature next to the converted value in your model documentation.