{
  "id": "hours-to-days",
  "version": "b62212728db9",
  "status": "published",
  "name": "Hours to Days Converter",
  "question": "How do I convert hours to days?",
  "summary": "Converts hours (h) to days (d) and back, with the exact unit definitions.",
  "category": "convert",
  "subcategory": "units",
  "url": "https://www.acalculator.org/convert/hours-to-days",
  "markdown": "https://www.acalculator.org/convert/hours-to-days.md",
  "kind": "formulas",
  "method": "d = h × 0.0416666666667 (the same as h ÷ 24)",
  "assumptions": [
    "1 hour = 0.0416666666667 days, from the exact definitions in NIST SP 811.",
    "Exact on the typed decimals: at most 6 decimal places (6 significant digits below 0.0001), rounded half up.",
    "Days and hours use the box you typed; hours round half up to 0.01, and 24.00 carries."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "value": {
        "title": "Hours (h)",
        "description": "The amount in hours to convert.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000000
      },
      "result": {
        "title": "Days (d)",
        "description": "The same amount in days.",
        "type": "number",
        "minimum": 0,
        "maximum": 41666666666.666664
      }
    }
  },
  "solve": {
    "fillAny": 1,
    "variables": [
      "value",
      "result"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "value": {
      "label": "Hours (h)",
      "description": "The amount in hours to convert.",
      "format": "number"
    },
    "result": {
      "label": "Days (d)",
      "description": "The amount in days.",
      "format": "number"
    },
    "hm": {
      "label": "Days and hours",
      "description": "Whole days and the hours left over, to 0.01 h.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "value": 1
    },
    "outputs": {
      "result": 0.041666666666666664,
      "hm": "0 d 1 h"
    },
    "text": "1 h = 0.041667 d (0 d 1 h)."
  },
  "examples": [
    {
      "given": {
        "value": 24
      },
      "expect": {
        "result": 1
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "value": 36
      },
      "expect": {
        "result": 1.5
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "result": 1.5
      },
      "expect": {
        "value": 36
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    }
  ],
  "sources": [
    "NIST SP 811 (2008), Guide for the Use of the International System of Units, Table 5 (SI prefixes) and Appendix B.8 (factors for units listed alphabetically), retrieved 2026-10-05. https://www.nist.gov/pml/special-publication-811"
  ],
  "related": [
    "minutes-to-hours"
  ],
  "changelog": []
}
