How long would it take to travel all around the world by plane?

That depends on the speed of the plane. Pick a suitable speed, then divide the circumference of the Earth (40,000 km) by this speed. If the speed is in km/hour, the time will be in hours.