Calculate the elapsed time between two clock times. Enter a start time and end time using hours, minutes, and AM/PM. The calculator shows the duration in hours and minutes, total minutes, and decimal hours. Durations that span midnight are handled automatically.
The duration between two clock times is found by converting both times to the total number of minutes since midnight, then subtracting the start from the end. If the result is negative (meaning the end time is earlier in the day than the start time), add 1,440 minutes (the number of minutes in 24 hours) to get the correct overnight duration.
Convert each time to minutes since midnight:
Then: Elapsed minutes = End minutes - Start minutes
If Elapsed minutes is negative or you have selected "next day": Elapsed minutes = Elapsed minutes + 1,440
To convert elapsed minutes to hours and minutes: Hours = floor(Elapsed / 60), Minutes = Elapsed mod 60
To convert to decimal hours: Decimal hours = Elapsed minutes / 60
| 12-hour | 24-hour | Minutes since midnight |
|---|---|---|
| 12:00 AM (midnight) | 00:00 | 0 |
| 6:00 AM | 06:00 | 360 |
| 9:00 AM | 09:00 | 540 |
| 12:00 PM (noon) | 12:00 | 720 |
| 5:30 PM | 17:30 | 1,050 |
| 11:59 PM | 23:59 | 1,439 |
Default inputs: start 9:00 AM, end 5:30 PM.
This matches the calculator output of 8h 30m (510 total minutes, 8.50 decimal hours).
Start 10:00 PM, end 6:30 AM (next morning):
Method: Standard time arithmetic. Duration in minutes = (end hour x 60 + end minutes) - (start hour x 60 + start minutes). If the result is negative, 1,440 minutes (24 hours) is added to reflect a span across midnight. Decimal hours = total minutes / 60.
This calculator works with clock times only and does not account for daylight saving transitions. For scheduling purposes that cross a daylight saving boundary, adjust times manually by one hour as appropriate.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.