You need to go to a site called dprieview and do a comparison search on the two cameras.

Also these days megapixels mean hardly anything. It's important but don't choose a camera based on only that! You want better features such as increased ISO capabilities for photographing in low light conditions or more focal points etc