The working principle of a rotameter is based on the balance between the gravitational force and the drag force acting on the float. As the fluid flows through the tapered tube, it lifts the float until the area between the float and the tube wall allows enough fluid to pass, balancing the forces. The position of the float corresponds to a specific flow rate, which can be read from a scale on the tube.