Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=B2-A2Computed by a real spreadsheet engine on the sample data below.
| Start Time | End Time | Elapsed |
| 08:00 | 17:30 | |
| 09:15 | 11:45 | |
| 14:00 | 16:00 | |
| 07:30 | 09:00 |
=B2-A2→0.3958333333
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Add a conditional: =B2-A2+(B2<A2). The (B2<A2) portion evaluates to 1 (TRUE) when the end time is less than the start time, adding 1 day (24 hours) to the result.
Multiply the time result by 1440 for minutes or by 24 for hours: =(B2-A2)*1440 gives total minutes. Format the result as a Number, not a Time.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: