SectionResearch and testing
Last reviewed10 August 2026
Reading time8 minutes
Calculator dataNo calculator entries saved

A calculator is only useful when its method is understood and its results have been tested. This page explains the process used to build and review tools on The Useful Site.

Start with the question

Development begins with the problem the visitor is trying to solve. Before writing code, I identify the required inputs, the result that would actually help and whether the answer can be calculated responsibly.

If a question needs information that cannot reasonably be collected by a simple browser tool, I do not pretend otherwise. It may offer a limited estimate, require the user to supply a published coefficient or explain why professional assessment is needed.

Find the method

The method may come from straightforward geometry, financial mathematics, physical relationships, official guidance, manufacturer documentation or published research.

Primary sources are preferred where they are available. Examples include GOV.UK, HMRC, the NHS, Microsoft documentation, standards organisations, regulators and original research papers.

Write the calculation visibly

Important assumptions are visible on the page, or represented as fields you can adjust. Hidden constants are avoided where they could materially change the answer.

Where several accepted approaches exist, the page says which one it uses. Specialist tools may ask the user to enter a coefficient or threshold from the source appropriate to their circumstances.

Test ordinary examples

Each calculator is tested with realistic values that a visitor might enter. The result is compared with a manual calculation, spreadsheet, trusted reference example or independent implementation where practical.

Test the edges

Testing should also cover values that expose mistakes:

  • zero and blank entries;
  • negative values where they make no sense;
  • very small and very large figures;
  • decimal values and rounding;
  • inconsistent units;
  • reversed dates or impossible ranges;
  • mobile input and keyboard use.

Check the explanation

A correct formula can still produce a poor page if the result is not explained. I check whether the units are clear, whether an estimate is labelled as an estimate and whether the visitor is warned about the main limitations.

Review high-impact subjects more carefully

Health, finance and forensic-science tools require extra care because a reader may be tempted to treat a simple estimate as professional advice or evidence.

These pages make the educational role clear and point towards appropriate professional or official help where a decision carries significant consequences.

Browser-based privacy

Calculator logic is normally written in JavaScript and runs on the visitor's device. The values entered into a calculator are not deliberately submitted to the website as saved calculator records.

This statement is about calculator entries. The site may still use essential hosting logs, consent controls and advertising technologies as explained in the Privacy and Cookie policies.

Maintenance

Rates, allowances, guidance and product behaviour can change. I review and update pages that rely on changeable information when the underlying source changes.

A date alone is not proof of quality. A “last reviewed” date here means I checked the page on that date. It is not added to make old content look current.

My publication checklist

CheckQuestion
PurposeDoes the tool solve a real and clearly stated problem?
MethodCan the formula or model be explained and supported?
TestingHave normal, unusual and invalid inputs been checked?
InterpretationWill the visitor understand what the result does—and does not—mean?
AccessibilityAre labels, focus, contrast and mobile layout usable?
PrivacyDoes the calculation avoid collecting inputs unnecessarily?
MaintenanceIs there a plan to review information that may change?
Back to top