Yes, the RAM kit CT2K16G4SFRA32A is compatible with the HP 450 G8. If this is an upgrade and the device is still under warranty, I strongly recommend that you do not sell the removed RAM but keep it in case of a warranty claim, because if the device is sent in, it would have to be returned to its original condition (remove the installed RAM modules beforehand).