It isn't just the size of the power supply. It is also the standardized screw holes for the case. It is also the standardized cable connectors. In the past, Dell for instance had their own proprietary pin-out on the power supply cables.
I would recommend buying an ATX power supply, case and motherboard. Note there are different sizes within the ATX format.