Just look at the socket type of the cpu and and look at the socket type of your motherboard and if they are both the same sockets then they are compatible. For example I have a gigabyte z97 - sli motherboard with a 1150 socket type, with a 4790k cpu which is a 1150 socket so they are both compatible.
Hope this helps