That should be spot on providing its correct for your mac model.

Crucial have a handy utility that will check what ram is compatible for your machine, obviously you don't need to buy from them.

http://eu.crucial.com/eur/en/systemscanner