A permanent magnet, comprising a sintered compact including: a composition expressed by a composition formula: R p Fe q M r Cu s Co 100-p-q-r-s, wherein R is at least one element selected from the group consisting of rare-earth elements, M is at least one element selected from the group consisting of zirconium (Zr), titanium (Ti), and hafnium (Hf), p is a number satisfying 10 ≤ p ≤13.3 at%, q is a number satisfying 25 ≤ q ≤ 40 at%, r is a number satisfying 0.87 ≤ r ≤ 5.4 at%, and s is a number satisfying 3.5 ≤ s ≤ 13.5 at%; and a metallic structure having a main phase including a Th 2 Zn 17 crystal phase and containing the element R and the element M, and an R-M-rich phase containing the element R whose concentration is 1.2 times or more an R concentration in the main phase and the element M whose concentration is 1.2 times of more an M concentration in the main phase, wherein a volume fraction of the R-M-rich phase in the metallic structure is 0.2% or more and 15% or less, wherein the sintered compact has crystal grains each mainly composed of the main phase and having an average grain size of 35 μm or more and 200 μm or less, and a grain boundaries of the crystal grains, and the R-M-rich phase mainly exists in the grain boundaries. a composition expressed by a composition formula: R p Fe q M r Cu s Co 100-p-q-r-s, wherein R is at least one element selected from the group consisting of rare-earth elements, M is at least one element selected from the group consisting of zirconium (Zr), titanium (Ti), and hafnium (Hf), p is a number satisfying 10 ≤ p ≤13.3 at%, q is a number satisfying 25 ≤ q ≤ 40 at%, r is a number satisfying 0.87 ≤ r ≤ 5.4 at%, and s is a number satisfying 3.5 ≤ s ≤ 13.5 at%; and a metallic structure having a main phase including a Th 2 Zn 17 crystal phase and containing the element R and the element M, and an R-M-rich phase containing the element R whose concentration is 1.2 times or more an R concentration in the main phase and the element M whose concentration is 1.2 times of more an M concentration in the main phase, wherein a volume fraction of the R-M-rich phase in the metallic structure is 0.2% or more and 15% or less, wherein the sintered compact has crystal grains each mainly composed of the main phase and having an average grain size of 35 μm or more and 200 μm or less, and a grain boundaries of the crystal grains, and the R-M-rich phase mainly exists in the grain boundaries. wherein R is at least one element selected from the group consisting of rare-earth elements, M is at least one element selected from the group consisting of zirconium (Zr), titanium (Ti), and hafnium (Hf), p is a number satisfying 10 ≤ p ≤13.3 at%, q is a number satisfying 25 ≤ q ≤ 40 at%, r is a number satisfying 0.87 ≤ r ≤ 5.4 at%, and s is a number satisfying 3.5 ≤ s ≤ 13.5 at%; and a metallic structure having a main phase including a Th 2 Zn 17 crystal phase and containing the element R and the element M, and an R-M-rich phase containing the element R whose concentration is 1.2 times or more an R concentration in the main phase and the element M whose concentration is 1.2 times of more an M concentration in the main phase, wherein a volume fraction of the R-M-rich phase in the metallic structure is 0.2% or more and 15% or less, wherein the sintered compact has crystal grains each mainly composed of the main phase and having an average grain size of 35 μm or more and 200 μm or less, and a grain boundaries of the crystal grains, and the R-M-rich phase mainly exists in the grain boundaries. a metallic structure having a main phase including a Th 2 Zn 17 crystal phase and containing the element R and the element M, and an R-M-rich phase containing the element R whose concentration is 1.2 times or more an R concentration in the main phase and the element M whose concentration is 1.2 times of more an M concentration in the main phase, wherein a volume fraction of the R-M-rich phase in the metallic structure is 0.2% or more and 15% or less, wherein the sintered compact has crystal grains each mainly composed of the main phase and having an average grain size of 35 μm or more and 200 μm or less, and a grain boundaries of the crystal grains, and the R-M-rich phase mainly exists in the grain boundaries.