Tips For Building Online Calculators

by John McRae on November 24th, 2009 | Posted in Revium Blog | Comment on this entry

We recently had to change a superannuation calculator that Revium has developed for VicSuper.

Whilst the changes were relatively small (caused by legislative changes), the implementation needed considerable care and attention.  This prompted me to document a few tips which others may find of use.

Over the years, I have implemented many calculators and my tips are:

  1. Build a model using Excel or similar.
    This will ensure that all components of the calculator are considered and will provide an independent baseline for subsequent testing (see point 5).
  2. Display the inputs and outputs in separate areas.
    (perhaps different sheets or at least in a different area of the same sheet)
    All calculators can be considered as “black boxes” so the user only wants to see how the output changes when and input variables are adjusted.
  3. Identify threshold points and cross over points.
    (e.g. Min/max wage, over 50’s limits, tax thresholds, co-contribution amounts.)
    Most errors in calculators occur at threshold points and these need to be identified so that they can be tested thoroughly.  In graphical terms, the gradient does not change smoothly at threshold points and looks like some form of flattened V-shape.  In a poorly constructed model, discontinuities will be evident, i.e. the 2 parts of the V don’t even meet at a single point.
  4. Build the calculator and provide graphical output if possible.
    Graphical output allows the user to see the results of the calculator visually – humans are better at distinguishing shape changes rather than changes in an array of figures.
  5. Test, test and test again exercising all the threshold points.
    As described in point 3, threshold points are the single point of a V-shape.  Choose input values that are just on either side of the threshold point and ensure the output values converge as the input values are changed to close in on the threshold point.  Note that there may be user messages that change as threshold points are crossed and these need to be tested as well.  In this particular case, there were multiple thresholds points with corresponding user messages relating to financial strategy, e.g. your wage is less than x so consider super co-contribution to maximise your superannuation savings.
  6. Ensure that calculator matches the Excel model.
    Independent verification of the calculator results is important as the implementation of the calculations depends on the development language used.
  7. Let the end user exercise the calculator to flush out any final anomalies.

On the web, calculators are very public, so any errors reflect poorly on the analyst, developer and tester and usually the client is less than impressed.

Don’t be caught out!

Related posts:

  1. 10 Tips for user acceptance testing of web applications
  2. “Capitalise” jquery extension
  3. Video for web – some common questions answered
  4. Linq to SQL select and update oddity

« Social Networking, Hype or Must?

Google Sidewiki – Another PR nightmare? »

Leave a Reply

Click here to cancel reply.

Recent Articles

  • ISAF Sailing World Cup
  • Revium Supports the Prostate Cancer Foundation of Australia
  • Kentico FAQ Module
  • Advanced Visitor Tracking in Analytics
  • Kentico, Smart Search and filtering attachments
  • Enhancing JIRA’s Issue Navigator
  • Mobile Browsing
  • Revium help win gold for Australia

Twitter

  • All things Gold! http://t.co/9DkkjmAr 2012-09-13
  • Mat Belcher - our favourite London Gold Medalist dropped into the office to say thank you. http://t.co/TxHbe2y6 2012-09-13
  • You beauty - http://t.co/1kbcBZwg #london2012 @belcherpage2012 2012-08-10
  • More updates...

Revium Logo

  • Home
  • About
  • Expertise
  • Showcase
  • Contact

  • news
  • blog
  • sandbox
  • twitter
  • rss
  • visit our facebook page

We are Revium, hear us roar!

The news.

26 Feb

Revium Supports the Prostate Cancer Foundation of Australia

We here at Revium are proud to say that we are supporting the Prostate Cancer Foundation of Australia, this month we have been able…

Continue reading
View archive

The blog.

11 Apr

ISAF Sailing World Cup

Mat Belcher and his team have been successful in taking out round 3 of the ISAF Sailing World Cup in Palma de Mallorca a…

Continue reading
View archive

The sandbox.

20 Dec

Kentico, Smart Search and filtering attachments

We had a scenario recently where we had 2 indexes set up in Kentico to search different folders within our site. Everything worked as…

Continue reading
View archive

eNewsletter.

 

© Copyright 2013. All Rights Reserved.

Revium Pty Ltd

info@revium.com.au Work +61 3 9429 2000

10 Harvey Street
Richmond, Victoria, 3121 Australia
View map

Disclaimer and privacy Revium Pty Ltd

Find us: web development, seo

 
Partner logos