how to calcula distance of a object in free fall if only the time it reaches the ground is given

distance=1/2 * 9.8m/s^2 * time^2