Calculate Warp Speeds
  I wrote this small JavaScript about two and a half years ago because no one had made a consolidated effort to combine the two formulae that had been in use for TNG warp speeds under 9.9 and over 9.9.  After some work I found a formula that incorporated both formulae, with the exception of one warp speed.  At warp 9.992, the TNG technical manual gives a warp speed that is not consistent with the formula.  Since it is the only case where it is not consistent I decided that it had to be false.  This JavaScript provides accurate translations of warp speeds to multiples of "c" (the speed of light), with an error rating of less than +/- 1%.

The Distance Traveled field is always in terms of Light Years.  The Years, Days, Hours, Minutes, and Seconds fields represent the amount of time it takes to travel the desired Distance.  Subspace Speed is considered warp 9.9997.
    Warp Factor Calculations   Distance Calculations
  Warp Speed Input:

Distance Traveled:  (ly}
  Light Speed Output: (c) Years:
  Days:
  Time at Warp: (hours) Hours:
  Distance: (ly) Minutes:
  Seconds: