Count how many openings for add in cards you have on the back.
Most likely, it will be 4 which is M-ATX size.
If it is 7, it is full ATX.
You can find the exact motherboard model by running CPU-Z, a free download.
Why do you need to know?
Usually, a pc that is more than 3 generations old should be replaced instead of updated.