Open it up and measure the space between the top and bottom row of fixing holes I can't tell you offhand what size the various form factors are but there's a marked difference. If you post back the measurements, preferably in inches, I can check against anything I have in for repair at the moment later in the day. A Gateway will probably have a standard mini ATX.