Is it a simple matter of measuring the average power in the resistive load, and dividing it by the average input power to the whole circuit?

The reason I ask is that until now I have been measuring the RMS value of the ripple current and multiplying it by the transformer secondary voltage to get the average secondary power (i.e. complex power), but sometimes this gives a figure that is way higher than the average input power to the whole circuit