Calculation Issues

Calculate Minutes Between Two Date and Time Values in Excel

Steven ParkerSteven Parker Nov 27, 2026 871 views

Question details

Calculate the total number of minutes between two date and time values.

Calculate Minutes Between Two Date and Time Values in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Enter the date and time values

In your worksheet, enter the later date and time in A1 and the earlier date and time in B1.

2
Calculate the difference

Select an empty cell, enter =(A1-B1)*1440, and press Enter.

3
Format the result

If the result appears as a date or time, select the result cell and choose Home > Number Format > Number or General.

Calculate elapsed minutes with a formula
Handling negative differences: If you always need a positive difference regardless of cell order, use =ABS(A1-B1)*1440.
Calculate elapsed minutes

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. 1. Open your spreadsheet: Open WPS Spreadsheet and open your workbook, or create a new spreadsheet.
  2. 2. Enter the values: Enter the later date and time in A1 and the earlier date and time in B1.
  3. 3. Calculate minutes: Select an empty cell, enter =(A1-B1)*1440, and press Enter.
  4. 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.
Calculate elapsed minutes across multiple datesOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and number formattingWork with a free, easy-to-use office suite
QA img-9

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.