I think you are misreading the numbers.
Yosemite takes a little more than 5 Gig.
Your Hard drive is 500 Gig. Even if you have used (consumed) lots of it, if you still have about 10 Gig of free space you can upgrade to Yosemite.
To look how much space you have on your Hard drive:
Click on the top left Apple symbol and then on the About this Mac.
In the new window click on "More Info", now click on the Storage Tab.
It looks like this on my Mac, showing I have 108 Gig free.

The other storage is called RAM (that is not your hard disk). Yosemite needs minimum 2 Gig and you have 4 Gig, so no problem there.