You can find the total seconds between two times in Google Sheets in many ways. We’ll cover the two easiest.
Preparation – Properly Format Your Times
Before you use the formulas in this tutorial, ensure your times are valid. If the dates are invalid, they aren’t numbers, so these steps won’t work. There are several formats; choose the one that works best for you.
As shown above, you can use the ISDATE function to check each date.
Calculations – Find the Difference Between Two Times in Seconds
Once your data is ready, you can find the seconds using either of these easy formulas. Each technique has different advantages.
The most simple formula simple subtracts the starting time from the ending time. When you subtract two times in Google Sheets, the result is the number of days between them. Since you are looking for seconds instead of days, multiply this difference by
24 to get to hours, by
60 to arrive at minutes, then by 60 to arrive at seconds.
This next formula converts the result to a text string using the TEXT function. Using a text string allows you to add the unit to the end of the result to make it clear to the spreadsheet reader. So, as seen in the image above, the result is shown as 80548 minutes instead of just 80,548.00.
⚠️ Be sure to add the square brackets around the
[S] if you are calculating a longer duration. These brackets change the format from a point in time to a duration. This allows the seconds to exceed 60.
Practice – Get a Copy of the Template
Make a copy of this template to see the examples in a live Google Sheet.
Advanced – Use TIMEDIF for Other Time Units
If you want a more complex output, such as years, weeks, or months, consider using the TIMEDIF add-on.
Learn how to calculate age in minutes using Google Sheets.
Learn how to find the number of hours between two times in Google Sheets.
Learn how to find the weeks and days between two dates.
Learn how to find the number of weeks elapsed between two dates.
Find the number of days and hours elapsed between to times.
Find the difference between two times in seconds.