Determination of atomic-scale crystal structure for nanostructured intermetallic alloys, such as magnetic alloys containing Al, Ni, Co (alnico) and Fe, is crucial for understanding physical properties such as magnetism, but technically challenging due to the small interatomic distances and the similar atomic numbers. By applying energy-dispersive X-ray spectroscopy (EDS) mapping to the study of two intermetallic phases of an alnico alloy resulting from spinodal decomposition, we have determined atomic-scale chemical composition at individual lattice sites for the two phases: one is the B2 phase with Fe0.76Co0.24 -Fe0.40Co0.60 ordering and the other is the L21 phase with Ni0.48Co0.52 at A-sites, Al at BΙ-sites and Fe0.20Ti0.80 at BΙΙ-sites, respectively. The technique developed through this study represents a powerful real-space approach to investigate structure chemically at the atomic scale for a wide range of materials systems.