A set of equations is derived to estimate the 3D wind vector with a multirotor aircraft using the aircraft itself as a flying anemometer. Since the thrust component is required to compute the wind vector, the PWM signal controlling the motors of the aircraft is measured and a transfer function describing the relation between the PWM signal and the rotational speed of the motors is derived.