I run a few times each week, and like any good nerd, I want to keep tabs on the numbers. RunKeeper records my times and distances and calculates pace for me. But while I measure distances in kilometers, I also want to know my pace per mile. So I wrote a simple calculator to compute the speed and pace in various units without having to open a spreadsheet.

Requirements & Approach:

  • A runner can enter the distance run (miles or kilometers) and the time (whole minutes or minutes and seconds).
  • The calculator will compute the speed in meters per second and then convert that number to the speed and pace in various metric and Imperial units of measure.
  • Paces will be expressed in minutes and seconds (MM:SS).
  • The distance will be provided as a decimal number of kilometers.

Running Pace Calculator

I ran
in
.

Comments