A washing machine comprising a drum wherein the laundry to be washed is placed, a tub wherein the drum is disposed, a valve that provides water to be received by opening/closing the water conduit, a pressure sensor that detects the pressure exerted by the water received into the tub and a control unit that determines the type and amount of the load, i.e. the weight of the laundry, by evaluating the data received from the pressure sensor, characterized in that said control unit is designed to a) provide water to be received by opening the valve at the start of the washing program until the water height in the tub reaches the level to wet the laundry without entirely absorbing the water, that means without entirely saturating the laundry with water, the water received into the tub being at the lowest level that provides the laundry at the lowermost place in the drum to touch the water, b) provide the pressure to be measured by the pressure sensor after the drum is rotated, c) determine the laundry type by comparing the pressure values (Pa1, Pa2,...) measured at a predetermined point of time with the threshold values (Pe1, Pe2,...) prerecorded in the memory of the control unit by the producer, d) determines according to the laundry type determined in c) a valve closing pressure level (Pvu1, Pvu2,...) value and a valve opening pressure level (Pva1, Pva2,...) value on the basis of different such values for each laundry type which are prerecorded in the memory of the control unit by the producer, e) execute a water receiving step by opening/closing the valve according to the determined valve closing pressure level (Pvu1, Pvu2,...) values for each laundry type and different valve opening pressure level (Pva1, Pva2,...) value, until water that is necessary for executing the washing program is received into the tub, f) determine the amount of laundry by comparing the number of the valve openings in the water receiving step with threshold values (M1, M2,...) of such numbers of openings of the valve prerecorded in the memory of the control unit by the producer. a) provide water to be received by opening the valve at the start of the washing program until the water height in the tub reaches the level to wet the laundry without entirely absorbing the water, that means without entirely saturating the laundry with water, the water received into the tub being at the lowest level that provides the laundry at the lowermost place in the drum to touch the water, b) provide the pressure to be measured by the pressure sensor after the drum is rotated, c) determine the laundry type by comparing the pressure values (Pa1, Pa2,...) measured at a predetermined point of time with the threshold values (Pe1, Pe2,...) prerecorded in the memory of the control unit by the producer, d) determines according to the laundry type determined in c) a valve closing pressure level (Pvu1, Pvu2,...) value and a valve opening pressure level (Pva1, Pva2,...) value on the basis of different such values for each laundry type which are prerecorded in the memory of the control unit by the producer, e) execute a water receiving step by opening/closing the valve according to the determined valve closing pressure level (Pvu1, Pvu2,...) values for each laundry type and different valve opening pressure level (Pva1, Pva2,...) value, until water that is necessary for executing the washing program is received into the tub, f) determine the amount of laundry by comparing the number of the valve openings in the water receiving step with threshold values (M1, M2,...) of such numbers of openings of the valve prerecorded in the memory of the control unit by the producer.