Starting speed: m/s
How many gs:
Where one g is: m/s (default: typical Earth gravity)

Pick either:
Duration: s (to calculate distance)
or:
Distance: km (to calculate duration)
(If you fill in both fields, it will calculate the distance.)

Or, view the source code of this page.