An exact formula has been derived to calculate the required RF (B1) peak power for 2D arbitrary shape excitation in MRI with rectilinear K-space trajectory. An approximate formula has also been derived for spiral trajectory.