To find the number of neutrons in an atom, you can use the formula:
\[ \text{Number of Neutrons} = \text{Atomic Mass} - \text{Atomic Number} \]
For magnesium:
- Atomic Number = 12
- Atomic Mass = 24 (approximately)
Now, substituting the values into the formula:
\[ \text{Number of Neutrons} = 24 - 12 = 12 \]
Thus, magnesium has 12 neutrons. The correct response is 12.