{
  "id": "minutes",
  "version": "29294557587c",
  "status": "published",
  "name": "Minutes Calculator",
  "question": "How many minutes between times?",
  "summary": "Counts the minutes from one time to another, on the same day or on different dates, also as days, hours, and minutes, as decimal hours, and as seconds.",
  "category": "days",
  "subcategory": "time-and-hours",
  "url": "https://www.acalculator.org/days/minutes-calculator",
  "markdown": "https://www.acalculator.org/days/minutes-calculator.md",
  "kind": "function",
  "method": "minutes = (end date − start date) × 1,440 + end time in minutes − start time in minutes",
  "assumptions": [
    "Times are wall-clock times with no time zone, and every day has 24 hours: a daylight-saving change is not counted.",
    "Times are whole minutes; the result counts the minutes from the start up to the end.",
    "The dates are today unless you change them; the page reads today’s date from your device when it loads.",
    "An end before the start has no answer."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "startDate": {
        "title": "Start date",
        "description": "The date of the start time. Today, unless you change it.",
        "type": "string",
        "format": "date"
      },
      "start": {
        "title": "Start time",
        "description": "The time the period starts.",
        "type": "string",
        "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$"
      },
      "endDate": {
        "title": "End date",
        "description": "The date of the end time. Today, unless you change it.",
        "type": "string",
        "format": "date"
      },
      "end": {
        "title": "End time",
        "description": "The time the period ends.",
        "type": "string",
        "pattern": "^\\d{2}:\\d{2}(:\\d{2})?$"
      }
    }
  },
  "outputs": {
    "minutes": {
      "label": "Minutes",
      "description": "Whole minutes from the start to the end.",
      "format": "integer"
    },
    "time": {
      "label": "In days, hours, and minutes",
      "description": "The minutes as whole days, hours, and minutes.",
      "format": "duration"
    },
    "hours": {
      "label": "In hours",
      "description": "The minutes ÷ 60, as decimal hours.",
      "format": "number"
    },
    "seconds": {
      "label": "Seconds",
      "description": "The minutes × 60.",
      "format": "integer"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "startDate": "2026-09-30",
      "start": "09:00",
      "endDate": "2026-09-30",
      "end": "17:30"
    },
    "outputs": {
      "minutes": 510,
      "time": {
        "days": 0,
        "hours": 8,
        "minutes": 30
      },
      "hours": 8.5,
      "seconds": 30600
    },
    "text": "From 9:00 AM on September 30, 2026 to 5:30 PM on September 30, 2026 is 510 minutes."
  },
  "examples": [
    {
      "given": {
        "startDate": "2026-09-30",
        "start": "09:00",
        "endDate": "2026-09-30",
        "end": "17:30"
      },
      "expect": {
        "minutes": 510,
        "time": {
          "days": 0,
          "hours": 8,
          "minutes": 30
        },
        "hours": 8.5,
        "seconds": 30600
      },
      "source": "SI Brochure (BIPM, 9th edition, 2019), Table 8: 1 h = 60 min, 1 min = 60 s; hand calculation in content.mdx"
    },
    {
      "given": {
        "startDate": "2026-09-30",
        "start": "23:40",
        "endDate": "2026-10-01",
        "end": "01:05"
      },
      "expect": {
        "minutes": 85,
        "time": {
          "days": 0,
          "hours": 1,
          "minutes": 25
        },
        "hours": 1.4166666666666667
      },
      "source": "SI Brochure (BIPM, 9th edition, 2019), Table 8: 1 d = 24 h; hand calculation in content.mdx"
    },
    {
      "given": {
        "startDate": "2026-01-01",
        "start": "00:00",
        "endDate": "2026-01-08",
        "end": "12:00"
      },
      "expect": {
        "minutes": 10800,
        "time": {
          "days": 7,
          "hours": 12,
          "minutes": 0
        },
        "hours": 180,
        "seconds": 648000
      },
      "source": "SI Brochure (BIPM, 9th edition, 2019), Table 8: 1 d = 1,440 min; hand calculation in content.mdx"
    }
  ],
  "sources": [
    "Bureau International des Poids et Mesures, The International System of Units (SI Brochure, 9th edition, 2019), Table 8: minute, hour and day (1 min = 60 s, 1 h = 60 min, 1 d = 24 h)."
  ],
  "related": [
    "hours",
    "time-duration",
    "time",
    "time-to-decimal"
  ],
  "changelog": []
}
