You can't calculate the electronegativity difference of a single molecule you'll need a frame of reference to explain the electronegativity difference and properties arising due to the difference. Another term arise here is modified electronegativity that is calculated within the molecule between two atoms of different electronegativity and use to explain the nature of molecule wether they are electron withdrawing group or electron donating group and also used to compare the electronegativity with other molecule!