Because HD manufacturers specify space in 1000s, whereas tech companies use the proper 1024s, so you're losing space due to differences in calculations, which adds up, and then you lose a bit when formatting too for various reasons.
For example, my 250GB drive shows as 232GB formatted and inuse.