ThisCalculator

Date and time

Calculator for Days and Hours

Updated · Standard formula, shown below

Total hours 79 h
Total minutes
4,740 min
Result
Decimal days
3.292 days
Result
Weeks
0.470 weeks
Result

This calculator converts a duration given in days and hours into one unit. Enter the days and the extra hours and you get the total hours, total minutes, decimal days and weeks.

Formula

Total hours = days × 24 + hours. Minutes = hours × 60. Decimal days = hours ÷ 24. Weeks = hours ÷ 168 (7 × 24).

  • d: whole or decimal days
  • hr: extra hours on top of the days

Worked Example

3 days and 7 hours.

  1. 3 × 24 + 7 = 79 hours
  2. 79 × 60 = 4,740 minutes
  3. 79 ÷ 24 = 3.292 days
  4. 79 ÷ 168 = 0.470 weeks

Limits and common mistakes

  • This counts elapsed time. A span that crosses a daylight-saving change has one hour more or less on the wall clock.
  • 0.292 days is not 2.92 hours: multiply the decimal part by 24 (0.2917 × 24 = 7 h).
  • A working day is often 8 hours, not 24; divide total hours by 8 for work days.
  • To convert the other way, divide total hours by 24: the whole number is days and the remainder is hours (79 ÷ 24 = 3 remainder 7).
  • A month is not a fixed number of hours (28 to 31 days), so this calculator stops at weeks.
Formula used
in d | Days | days | 3 | 0
in hr | Extra hours | h | 7 | 0
out th | Total hours | h | d * 24 + hr | 0
out tmin | Total minutes | min | th * 60 | 0
out dd | Decimal days | days | th / 24 | 3
out wk | Weeks | weeks | th / 168 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.