# Time to Decimal Calculator

## Calculator Use

Enter hours, minutes and seconds to convert from time format of hh:mm:ss, hours:minutes:seconds, to scientific decimal format. This calculator will round to 6 decimal places at most.

## How to Convert Time to Decimal

For the default time of 2:45:45 in the converter, let's convert to just hours, then just minutes, and then just seconds. We will need to convert each part into the unit of time we want.

2:45:45 is 2 hours, 45 minutes, 45 seconds. And we know that 1 hour = 60 minutes and 1 minute = 60 seconds so 60 minutes/ hour * 60 seconds/ minute = 3600 seconds/ hour or 1 hour = 3600 seconds.

### To convert time to just hours:

- 2 hours is 2 hours * (1 hour/ 1 hour) =
**2 hours** - 45 minutes is 45 minutes * (1 hour / 60 minutes) = 45/60 hours =
**0.75 hours** - 45 seconds is 45 seconds * (1 hour / 3600 seconds) = 45/3600 hours =
**0.0125 hours** - Adding them all together we have 2 hours + 0.75 hours + 0.0125 hours =
**2.7625 hours**

### To convert time to just minutes:

- 2 hours is 2 hours * (60 minutes / 1 hour) = 2 * 60 minutes =
**120 minutes** - 45 minutes is 45 minutes * (1 minute / 1 minute) = 45 * 1 minutes =
**45 minutes** - 45 seconds is 45 seconds * (1 minute / 60 seconds) = 45/60 minutes =
**0.75 minutes** - Adding them all together we have 120 minutes + 45 minutes + 0.75 minutes =
**165.75 minutes**

### To convert time to just seconds:

- 2 hours is 2 hours * (3600 seconds / 1 hour) = 2 * 3600 seconds =
**7200 seconds** - 45 minutes is 45 minutes * (60 seconds / 1 minute) = 45 * 60 seconds =
**2700 seconds** - 45 seconds is 45 seconds * (1 second / 1 second) = 45 * 1 seconds =
**45 seconds** - Adding them all together we have 7200 seconds + 2700 seconds + 45 seconds =
**9945 seconds**