Hard Drive Manfacturers label 500GB as meaning 500,000,000,000 bytes.
But to a computer (which counts in binary), 500,000,000,000 bytes = 5,000,000,000 / (1024^3) = approx 465 Gigabytes
You haven't lost anything, it's just two different labeling systems.