How can I hear if something is behind or in front of me? I wonder how I can hear what direction a sound is coming from.
I believe that the brain calculates relative to the volume from each ear, meaning I'm unable to know what direction a sound is coming from if one of my ears are not working.
But what if the sound is perfect in front of me? Or Above? (Both ears are hearing exact the same) Can I then still hear where the sound is coming from?
 A: Our brain is quite a mighty signal processor.  It fuzes many many clues together into one cohesive scene.
As has been mentioned in other answers, the folds of your ear generate interference patterns.  The effect of this is to "color" the sound, raising the volume of some frequencies and damping others.  These interference patterns are different from different directions, so sounds from different directions get colored differently.  Our shoulders also have a similar effect, which is a major player in our understanding of whether a sound comes from above us or below us.
Of course this frequency based approach only works if your brain has some clue what the frequencies should be.  Most of the time we can make great guesses, based on a lifetime of listening to things.  Sometimes it can be tough.
I did an experiment a while back with my wife to test this.  I only did the experiment once, so I cannot claim scientific riggor, but the results were far too amazing to not share.  I grabbed a pair of spoons to clack together and told my wife to close her eyes.  I told her I'd clack them in different places, and then she needed to reach out and try to point where she thought the spoons were.  I did this several times and she reliably got the left-right portion of the direction right (the part that can be determined by delays between the ears), but her up and down sense was way off.
Then I asked her to open her eyes and repeat the experiment.  No surprise, its really easy to point at spoons when you can see them!  The interesting part came next: I had her close her eyes again. No matter where I clacked the spoons, she almost immediately pointed at them with an eerie precision.
My hypothesis (and I must call it a hypothesis because it is insufficiently tested to be called anything more) is that when she started the experiment, she did not know the frequency spectra that the clacking spoons would have.  Thus she could only make vague guesses about how her ears had colored the sounds.  When she opened her eyes and saw the spoons clack, the story changed.  Now her eyes told her exactly what direction the sound was coming from, so her brain could un-color the sound and start remembering what the "true" sound of the spoons was.  When she closed her eyes again, she now knew enough to figure out what her ears were doing to the sound, and thus the direction it came from.
Arguably, she heard the spoons with her eyes.
I encourage others to try this experiment... I want to know if it works just that well for others!
A: Sound localization is a very complex phenomenon and in fact your brain uses a few methods to localize sound, some of which work better at high frequencies and some at low frequencies. The basic bits of information that your brain makes use of is interaural time differences (the difference in time taken for a sound to reach different ears), as well as interaural level differences (one ear hears a louder sound than the other). Furthermore, the outer ear, or pinna, modulates sound so that it sounds different depending on whether the sound is coming from in front of you or behind. This seems to be the dominant effect for sound sources that lie on the median plane, as pointed out by dmckee.
A: I'm going to give a clue, block one of your ears and click your fingers around your head, your find one ear can locate direction. We have direct sound and also secondary sound, the ear works out the direction not just first arrival but it can't make any sense of the first arrival as it is interference, so when secondary arrivals come, it can then identify the interfering patterns. The interfering waves alter frequency, the secondary waves will create the original wave between the pattern. So it is quite simply the frequency. The ear has it's own accostics and for different directions it will have a different pattern of frequency's. Higher frequencys are more precise in location, imagine dividing a circle, so low frequency could be anywhere and the high can be anywhere within that space, it can only be in one position within that space(diving location). Combination of waves and the new pattern, the ear can work out a distance, also the pressure of the wave, higher volume would be larger waves and quiter will have smaller (high frequency waves in terms of amplitude). From behind I hear some say, your movement helps to identify, Well ask yourselfs if the dumby head moves when you record which I'm sure it doesn't so the movement theory is wrong, then played back through headphones. I believe that much of the high frequency is cut out as it can't enter the ears directly from behind. I also wonder about the travel direction of the wave, Does it make a positive or negative pressure at the ear when coming from behind, I know it alters the characteristics and with surrounding secondary noise being much softer it can tell it needs to travel further distance. I believe that certain levels of noise will not be perceived and the perceived frequencies from behind will be possibly lower, so the ear knows it had to travel around the ear as the frequency is lower. I hope it makes sense, I don't know for certain but have heard holophonics on speakers sounding perfect to me and we don't need two ears to hear the directions. 
