subsection contents

Simple Stats

Use this page to enter a series of values and work out some basic statistics for that data. See below for notes.

Tested with Safari and Firefox on Mac OS X. According to Browsershots, the page loads and appears to work with Firefox, Chrome and Safari on Windows. Getting it to work with Internet Explorer (and other browsers) may not be easy, but I'll look at it one day.


Please enter a series of numbers:



  • Enter one value per line.
  • Validation is done as values are entered, and values are sanitised to remove non-numeric and/or redundant characters.
  • In Safari, pressing Return also initiates the adding of another value.
  • Click on the icon to the right of a value to remove it.
  • Statistics are calculated using jsstats.
  • Most calculations are rounded up, to two decimal places. However, Sum and Range are not rounded, and may suffer from precision issues.
  • The data series can be passed to the page via the url, e.g.:

Future enhancements

  • Support for more browsers.
  • Calculation of additional statistics.
  • Allowance for a second data series.
  • Support for values using "," as decimal separator.

Last updated: April 17, 2009