While I was having a fun little conversation about routing, we got into subnets. I was looking for some information with good old google and came across something pretty interesting. An online subnet calculator. Quite helpful, especially if you don't feel like doing a lot of memorization or math....
http://www.telusplanet.net/public/sparkman/netcalc.htm