This forum is littered with posts by people who buy some ram just to discover it won't work on their system.
What I recommend is you use an online memory configurator like the on ones on Crucial.com or Corsair.com to lookup the exact memory that's a match for your computer. Modern systems are VERY fussy about memory.