Calculate Minutes Between Two Date and Time Values in Excel
Question details
Calculate the total number of minutes between two date and time values.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet contains an earlier and a later date and time, and the user wants their difference in minutes.
- Observed behavior
- The desired result is the total elapsed time in minutes, including time across multiple dates.
Enter valid Excel date and time values in A1 and B1, with the later value in A1 and the earlier value in B1. Include the dates when the interval crosses midnight.
Calculate elapsed minutes with a formula
Use this method to return the difference as a numeric value in minutes, including fractional minutes.
Excel stores dates and times as serial values measured in days. Multiplying the difference by 1,440 converts days to minutes.
In your worksheet, enter the later date and time in A1 and the earlier date and time in B1.
Select an empty cell, enter =(A1-B1)*1440, and press Enter.
If the result appears as a date or time, select the result cell and choose Home > Number Format > Number or General.

Display elapsed time using a total-minutes format
Use a custom format when you want the result cell to display elapsed minutes while retaining the underlying time value.
Calculate date and time differences in WPS Spreadsheet
Use WPS Spreadsheet to subtract date and time values and convert the result to minutes with the same formula used in Excel.
- 1. Open your spreadsheet: Open WPS Spreadsheet and open your workbook, or create a new spreadsheet.
- 2. Enter the values: Enter the later date and time in A1 and the earlier date and time in B1.
- 3. Calculate minutes: Select an empty cell, enter =(A1-B1)*1440, and press Enter.
- 4. Check the number format: If the result appears as a date or time, select the result cell and use the number format control on the Home tab to choose Number or General.

Frequently Asked Questions
Why does the formula multiply by 1,440?
Excel stores date and time differences in days. There are 24 hours in a day and 60 minutes in an hour, so multiplying by 24 × 60 converts the difference to minutes.
How do I calculate minutes across midnight?
Include the date as well as the time in both cells, then use =(A1-B1)*1440, with the later date and time in A1.
How can I make the result positive if the cells are reversed?
Enter =ABS(A1-B1)*1440 in the result cell. ABS returns the magnitude of the difference regardless of which value is later.
Why does my result look like a date instead of a number?
The result cell may have a date or time format. Select it and choose Home > Number Format > Number or General.




