The strongest permanent magnets come in two families: neodymium and samarium-cobalt. Values are from this site's recorded data. ## The elements Neodymium: density 7.01 g/cm³, crustal abundance 41.5 mg/kg. Samarium: density 7.52 g/cm³, abundance 7.05 mg/kg — scarcer than neodymium. Both are rare earths. ## Strengths Neodymium magnets are the strongest at room temperature and fill motors, headphones and hard disks, but they lose strength when hot. Samarium-cobalt magnets keep their strength at high temperatures and are chosen for aerospace and hot-running motors. ## Choosing Neodymium for strength and cost; samarium-cobalt for heat. EV motors also add dysprosium to neodymium magnets to improve heat resistance.