{
  "slug": "time-duration",
  "title": "Time Duration Calculator",
  "heading": "Time Duration Calculator",
  "category": "other",
  "url": "https://www.revenuelab.fyi/toolbox/time-duration",
  "summary": "How long between two times — in hours and minutes.",
  "description": "Enter start and end times in 24-hour format to get the duration.",
  "formula": null,
  "dateModified": "2026-10-03",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=time-duration",
  "inputs": [
    {
      "id": "startH",
      "label": "Start hour",
      "kind": "number",
      "hint": null,
      "default": 9,
      "unit": null,
      "min": 0,
      "max": 23
    },
    {
      "id": "startM",
      "label": "Start minute",
      "kind": "number",
      "hint": null,
      "default": 0,
      "unit": null,
      "min": 0,
      "max": 59
    },
    {
      "id": "endH",
      "label": "End hour",
      "kind": "number",
      "hint": null,
      "default": 17,
      "unit": null,
      "min": 0,
      "max": 23
    },
    {
      "id": "endM",
      "label": "End minute",
      "kind": "number",
      "hint": null,
      "default": 30,
      "unit": null,
      "min": 0,
      "max": 59
    }
  ],
  "outputs": [
    {
      "id": "readable",
      "label": "Duration",
      "format": "raw",
      "hint": null,
      "primary": true
    },
    {
      "id": "hours",
      "label": "Total hours",
      "format": "decimal",
      "hint": null,
      "primary": false
    },
    {
      "id": "minutes",
      "label": "Total minutes",
      "format": "number",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Start hour: 9",
      "Start minute: 0",
      "End hour: 17",
      "End minute: 30"
    ],
    "outputs": [
      "Duration: 8h 30m",
      "Total hours: 8.5",
      "Total minutes: 510"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter start hour.",
      "Enter start minute.",
      "Enter end hour.",
      "Enter end minute.",
      "Read your duration on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "startH": 5,
        "startM": 0,
        "endH": 10,
        "endM": 18
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "startH": 9,
        "startM": 0,
        "endH": 17,
        "endM": 30
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "startH": 14,
        "startM": 0,
        "endH": 23,
        "endM": 48
      }
    }
  ],
  "limitations": [
    "Estimates assume standard, average conditions — local rules, pricing, and materials vary.",
    "Results are rounded for readability; add a buffer before ordering, booking, or committing.",
    "Double-check anything with a real cost attached against a local quote."
  ],
  "faq": [
    {
      "q": "How does the time duration calculator work?",
      "a": "Enter start and end times in 24-hour format to get the duration."
    },
    {
      "q": "What do I need to enter?",
      "a": "4 values: start hour, start minute, end hour, and end minute. Each field starts with a sensible default, so you can change one number at a time and watch the result move."
    },
    {
      "q": "What does the duration result mean?",
      "a": "It is returned as a plain value and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds."
    },
    {
      "q": "Is this calculator free, and do I need an account?",
      "a": "Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser."
    },
    {
      "q": "How accurate is the result?",
      "a": "It applies the standard formula exactly, so the arithmetic is precise. Estimates assume standard, average conditions — local rules, pricing, and materials vary."
    },
    {
      "q": "Who is this tool for?",
      "a": "It's built for anyone doing everyday planning maths — a quick estimate that would otherwise need four browser tabs and a calculator app."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/hours",
    "https://www.revenuelab.fyi/toolbox/date"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Time Duration Calculator (https://www.revenuelab.fyi/toolbox/time-duration)"
}