You can go to Settings > General > About > Serial Number. On an iPad or iPod touch (or the iPhone 2G), it is printed on the back of the device. On the iPhone 3G or later, if you eject the SIM tray with a SIM unlock tool or paper clip, you will notice the serial number (as well as IMEI) is printed in a tiny font along the edge of the tray.
Go to
> About This Mac > More Info. Also, it is printed on the bottom on Mac laptops. The Mac mini and iMac have it on the bottom (on the bottom of the "foot"/"stand" for the iMac). The silver aluminum Mac Pro and PowerMac have it printed on the bottom of the inside of the door.
The AirPort Express, AirPort Extreme and AirPort Time Capsule have it printed on the bottom. The Apple TV has it on the bottom as well, though it may be more difficult to see since it is black-on-black.