A method of calculating a moving distance of a movable object in consideration of a bias identified based on a linear velocity of the movable object in the process of implementing a SLAM, and an electronic apparatus therefor are provided. One or more of an electronic apparatus, a vehicle and an autonomous vehicle disclosed in the present invention may be connected to an artificial intelligence module, a drone (Unmanned Aerial Vehicle, UAV), a robot, an augmented reality (AR) device, a virtual reality (VR) device, a device related to 5G service, and so on.