I use Strava. It's kind of like a social networking site in that you can follow people you know if they use it as well but it tracks miles and all kinds of things.
For my commute I just use my phone with the Strava app but for longer rides I use a Garmin 200.