In this paper a compact multilayer stacked patch antenna with high gain is proposed. The structure is composed of stacked patches with U slots and shorting pins. The proposed antenna is capable for resonating at the center frequency of 2.25 GHz. The performance of the antenna is characterized by the simulated result of bandwidth, gain and reflection coefficient. The antenna has reflection coefficient of less than -10 dB with a maximum gain of 7.07 dBi. The proposed antenna has bandwidth of nearly 400MHz and has less size with an overall height of 10.3 mm. The designed frequency range occupies S band which is used for various applications like weather radar, surface ship radar, Bluetooth and ZigBee.