Plust to IanP I will add that SSR dissipate power, and request adequate heatsink, at full load can be 40W of dissipation. Relay dont have that problem if contacts are adequate for job.
When we sum SSR with heatsink I dont think he is smaller then relay, but this depends on controlling power (current) in circuit. Plus is good to use isolated SSR, we dont want some elctroshocks when heatsink is touched.
When you look better in auditor (back window) you will notice that relay last longer then SSR (if properlz dimensioned and choosed).
SSR can be used if you need frequent On/Off switching, and if you need silence in device operation, or if you need some power-current adjusting (dimming).