Assuming the object is moving by uniform motion (i.e., at constant velocity), the two pieces of information we need to know are:
1) the distance covered by the object, S
2) the time it takes for the object to travel that distance, t
In fact, the velocity of the object is defined as the ratio between these two quantities:

Therefore, if we know S and t, we can calculate the velocity of the object, v.