The velocity of an object at a precise instant is found by taking the derivative of its position with respect to time:
v = dx/dt
In practical applications without calculus:
Measure position at two very close points in time
Calculate the average velocity over this tiny interval
As the time interval approaches zero, this approximates instantaneous velocity