How the numbers are proven

Last updated December 5, 2026

Every number on CalcProven is either computed by one tested engine or cited to a primary source. This page explains how.

One engine

  • Durations are kept as whole seconds, and dates as plain calendar dates (year, month and day) with no time zone. Hours are never added up as floating-point numbers, so small errors can't creep in.
  • Decimals such as 66.67% are worked out with exact whole-number arithmetic and rounded once, at the end.
  • The same code writes each result, its Proof and the page's reference tables, so they always agree.
  • Time zones are read from the IANA Time Zone Database through your browser's built-in Intl support. No UTC offset is typed in by hand.

Rounding

  • Percentages and decimal hours: 2 decimal places, rounded half away from zero, so 0.675 becomes 0.68.
  • Times worked out from a percentage: to the nearest second.
  • Each page states its own rounding, and its Proof shows the unrounded figures.

Where the rules come from

RuleSource
1 minute = 60 seconds; 1 hour = 60 minutes = 3,600 secondsSI Brochure, 9th edition, Table 8 (BIPM); NIST SP 811
Calendar dates and leap yearsThe Gregorian calendar: a leap year every 4 years, except century years not divisible by 400
Time zones and daylight savingIANA Time Zone Database, as built into your browser
US federal holidaysU.S. Office of Personnel Management
UK bank holidaysGOV.UK

Testing

411 of 411 tests passed on the last run, on December 5, 2026. The tests run before every build, and a failing test stops the build, so a page with a failing calculation can't be published.

AreaTests
Decimal Hours page: answers, Proof and tables55
Hours page: answers, Proof and tables25
Percent of an Hour page: answers, Proof and tables49
Time Card page: answers, Proof and tables35
Time Percentage page: answers, Proof and tables16
Calendar dates and leap years10
Clock times, overnight spans and breaks32
Decimal hours43
Exact decimals and rounding12
Durations in seconds6
Percent of an hour29
Time card days: punch order, past midnight and breaks15
Time entries and time percentages56
Time zones and daylight saving4
Hours dial: arcs, breaks and marks6
Time Percentage rule: scales and labels6
Time Card week chart: bars, breaks and Sunday nights12

Before a calculator is published, its tests must include:

  • at least 10 cases worked out by hand and written into the test;
  • the edge cases that apply to it: midnight (00:00 and 24:00), overnight shifts, daylight-saving gaps and repeated hours in the US and UK, 29 February and leap years, month ends such as 31 January plus one month, year boundaries, and empty or invalid entries;
  • property tests over whole ranges, such as every second of a day surviving a round trip from seconds to a percentage and back;
  • snapshots of every reference table, so a table can't change without a reviewed reason.

Reviews

Each calculator page names the person who checked it and the date of the last real review. The Editorial policy explains how sources are chosen and how AI tools are used.

Report an error

If a number looks wrong, please tell us. The Corrections page explains what to send and lists every fix.