For the avoidance of doubt...link:
Half-mast means the flag is flown two-thirds of the way up the flagpole, with at least the height of the flag between the top of the flag and the top of the flagpole.
See also...UK Flags and UK flag protocol.
Or else:
Finally, there is advice from The College of Arms.
There cannot be much of an excuse for getting it wrong.