Magnetic storm is generated magnetic reconnection between interplanetary magnetic field (IMF) and Earth’s magnetic field at the dayside. The magnetic reconnection is accompanied with growth of ring current. Magnetospheric substorm is night-time phenomena that generated by magnetic field reconnection at Earth’s magnetotail. The magnetospheric substorm related with auroral electrojet at the polar ionosphere. The magnetic storm could be diagnosed by Dst index and the magnetospheric substorm with AE index. In this paper we examined the relationship and shows the relationship magnetic storm and magnetospheric substorm by analyzing Dst and AE index