Will the RAM in a pre-built Dell PC work in a custom built pc?

Chicken-Select

Distinguished
Apr 24, 2011
246
0
18,760
I have an old pre-built Dell Inspiron sitting in the basement. It has 8GB of DDR3 RAM in it, I was wondering if that would work in any DDR3 capable motherboard? I want to throw it in another older custom PC I'm using as a server that currently has only 4GB of DDR3 RAM. Will it work?