Skip to main content
Calnex LogoCalnex
Physics

Energy Conversion Calculator

Convert an energy amount between joules, kilojoules, megajoules, watt hours, kilowatt hours, calories, kilocalories, BTU, foot-pounds, electron volts and ergs, showing the result and the value in joules.

Conversion Result3.6000e+0 MJView results

Real-time Results

Conversion Result
3.6000e+0MJ
Value in Joules
3.6000e+6J

How it works

This tool converts a single energy amount from one selected unit to another by routing through joules as the base unit. It reports the converted value and the same quantity in joules, both in four-decimal exponential notation.

Why do both outputs use exponential notation?

The engine formats both cards with toExponential(4), so even ordinary values appear as 3.6000e+0 rather than 3.6. Very small units such as eV and ergs therefore stay readable, but you must read the exponent when comparing results.

What happens if I pick the same unit for both sides?

The conversion divides by the same factor it multiplied by, so the result equals the input amount (subject to the exponential formatting). The Value in Joules card still shows the amount expressed in joules, which differs from the input unless the unit is joules.

Examples and interpretation(2)

How many megajoules is 1 kWh?

From Unit
kWh — kilowatt hours
To Unit
MJ — megajoules
Amount
1
  1. Set From Unit to kWh — kilowatt hours, To Unit to MJ — megajoules, Amount to 1.
  2. 1 kWh = 3.6e6 J; dividing by 1e6 gives 3.6 MJ, shown as 3.6000e+0, with Value in Joules 3.6000e+6.
Conversion Result
3.6000e+0
Value in Joules
3.6000e+6

The default setup converts 1 kWh to 3.6 MJ. The exponential display means you should read 3.6000e+0 as 3.6, not 3.6 million.

How do I convert 2 kcal to kilojoules?

From Unit
kcal — kilocalories
To Unit
kJ — kilojoules
Amount
2
  1. Set From Unit to kcal — kilocalories, To Unit to kJ — kilojoules, Amount to 2.
  2. 2 × 4184 = 8368 J, shown as 8.3680e+3; dividing by 1000 gives 8.368 kJ, shown as 8.3680e+0.
Conversion Result
8.3680e+0
Value in Joules
8.3680e+3

The result uses the engine's fixed 4184 J per kcal factor, not a food-label rounding. Values are rounded to four decimal places in exponential form.

Inputs

ParameterDefinition & Valid Bounds
From Unit

J — joules · kJ — kilojoules · MJ — megajoules · Wh — watt hours · kWh — kilowatt hours · cal — calories · kcal — kilocalories · BTU — btus · ft·lb — foot pounds · eV — electron volts · erg — ergs

To Unit

J — joules · kJ — kilojoules · MJ — megajoules · Wh — watt hours · kWh — kilowatt hours · cal — calories · kcal — kilocalories · BTU — btus · ft·lb — foot pounds · eV — electron volts · erg — ergs

Formula

Value in Joules = amount × factor(From Unit); result = Value in Joules ÷ factor(To Unit). Factors to joules: J 1, kJ 1e3, MJ 1e6, Wh 3600, kWh 3.6e6, cal 4.184, kcal 4184, BTU 1055.06, ft·lb 1.35582, eV 1.60218e-19, erg 1e-7. Both outputs use toExponential(4).

How to use

  1. Choose the source unit in From Unit; the default is kWh — kilowatt hours.
  2. Choose the target unit in To Unit; the default is MJ — megajoules.
  3. Enter a non-negative number in Amount; the default is 1.
  4. Read Conversion Result in the target unit and Value in Joules in J.

Frequently asked questions

Does the converter accept negative amounts?

The Amount field declares a minimum of 0, so negative energy values are not intended input. If a negative number reaches the engine, it is still multiplied by the unit factors and produces a negative result.

How precise are the unit factors?

Each factor is a fixed constant in the engine, for example 1055.06 J per BTU and 1.60218e-19 J per eV. Results are rounded to four decimal places in exponential notation, so small differences from other reference tables can appear.

What if I enter text instead of a number in Amount?

The value is parsed as a floating-point number; unparseable or missing input falls back to 0, giving a result of 0.0000e+0 in both cards.

Back to PhysicsAll Calculators