How We Check Our Calculators
What we test, which sources we use, the test cases that pass today, and what to do if you spot an error.
- 100% free
- No sign-up
- Works on your phone
- Nothing is sent to us
Key facts
- Who: TimeCardPal is built and checked by one person, Shehroz Shafiq.
- Method: each answer is worked by hand first, then the same inputs are run through the code and compared.
- Sources: pay and overtime rules come from US Department of Labor fact sheets #21, #22 and #23 or the state labor agency.
- Devices: pages are tested at phone, tablet and desktop widths.
What we check, and how
TimeCardPal is built and checked by one person, Shehroz Shafiq. Every calculator follows the same routine before a page goes live and again whenever its code changes:
- Work the answer out by hand first. For each calculator we write down several examples with the answer worked out on paper, including awkward ones: overnight shifts, a break longer than the shift, minutes that do not divide evenly, exactly 40 hours, and zero.
- Run the same inputs through the code and compare. If one answer differs, the page does not go live until we know why.
- Keep the arithmetic simple and visible. Where we can, the page shows its working, so you can see the same steps we checked.
- Take rules from official sources. Pay and overtime rules come from the US Department of Labor (Fact Sheet #21, #22, #23) or from the state's own labor agency, and the page says which.
- Test on phones and desktops. Pages are opened at phone, tablet and desktop widths to check that nothing overlaps or runs off the screen.
Test cases that pass today
These are some of our hand-worked examples. For this list, the “Calculator result” column was produced by running the live calculator code on 23 October 2026.
| Test | Worked by hand | Calculator result | Status |
|---|---|---|---|
| Shift 8:30 AM to 5:00 PM, 30 min unpaid lunch | 8 h 0 min | 8 h 0 min | Pass |
| Overnight shift 10:00 PM to 6:00 AM | 8 h 0 min | 8 h 0 min | Pass |
| 46 hours at $18 an hour, overtime after 40 at 1.5x | $882.00 | $882.00 | Pass |
| 38 hours at $20 an hour (no overtime) | $760.00 | $760.00 | Pass |
| 7 hours 45 minutes as decimal hours | 7.75 | 7.75 | Pass |
| 20 minutes as decimal hours | 0.33 | 0.33 | Pass |
| Punch at 8:07 rounded to the nearest 15 minutes | 8:00 | 8:00 | Pass |
| Punch at 8:08 rounded to the nearest 15 minutes | 8:15 | 8:15 | Pass |
| $60,000 a year at 40 hours x 52 weeks | $28.85 an hour | $28.85 an hour | Pass |
| $20 an hour, 40 hours, 52 weeks: yearly pay | $41,600.00 | $41,600.00 | Pass |
| 135 minutes as hours and minutes | 2 h 15 min | 2 h 15 min | Pass |
| 2.75 hours to minutes | 165 | 165 | Pass |
| 5,000 seconds to hours, minutes and seconds | 1 h 23 min 20 s | 1 h 23 min 20 s | Pass |
| 100 hours in 24-hour days | 4 days 4 hours | 4 days 4 hours | Pass |
| 100 hours in 8-hour work days | 12.5 days | 12.5 days | Pass |
| $18 an hour for 7:45 less a 30-minute break | $130.50 | $130.50 | Pass |
| 1730 military time as standard time | 5:30 PM | 5:30 PM | Pass |
| 0000 military time as standard time | 12:00 AM | 12:00 AM | Pass |
| 168 hours less 49 sleep, 40 work and 5 commute | 74 free hours | 74 free hours | Pass |
| Friday 3 PM to Monday 11 AM, working hours (9 to 5) | 4 h | 4 h | Pass |
What we do not do
- We do not give legal, tax or payroll advice. Results are estimates for planning and checking pay.
- We do not know your employer's rounding policy, your contract or every local rule. Check those yourself.
- Nothing you type into a calculator is sent to us. Calculations run in your browser. Some tools remember your entries in your own browser only, and you can untick that option.
- We do not sell placement in these pages. They are not paid for.
Found a mistake?
If a result looks wrong to you, please tell us. Email hello@timecardpal.com with the page address, what you entered, what you expected and what you got. We will check it against a hand calculation and fix it, and record the fix in the changelog below.
Changelog
Every page also shows its own “Last updated” date near the bottom. Changes made before 23 October 2026 were not logged in detail here.
| Date | What changed |
|---|---|
| 2 Nov 2026 | Added the time clock calculator, the work time calculator, a blog and its first posts. Added worked-example tables to the minutes to hours and time card with lunch pages. Shortened several search descriptions. |
| 23 Oct 2026 | Added nine pages: military time chart, hours to minutes, seconds to hours, hours to days, hourly calculator, how to calculate overtime pay, hours in a week, how many hours until, and this page. Added this test list. Lengthened the search descriptions of ten older pages. |
| 8 Oct 2026 | TimeCardPal first published. |
Frequently asked questions
Who checks the calculators?
Shehroz Shafiq, the founder of TimeCardPal, checks each calculator against hand-worked examples before it goes live and when its code changes.
Is my data sent anywhere?
No. The calculators run in your browser, and what you type is not sent to us. Some tools can remember your entries in your own browser, and you can turn that off.
How do I report a wrong result?
Email hello@timecardpal.com with the page, your inputs, the result you expected and the result you got.
Cite or link to this page
If this page helped your readers, you are welcome to link to it.
TimeCardPal. “How We Check Our Calculators.” https://timecardpal.com/how-we-check-our-calculators/ (accessed 2026).