Amplifier efficiency calculations?

Would the efficiency calculated using the P output/P input x 100 get the same answer as calculating the efficiency using the RMS input and output values? If so why?

vk6kro