First of all molar mass and formula unit mass are calculated in same way however, formula unit mass is the mass of formula of the compound and it is calculated in ionic compound however molecular mass is calculated in covalent compound.
So, both the masses are same.
The molecular mass of HNO3 = 1(forH) + 14 (for N) + 3 x 16 (for O) = 63u