{
  "slug": "ohms-law",
  "title": "Ohm's Law Calculator",
  "heading": "Ohm's Law Calculator",
  "category": "math",
  "url": "https://www.revenuelab.fyi/toolbox/ohms-law",
  "summary": "Solve voltage, current, resistance, and power.",
  "description": "Ohm's law ties voltage, current, and resistance together. Give any two and the rest fall out — plus the power the circuit dissipates as heat.",
  "formula": "V = I × R, P = V × I",
  "dateModified": "2026-09-30",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=ohms-law",
  "inputs": [
    {
      "id": "volts",
      "label": "Voltage",
      "kind": "number",
      "hint": null,
      "default": 12,
      "unit": "V",
      "min": 0,
      "max": null
    },
    {
      "id": "amps",
      "label": "Current",
      "kind": "number",
      "hint": null,
      "default": 2,
      "unit": "A",
      "min": 0,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "resistance",
      "label": "Resistance (Ω)",
      "format": "decimal",
      "hint": null,
      "primary": true
    },
    {
      "id": "power",
      "label": "Power (W)",
      "format": "decimal",
      "hint": null,
      "primary": false
    },
    {
      "id": "energyHr",
      "label": "Energy per hour (kWh)",
      "format": "decimal",
      "hint": null,
      "primary": false
    },
    {
      "id": "milliamps",
      "label": "Current (mA)",
      "format": "decimal",
      "hint": null,
      "primary": false
    }
  ],
  "worked_example": {
    "inputs": [
      "Voltage: 12 V",
      "Current: 2 A"
    ],
    "outputs": [
      "Resistance (Ω): 6",
      "Power (W): 24",
      "Energy per hour (kWh): 0.024",
      "Current (mA): 2,000"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter voltage (V).",
      "Enter current (A).",
      "Read your resistance (ω) 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": {
        "volts": 7.199999999999999,
        "amps": 1.2
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "volts": 12,
        "amps": 2
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "volts": 19.200000000000003,
        "amps": 3.2
      }
    }
  ],
  "limitations": [
    "Results are rounded for display; the underlying calculation keeps full precision.",
    "Very large or very small inputs may hit floating-point limits in the browser.",
    "Inputs outside the accepted range are clamped rather than rejected."
  ],
  "faq": [
    {
      "q": "How does the ohm's law calculator work?",
      "a": "Ohm's law ties voltage, current, and resistance together. Give any two and the rest fall out — plus the power the circuit dissipates as heat. The underlying maths is: V = I × R, P = V × I"
    },
    {
      "q": "What do I need to enter?",
      "a": "2 values: voltage, and current. 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 resistance (ω) result mean?",
      "a": "It is returned as a decimal number 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. Results are rounded for display; the underlying calculation keeps full precision."
    },
    {
      "q": "Who is this tool for?",
      "a": "It's built for students, developers, and anyone who needs the answer right now without setting up a spreadsheet."
    }
  ],
  "related": [],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Ohm's Law Calculator (https://www.revenuelab.fyi/toolbox/ohms-law)"
}