You cannot measure the bag without taking into account the protruding parts, so pull the handle in and measure the whole item. The airlines will assess the whole dimensions of your bag, not simply the main compartment.