The power consumption of a washing machine depends on three major factors, first is the wattage of electric motor that spins the drum, second is heating equipment that provides hot water mix for cleaning and third is the size (6 kg, 7 kg, 8 kg) and type of washing machine (front, top load). Apart from electric motor other auxiliary components like pumps, automatic valves and digital control panels use only a tiny bit of energy.
Out of all the components in a washing machine, the heating equipment consumes a large chunk of power (70%) and the rest of the components like motor, pump, display consumes significantly less power (30%).
You can find the wattage of your washing machine from the silver color sticker that will be on the back or side of your washing machine or just google your washing machine model with its brand name and you should be able to find it’s wattage.