* Composition: Different types of magma have different melting points. For example, basaltic magma (common in Hawaii) is hotter than rhyolitic magma (common in Yellowstone).
* Depth: Magma at deeper levels is under more pressure and therefore has a higher melting point.
* Presence of water: Water can lower the melting point of rock.
* Other factors: Gas content and the presence of dissolved minerals also play a role.
However, here are some general ranges:
* Basaltic magma: 1000-1200°C (1832-2192°F)
* Andesitic magma: 800-1000°C (1472-1832°F)
* Rhyolitic magma: 650-800°C (1202-1472°F)
Lava, which is magma that has erupted onto the surface, will cool as it flows, but it can still reach temperatures of 1000-1200°C (1832-2192°F).
Remember, these are just broad estimates, and the actual temperature of molten rock can vary significantly.