Since molarity (M) is measured in mols÷L, you will need to convert the units first.
[tex]2500ml \div 1000ml = 2.5l[/tex]
Then, convert 160g of ammonium nitrate into mols using the molar mass 80.043g/mol.
160g ÷ 80.043g/mol = 2.0 mols.
Finally divide the mols by liters.
2.0mols ÷ 2.5L = .80M