How we calculate

Inputs and assumptions

Each calculator lists its units, input limits and assumptions. If a value is missing or out of range, an error explains what to change.

Money and dates

The loan calculator uses decimal arithmetic and rounds monthly amounts to cents. Date calculations count calendar days, so local clock changes do not affect the count.

Examples and checks

Automated tests cover worked examples, input limits and invalid values. Each calculator links to its sources and shows which version of the method was checked.

Convert units

The Temperature Converter converts absolute Fahrenheit and Celsius temperatures, including a list and a mathematical oven table. It does not adjust fan settings or gas marks.

Using an estimate

The fixed-rate loan tool calculates principal and interest separately from optional manually entered property tax, home insurance and mortgage insurance costs. Those optional costs do not change the loan balance. Fees and variable interest rates are excluded; a lender's actual schedule may differ.

Reproducible model checks

These nine synthetic examples were checked locally on October 19, 2026, using Node.js 24.19.0 and the model versions below. The actual results matched the independently specified expected results. This checks the calculation models, including the Unit Price comparison engine and Time Card input handling; it is not a physical-device test or a professional accounting review. A local check alone does not confirm a deployed release.

Unit Price

Total quantity is pack count multiplied by pack size. A per-pack price is multiplied by pack count; a total-set price is used as entered. We compare prices in the same unit before rounding the display. A lower unit price can still mean a higher total purchase price.

Model version: 1.1.0. Checked: October 19, 2026. Environment: local Node.js 24.19.0.

These examples compare mass, with no discounts. Prices use the same currency. Product quality, taxes, delivery and employer or store policies are outside the comparison.

Unit Price: expected and actual model results
Case / inputExpectedActualModel versionChecked at
UP1: A: $4 for 500 g; B: $7 for 1 kg; one pack each.A: $0.008/g; B: $0.007/g; B is lower.A: $0.008/g; B: $0.007/g; B is lower.1.1.02026-10-19
UP2: A: $3 per pack, 4 × 250 g; B: $10 total, 1 × 1 kg.A total: $12; A: $0.012/g; B: $0.01/g; B is lower.A total: $12; A: $0.012/g; B: $0.01/g; B is lower.1.1.02026-10-19
UP3: A: $5 for 500 g; B: $10 for 1 kg; one pack each.Both $0.01/g; tie.Both $0.01/g; tie.1.1.02026-10-19

Time Card

For each day, subtract start time from end time, add 24 hours only when Next day is selected, then subtract the unpaid break. Add net minutes before converting the weekly total to hours. Blank days are skipped.

Model version: 2.0.0. Checked: October 19, 2026. Environment: local Node.js 24.19.0.

Week starting October 19, 2026; 24-hour clock; one entered day and six blank days; breaks entered as minutes. This is clock-time arithmetic without time zones, daylight-saving adjustments, overtime or payroll rules.

Time Card: expected and actual model results
Case / inputExpectedActualModel versionChecked at
TC1: 09:00–17:00; 30-minute break; same day.450 minutes; 7:30; 7.5 decimal hours.450 minutes; 7:30; 7.5 decimal hours.2.0.02026-10-19
TC2: 22:00–06:00; Next day; 45-minute break.435 minutes; 7:15; 7.25 decimal hours.435 minutes; 7:15; 7.25 decimal hours.2.0.02026-10-19
TC3: 09:00–10:00; 61-minute break; same day.Rejected: break_too_long (break exceeds elapsed time).Rejected: break_too_long (break exceeds elapsed time).2.0.02026-10-19

Decimal Hours

Divide total minutes by 60 for decimal hours, displayed to at most four decimal places. To convert back, multiply decimal hours by 60 and round to the nearest whole minute; half minutes round up. Rounding happens before splitting hours and minutes.

Model version: 1.0.0. Checked: October 19, 2026. Environment: local Node.js 24.19.0.

These are durations, including durations above 24 hours. No time-of-day, time-zone or employer-specific rounding rules apply. Decimal input accepts at most six decimal places; total duration is limited to 1,000,000 hours.

Decimal Hours: expected and actual model results
Case / inputExpectedActualModel versionChecked at
DH1: 7 hours 30 minutes → decimal hours.450 minutes; 7.5 hours; exact.450 minutes; 7.5 hours; exact.1.0.02026-10-19
DH2: 0 hours 1 minute → decimal hours.1 minute; 0.0167 hours; rounded.1 minute; 0.0167 hours; rounded.1.0.02026-10-19
DH3: 1.999999 decimal hours → hours and minutes.120 minutes; 2:00; rounded.120 minutes; 2:00; rounded.1.0.02026-10-19

Report a discrepancy

Report a calculation error with the calculator name, model version, made-up inputs, expected answer and actual answer. Please omit personal or financial details.