{
  "address": "3f987791516f43c08688ff92c709b9b5",
  "category": "other",
  "question": "How much is 1 kWh in kJ?",
  "answer": "3,600.00 kJ",
  "askedBy": {
    "kind": "guest",
    "display": "method deck",
    "stamped": false,
    "id": null
  },
  "answeredBy": "method",
  "madeAt": "2026-09-30T22:39:30.722Z",
  "validUntil": null,
  "validityClass": "forever",
  "sources": [
    {
      "label": "Guide for the Use of the International System of Units (SI)",
      "url": null
    }
  ],
  "supersedes": null,
  "supersededBy": null,
  "isSeed": false,
  "seedSource": null,
  "seedAttribution": null,
  "duplicateOfQid": null,
  "publishedAt": null,
  "unpublishedAt": null,
  "voteCount": 0,
  "queuedForSubstrate": false,
  "answerMethod": "method",
  "unsourced": false,
  "source": {
    "kind": "standard",
    "value": "NIST Special Publication 811 (2008 edition), Appendix B.8, Table for energy, work, quantity of heat",
    "retrieved_utc": "2026-09-30T19:29:48Z"
  },
  "qsha256": "b5003e2dee9f20f77b63877d8c21ae3cf6d57ea6c954e41af0a956420a44a7d2",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "Energy conversion",
    "version": "1",
    "source_url_or_file": "methods/energy-conversion.cjs",
    "sha256_of_method_file": "be39a382e36af513993a258644f8790412fb4603e9f4ba3f699d464861c8d79c"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "value",
        "type": "number",
        "unit": "from_unit",
        "required": true,
        "description": "The energy to convert"
      },
      {
        "name": "from_unit",
        "type": "string",
        "required": true,
        "description": "Unit of the input value",
        "enum": [
          "J",
          "kJ",
          "kWh",
          "cal",
          "kcal",
          "BTU",
          "Wh"
        ]
      },
      {
        "name": "to_unit",
        "type": "string",
        "required": true,
        "description": "Unit to convert into",
        "enum": [
          "J",
          "kJ",
          "kWh",
          "cal",
          "kcal",
          "BTU",
          "Wh"
        ]
      }
    ],
    "outputs": [
      {
        "name": "result",
        "unit": "to_unit",
        "description": "The converted energy"
      }
    ],
    "steps": [
      "Look up the exact joule-equivalent of from_unit and of to_unit.",
      "Convert the input to joules: joules = value * j_per(from_unit).",
      "Convert joules to the target unit: result = joules / j_per(to_unit).",
      "Round result to 6 significant figures."
    ],
    "constants": [
      {
        "name": "J",
        "value": 1,
        "unit": "J",
        "source": 0
      },
      {
        "name": "kJ",
        "value": 1000,
        "unit": "J",
        "source": 0
      },
      {
        "name": "kWh",
        "value": 3600000,
        "unit": "J",
        "source": 0
      },
      {
        "name": "cal",
        "value": 4.184,
        "unit": "J",
        "source": 0
      },
      {
        "name": "kcal",
        "value": 4184,
        "unit": "J",
        "source": 0
      },
      {
        "name": "BTU",
        "value": 1055.05585262,
        "unit": "J",
        "source": 0
      },
      {
        "name": "Wh",
        "value": 3600,
        "unit": "J",
        "source": 0
      }
    ],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "value": 1,
          "from_unit": "kWh",
          "to_unit": "kJ"
        },
        "expected": {
          "answer": "3,600.00 kJ"
        },
        "check": "By definition 1 kWh = 3,600,000 J = 3600 kJ exactly."
      },
      {
        "name": "test vector: kilocalories to joules",
        "inputs": {
          "value": 1,
          "from_unit": "kcal",
          "to_unit": "J"
        },
        "expected": {
          "answer": "4,184.00 J"
        },
        "check": "By definition 1 kcal = 1000 cal = 1000 * 4.184 J = 4184 J exactly."
      },
      {
        "name": "test vector: BTU to joules",
        "inputs": {
          "value": 1,
          "from_unit": "BTU",
          "to_unit": "J"
        },
        "expected": {
          "answer": "1,055.06 J"
        },
        "check": "By definition 1 BTU (IT) = 1055.05585262 J exactly; rounded to 6 significant figures is 1055.06."
      }
    ],
    "disclaimer": null,
    "deck_category": "units"
  },
  "status": "minted",
  "kind": "method",
  "provenanceClass": "own_question",
  "provenance": {
    "schema": "card_provenance/2.0.0",
    "chain": [
      {
        "source": {
          "kind": "standard",
          "value": "NIST Special Publication 811 (2008 edition), Appendix B.8, Table for energy, work, quantity of heat",
          "retrieved_utc": "2026-09-30T19:29:48Z"
        },
        "sha256": "74efabf2d0b6cfbf6888c148995d30a500969654253b42d01250998d53de8fba",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:Energy conversion",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
