A vacuum cleaner having a handle with a handle air passage, a base attached to a first end of the handle by an articulating joint and having a base inlet positioned to face a surface to be cleaned, a base air passage extending from the base inlet and past the articulated joint by a flexible hose and to the handle air passage, a dirt collection assembly associated with the handle and in fluid communication with the handle air passage, a fan associated with the handle and in fluid communication with the handle air passage, and a motor associated with the handle and adapted to drive the fan to thereby generate an airflow through the base inlet, flexible hose, handle air passage, and dirt collection assembly. The flexible hose has a generally rectangular cross-section along a substantial portion thereof.