Convert energy instantly, with the working shown.
Every unit is converted to a common base unit first, then to your target unit: value × (from-factor) ÷ (to-factor).