Methods and sources

How our tools calculate, round and handle the conventions that differ around the world, and where the numbers come from.

Our process

  1. Define the question precisely. Each tool starts from the questions people actually ask, including the awkward cases (a price that went down by more than 100%, a birthday on 29 February, a shift that ends after midnight).
  2. Use primary sources. Conversion factors and definitions come from standards bodies and legislation, listed below.
  3. Test. The calculation code is shared between the page's worked examples and the live tool, and is covered by automated tests with known answers, including edge cases such as zero, negative numbers, very large numbers, leap years and month ends. The worked examples and reference tables on each page are generated by the same code, so they cannot drift out of sync with the tool.
  4. Review. Every page shows the date it was last reviewed. Reported errors are checked against the source and fixed first.

Numbers you type

Number boxes accept both decimal points and decimal commas. "12.5" and "12,5" are both read as twelve and a half. A comma followed by exactly three digits, as in "1,500", is read as a thousands separator (one thousand five hundred), and the tool tells you when it has done so, so you can correct it. Spaces, apostrophes and thin spaces used as thousands separators are ignored. Results are always shown with a decimal point and comma grouping (1,234.5), a format that can be pasted back into any of our tools.

Rounding

Units

The metric units are SI units or units accepted for use with the SI. US customary units follow the definitions published by NIST, including the international yard and pound of 1959 (1 yd = 0.9144 m exactly, 1 lb = 0.45359237 kg exactly). The US liquid gallon is 231 cubic inches (3.785411784 L). The imperial gallon used in the United Kingdom is 4.54609 L exactly, as defined in the UK Weights and Measures Act 1985. Cups and spoons differ by country, so the tools label them explicitly: the metric cup (250 mL), the US customary cup (about 236.6 mL) and the US nutrition-labeling cup (240 mL).

Dates and times

Text

Sources

Last updated 26 September 2026.