The formula for calculating distance traveled when time and speed are constant is:
Distance = Speed x Time
In this formula, "Distance" represents the total distance traveled, "Speed" represents the constant speed at which the object is moving, and "Time" represents the duration of the motion. By multiplying the speed by the time, you can determine the distance traveled.