Which calorie do you mean?
Nutrition uses a calorie that is not the one in the science textbook. The Calorie on a food label (sometimes written with a capital C, Cal, or as kcal) is a kilocalorie, which is 1,000 small calories. Its exact size is 4.184 kilojoules. The small calorie, the lowercase cal, is 4.184 joules, so 0.004184 kJ.
If you are converting something you read on a packet, a menu, a fitness tracker or a diet plan, you want the first one. A figure like 250 cal in a physics problem is a quarter of a kilocalorie, which is only about 1 kJ. This page keeps the two apart and shows both answers so a mistake cannot hide.
The formula, with examples
To convert food Calories to kilojoules, multiply by 4.184. To convert kilojoules to Calories, divide by 4.184, which is the same as multiplying by 0.239.
- 100 kcal is 100 × 4.184 = 418.4 kJ.
- 250 kcal is 1,046 kJ and 500 kcal is 2,092 kJ.
- 2,000 kcal, a common daily reference, is 8,368 kJ.
- 1,000 kJ is 1,000 ÷ 4.184 = 239.0 kcal.
For a quick estimate, multiply by 4.2. That is 0.38% higher than the exact factor, which is fine when you are comparing snacks. The table under the converter gives values from 1 to 2,500 for both kinds of calorie.
Why labels show kilojoules, calories or both
Labels in the United States list Calories only. In the European Union energy is listed in both kilojoules and kilocalories, and in Australia and New Zealand it is listed in kilojoules. The EU reference intake for an average adult is 8,400 kJ or 2,000 kcal. Those two numbers are not an exact conversion, since 2,000 kcal is 8,368 kJ. Labels work out kJ and kcal from the food's nutrients and round each one, so the pair on a packet can be a few units off the exact 4.184 ratio. Use the formula for your own sums and treat the label as the label.
Which factor, 4.184 or 4.1868?
This page uses the thermochemical calorie, 4.184 J, which is the factor used for food energy. The International Table calorie is 4.1868 J, about 0.07% larger, and appears in engineering and steam tables. For 100 kcal the difference is 418.4 kJ against 418.68 kJ. If you need the IT calorie, it is in the energy converter as calorie (IT).