Calculating distance from acceleration is as easy as using this formula: D = v*t + 1/2*a*t^2. Where v is the velocity, t is time, and a is the acceleration.