{"id":67142,"date":"2026-10-20T09:51:59","date_gmt":"2026-10-20T06:51:59","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67142"},"modified":"2026-10-20T09:51:59","modified_gmt":"2026-10-20T06:51:59","slug":"time-calculator-add-and-subtract-time","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/life\/time-calculator-add-and-subtract-time\/","title":{"rendered":"Time Calculator \u2013 Add and Subtract Time"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Add Time to a Clock or Combine Durations<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67142\" data-favorite-title=\"Time Calculator\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/life\/time-calculator-add-and-subtract-time\/\" data-favorite-excerpt=\"Add or subtract a duration from a clock time, or combine up to five signed durations. Enter a starting time and an adjustment, or switch modes to total durations.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-date\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/life\/time-calculator-add-and-subtract-time\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67142\" data-post=\"67142\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">Calculation Mode<\/label><div class=\"grid grid-cols-1\"><select id=\"field-1\" name=\"calculation_mode\"><option value=\"clock\" selected>Time + duration<\/option><option value=\"durations\">Duration \u00b1 duration<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"is-single field\" id=\"input-2\"><span class=\"font-semibold\">Starting Clock Time<\/span><\/div><div class=\"field\" id=\"input-3\"><label for=\"field-3\">Clock Format<\/label><div class=\"grid grid-cols-1\"><select id=\"field-3\" name=\"clock_format\"><option value=\"h12\" selected>12-hour clock<\/option><option value=\"h24\">24-hour clock<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-4\"><label for=\"field-4\">Clock Time<\/label><input type=\"text\" name=\"clock_time\" id=\"field-4\" aria-describedby=\"calc-info-4\" placeholder=\"hh:mm:ss\" step=\"any\" value=\"11:30:00\"\/><small id=\"calc-info-4\">Enter hours, minutes and seconds, such as 11:30:00.<\/small><\/div><div class=\"field\" id=\"input-5\"><label for=\"field-5\">AM or PM<\/label><div class=\"grid grid-cols-1\"><select id=\"field-5\" name=\"am_or_pm\"><option value=\"AM\">AM<\/option><option value=\"PM\" selected>PM<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"is-single field\" id=\"input-6\"><span class=\"font-semibold\">Adjust the Clock By<\/span><\/div><div class=\"field\" id=\"input-7\"><label for=\"field-7\">Operation<\/label><div class=\"grid grid-cols-1\"><select id=\"field-7\" name=\"operation\"><option value=\"plus\" selected>Add (+)<\/option><option value=\"minus\">Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-8\"><label for=\"field-8\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-8\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-9\"><label for=\"field-9\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-9\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"2\"\/><\/div><div class=\"field\" id=\"input-10\"><label for=\"field-10\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-10\" aria-describedby=\"calc-info-10\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"45\"\/><small id=\"calc-info-10\">Values over 59 are allowed and will be normalized.<\/small><\/div><div class=\"field\" id=\"input-11\"><label for=\"field-11\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-11\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"is-single field\" id=\"input-12\"><span class=\"font-semibold\">Durations to Combine<\/span><\/div><div class=\"field is-single\" id=\"input-13\"><label for=\"field-13\">Number of Durations<\/label><div class=\"grid grid-cols-1\"><select id=\"field-13\" name=\"number_of_durations\"><option value=\"1\">1 duration<\/option><option value=\"2\">2 durations<\/option><option value=\"3\" selected>3 durations<\/option><option value=\"4\">4 durations<\/option><option value=\"5\">5 durations<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"is-single field\" id=\"input-14\"><span class=\"font-semibold\">Duration 1<\/span><\/div><div class=\"field\" id=\"input-15\"><label for=\"field-15\">Sign<\/label><div class=\"grid grid-cols-1\"><select id=\"field-15\" name=\"sign\"><option value=\"plus\" selected>Add (+)<\/option><option value=\"minus\">Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-16\"><label for=\"field-16\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-16\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-17\"><label for=\"field-17\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-17\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"1\"\/><\/div><div class=\"field\" id=\"input-18\"><label for=\"field-18\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-18\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"20\"\/><\/div><div class=\"field\" id=\"input-19\"><label for=\"field-19\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-19\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"is-single field\" id=\"input-20\"><span class=\"font-semibold\">Duration 2<\/span><\/div><div class=\"field\" id=\"input-21\"><label for=\"field-21\">Sign<\/label><div class=\"grid grid-cols-1\"><select id=\"field-21\" name=\"sign\"><option value=\"plus\">Add (+)<\/option><option value=\"minus\" selected>Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-22\"><label for=\"field-22\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-22\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-23\"><label for=\"field-23\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-23\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-24\"><label for=\"field-24\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-24\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"50\"\/><\/div><div class=\"field\" id=\"input-25\"><label for=\"field-25\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-25\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"is-single field\" id=\"input-26\"><span class=\"font-semibold\">Duration 3<\/span><\/div><div class=\"field\" id=\"input-27\"><label for=\"field-27\">Sign<\/label><div class=\"grid grid-cols-1\"><select id=\"field-27\" name=\"sign\"><option value=\"plus\" selected>Add (+)<\/option><option value=\"minus\">Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-28\"><label for=\"field-28\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-28\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-29\"><label for=\"field-29\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-29\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-30\"><label for=\"field-30\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-30\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"10\"\/><\/div><div class=\"field\" id=\"input-31\"><label for=\"field-31\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-31\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"5\"\/><\/div><div class=\"is-single field\" id=\"input-32\"><span class=\"font-semibold\">Duration 4<\/span><\/div><div class=\"field\" id=\"input-33\"><label for=\"field-33\">Sign<\/label><div class=\"grid grid-cols-1\"><select id=\"field-33\" name=\"sign\"><option value=\"plus\" selected>Add (+)<\/option><option value=\"minus\">Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-34\"><label for=\"field-34\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-34\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-35\"><label for=\"field-35\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-35\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-36\"><label for=\"field-36\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-36\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-37\"><label for=\"field-37\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-37\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"is-single field\" id=\"input-38\"><span class=\"font-semibold\">Duration 5<\/span><\/div><div class=\"field\" id=\"input-39\"><label for=\"field-39\">Sign<\/label><div class=\"grid grid-cols-1\"><select id=\"field-39\" name=\"sign\"><option value=\"plus\" selected>Add (+)<\/option><option value=\"minus\">Subtract (\u2212)<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field\" id=\"input-40\"><label for=\"field-40\">Days<\/label><input type=\"text\" name=\"days\" id=\"field-40\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-41\"><label for=\"field-41\">Hours<\/label><input type=\"text\" name=\"hours\" id=\"field-41\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-42\"><label for=\"field-42\">Minutes<\/label><input type=\"text\" name=\"minutes\" id=\"field-42\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><div class=\"field\" id=\"input-43\"><label for=\"field-43\">Seconds<\/label><input type=\"text\" name=\"seconds\" id=\"field-43\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"0\"\/><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67142\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Time Result<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Resulting Clock Time<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-2\"><span class=\"field-title\"><span>Day Rollover<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-3\"><span class=\"field-title\"><span>Combined Duration<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-4\"><span class=\"field-title\"><span>Total Hours<\/span><\/span><span class=\"field-value\" id=\"result-4\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-5\"><span class=\"field-title\"><span>Total Minutes<\/span><\/span><span class=\"field-value\" id=\"result-5\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-6\"><span class=\"field-title\"><span>Total Seconds<\/span><\/span><span class=\"field-value\" id=\"result-6\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67142\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Time Calculator Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ \\begin{aligned} D_i &amp;= 86{,}400d_i+3{,}600h_i+60m_i+s_i \\\\ T_{\\text{clock}} &amp;= T_0+\\sigma D_1 \\\\ q &amp;= \\left\\lfloor\\frac{T_{\\text{clock}}}{86{,}400}\\right\\rfloor, \\qquad r=T_{\\text{clock}}-86{,}400q \\\\ T_{\\text{combined}} &amp;= \\sum_{i=1}^{n}\\sigma_iD_i \\end{aligned} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(D_i\\) \u2014 duration \\(i\\), converted from days \\(d_i\\), hours \\(h_i\\), minutes \\(m_i\\), and seconds \\(s_i\\) into seconds.<\/li>\n<li>\\(T_0\\) \u2014 starting clock time in seconds after midnight, using a 24-hour hour value.<\/li>\n<li>\\(\\sigma\\) or \\(\\sigma_i\\) \u2014 \\(+1\\) for Add or \\(-1\\) for Subtract.<\/li>\n<li>\\(q\\) \u2014 whole-day rollover; \\(r\\) \u2014 resulting seconds after midnight.<\/li>\n<li>\\(n\\) \u2014 number of durations, from 1 to 5; \\(T_{\\text{combined}}\\) \u2014 signed total in seconds.<\/li>\n<\/ul>\n<p>In clock mode, the calculator shifts the starting time and separates the result into a time of day and a day rollover. In duration mode, it adds the signed durations and converts their total into days, hours, minutes, and seconds.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Time Calculator \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> with the default clock settings, start at 11:30:00 PM and add 2 hours 45 minutes.<\/p>\n<p>\\[ \\begin{aligned} T_0 &amp;= 23(3{,}600)+30(60)=84{,}600\\text{ s} \\\\ D_1 &amp;= 2(3{,}600)+45(60)=9{,}900\\text{ s} \\\\ T_{\\text{clock}} &amp;= 84{,}600+9{,}900=94{,}500\\text{ s} \\\\ q &amp;= 1,\\qquad r=94{,}500-86{,}400=8{,}100\\text{ s} \\\\ r &amp;= 2(3{,}600)+15(60) \\end{aligned} \\]<\/p>\n<p><strong>Result:<\/strong> 2:15:00 AM, with a day rollover of +1 day.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to use the calculator<\/h2>\n<ol>\n<li>Choose a <strong>Calculation Mode<\/strong>: <strong>Time + duration<\/strong> to change a clock time, or <strong>Duration \u00b1 duration<\/strong> to combine lengths of time.<\/li>\n<li>For a clock calculation, select <strong>Clock Format<\/strong>. Enter <strong>Clock Time<\/strong> as hours:minutes:seconds, such as 11:30:00. If you select the 12-hour clock, also choose <strong>AM or PM<\/strong>.<\/li>\n<li>Choose <strong>Operation<\/strong> as Add (+) or Subtract (\u2212). Enter the adjustment in <strong>Days<\/strong>, <strong>Hours<\/strong>, <strong>Minutes<\/strong>, and <strong>Seconds<\/strong>. Read <strong>Resulting Clock Time<\/strong> together with <strong>Day Rollover<\/strong>.<\/li>\n<li>To combine durations instead, set <strong>Number of Durations<\/strong> from 1 to 5. For each visible duration, choose its <strong>Sign<\/strong> and enter its <strong>Days<\/strong>, <strong>Hours<\/strong>, <strong>Minutes<\/strong>, and <strong>Seconds<\/strong>.<\/li>\n<li>Read <strong>Combined Duration<\/strong> for the signed days\u2013hours\u2013minutes\u2013seconds result. <strong>Total Hours<\/strong>, <strong>Total Minutes<\/strong>, and <strong>Total Seconds<\/strong> express that same result in one unit.<\/li>\n<\/ol>\n<h2>Clock times and durations are different<\/h2>\n<p>A clock time identifies a point within a day; a duration measures how long something lasts. Adding 2 hours to 11:30 PM gives 1:30 AM, not 13:30 PM. Because the result passes midnight, its day rollover is +1 day. Subtracting across midnight produces a negative rollover, such as \u22121 day. A zero rollover means the result stays on the same day as the starting clock time.<\/p>\n<p>The calculator works in seconds so that minutes and seconds carry into larger units automatically. You can enter more than 59 minutes in a duration: 90 minutes is treated as 1 hour 30 minutes. An adjustment can also include whole days. The clock result still shows a time within a single day, while Day Rollover keeps track of how many days forward or backward the calculation moved.<\/p>\n<p>Duration mode does not need a starting clock time. It combines up to five time spans, each with its own Add or Subtract sign. With the default duration entries, 1 hour 20 minutes \u2212 50 minutes + 10 minutes 5 seconds equals <strong>40 minutes 5 seconds<\/strong>, or 2,405 total seconds. If subtractions exceed additions, the Combined Duration and unit totals are negative. The displayed day, hour, minute, and second components describe the magnitude of that signed result.<\/p>\n<h2>Practical tips and limitations<\/h2>\n<ul>\n<li>Enter <strong>Clock Time<\/strong> with two-digit minutes and seconds, such as 9:05:00. The hour can have one or two digits. Use hours 1\u201312 with AM or PM, or hours 0\u201323 in 24-hour format; 00:00:00 represents midnight in 24-hour format.<\/li>\n<li>Duration fields accept nonnegative whole numbers only, up to 100,000 per field. Use <strong>Operation<\/strong> or <strong>Sign<\/strong> to subtract rather than entering negative values in the fields.<\/li>\n<li>Day Rollover is a count of days, not a calendar date. The calculator does not account for time zones, daylight saving changes, or leap seconds. If your calculation crosses a daylight saving change, the elapsed real-world time may differ from a simple clock adjustment.<\/li>\n<li><strong>Total Hours<\/strong> and <strong>Total Minutes<\/strong> may be rounded for display; <strong>Total Seconds<\/strong> is the whole-second total. For example, 30 minutes is 0.5 total hours, not 30 total hours.<\/li>\n<\/ul>\n<p>For a trip with departure and travel details, use the <a href=\"https:\/\/wpcalc.com\/en\/life\/road-trip-arrival-time-calculator\/\">Road Trip Arrival Time calculator<\/a>. For planning across time zones, see the <a href=\"https:\/\/wpcalc.com\/en\/life\/jet-lag-recovery-calculator\/\">Jet Lag Recovery calculator<\/a>. If the duration is specifically for food preparation, the <a href=\"https:\/\/wpcalc.com\/en\/life\/turkey-thawing-time-calculator\/\">Turkey Thawing Time calculator<\/a> estimates the time needed from the turkey\u2019s weight.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add or subtract a duration from a clock time, or combine up to five signed durations. Enter a starting time and an adjustment, or switch modes to total durations.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[20],"class_list":["post-67142","post","type-post","status-publish","format-standard","hentry","category-life","tag-date"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67142"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67142\/revisions"}],"predecessor-version":[{"id":67231,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67142\/revisions\/67231"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}